SVG defaults to pixels (90dpi) despite default units
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Wishlist
|
Unassigned | ||
Bug Description
Irrespective of the default units selected in document properties, inkscape
always uses pixel units (at an unchangeable 90dpi - Current CSS standard)
Inkscape should use the default units specified in the document properties,
overridden locally for each shape by the units selected in the re-sizing
toolbar (so default units can be overriden on a per-shape basis)
Failing this, there should, al least, be some way to change the default
pixel-calculation resolution.
Issue has evolved from trying to use FOP which will use absolute
measurements ie: mm, but will translate pixels to absolute at 72dpi -
current PDF standard, so everything in inkscape gets resized when included
in an FO file and translated to PDF. Would not happen if Inkscape saved
SVG with default units instead of always tranlsating to px.
Thanks.
Changed in inkscape: | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
Originator: NO
Additional to this - Inkscape also converts pt to px in font-size: section
of style attributes in text elements.
I have written a console app to fix the SVG files, but I would really
prefer if Inkscape didn't convert in the first place.
Note: On re-opening an SVG with mm dimensions and re-saving, inkscape
respects the units unless the element had been changed during the session -
then it's back to "user units" (pixels) for that element.