-----Original Message----- From: Jon Cruz [mailto:jon@...204...] Sent: Tuesday, January 11, 2011 09:50 To: Inkscape User Community Subject: Re: [Inkscape-user] Inkscape Accurancy
On Jan 10, 2011, at 3:11 AM, J.B.C.Engelen@...2072... wrote:
-----Original Message----- From: Jon Cruz [mailto:jon@...204...] Sent: maandag 10 januari 2011 2:18 To: Inkscape User Community Subject: Re: [Inkscape-user] Inkscape Accurancy
No, that is up to dynamic display systems and/or users to decide.
Of course, but right now the user does not have the option
of choosing
the exact dimensions the SVG author intended. What I meant with "1 in = 90 px always" is not how the
image should be
shown but how the image should be interpreted.
Yes, there is. A viewBox attribute will do just that. If a user just wants the scalable graphics to scale, then viewBox can be left off. If not, it can be added.
Also... CSS changed from a fallback of 90 DPI to 96 DPI.
And to control such, that is where the viewBox attribute comes in.
So <svg width="2in" height="2in" viewBox="0 0 180 180">
would relate
lengths in inches to px for the whole document right? Perhaps we can do that then, and use the page's size for the width, height and viewbox. (using Inkscape's choice of 1 in = 90 px)
Yes... with the caveat that 90 DPI is an outdated default that will most likely A) be replaced by the newer 96 and B) will be drawn from the DPI reported from GTK instead of hardcoded (as is the recommendation for behavior)
This is very sad news. Right now I am very afraid that someone will change 90 to 96 in Inkscape such that all older files will be opened with wrong dimensions (in inches, cm, ...).
-Johan