Different units in svg header with units in document properities
Bug #605089 reported by
LordBlick
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Wishlist
|
Matthew Petroff |
Bug Description
Inkscape 0.47 r22583/PLD Linux
I'd prefer mm units in my projects, so usually I'm set it as default in document properties. Why it is not set in <svg width="XXmm" height="XXmm" as described on http://
If I save document as clean svg, I've got a trouble with it...
Quote :
When lengths are used in an SVG attribute, a <length> is instead defined as follows:
length ::= number ("em" | "ex" | "px" | "in" | "cm" | "mm" | "pt" | "pc" | "%")?
Changed in inkscape: | |
milestone: | none → 0.49 |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Setting the default units in 'Document properties' adds namedview (…) inkscape: document- units=" mm" (…) >
<sodipodi:
and leaves the <svg> attributes 'width and 'height' unitless (Inkscape in this case uses px).
Default templates with custom units however do have the units added to the SVG width and height attributes. www.w3. org/TR/ SVG11/struct. html#SVGElement WidthAttribute>
<http://