Eduard Braun wrote
Hehe, we're back to the question "what is one pixel"
and as far as
Inkscape (since 0.92) is concerned 1 px is 1/96 inch, so it is a real
world size and this pixel size in fact *is* the standard pixel size
according to CSS2. Y'all should really read Mc's posts on units. ;-).
If this sentence was as strong as it tries to appear, the transition from 90
dpi to 96 dpi would have been a lot less painful. Oh, sorry, I was wrong:
the transition wouldn't even had been necessary!
"Pixel" is not listed in The International System of Units (SI), where mm is
(well, m of which it's a power:
http://www.bipm.org/en/measurement-units/base-units.html). So you can't say
that the definitions of pixel and mm have comparable weights and scopes.
1 mm is 1 mm. Full stop.
I agree that today a pixel can be related to a real world size unit (1/96 of
an Inch), but yesterday it wasn't so who can guarantee that tomorrow it will
still be?
SI units are there not to suffer of this uncertainty so that's what I call
_real_world_units_, not something that can be changed to fit the needs of a
so quickly evolving technology.
Eduard Braun wrote
personally I'd feeld a lot safer to use a px-based (unscaled) SVG
as a
base for production than to rely on some SVG with millimeters as user
units that Inkscape currently implements via a viewBox scaling of the
whole SVG (which broke a lot of our export extensions and might just as
well confuse import filters in other software).
If I get this sentence right, it makes me feel you've not completely
understood how a (current) mm document is made. What could be misunderstood
in a document where mm is the unit, the page is 297x210 and you have an
object with dimensions 10x10? Actually I can't see any "viewBox scaling of
the whole SVG" here, unless that's how you call the viewBox function itself.
Perhaps you're making a bit of confusion between px as 1/96 of an inch (as
we've been talking up to now) and px as user-unit (as per SVG
specifications): a user-unit is not (necessarily) 1/96 of an Inch, and
that's what the viewBox is for: nothing strange or outside SVG
specifications here so broken extensions or import filters are simply buggy.
And as far as Inkscape (since 0.92) is concerned 1 px (in the SVG sense,
i.e. user-unit) is not always 1/90 or 1/96 inch anymore. At last.
Luca
--
Sent from:
http://inkscape.13.x6.nabble.com/Inkscape-Dev-f2781808.html