Comment 7 for bug 1660967

Revision history for this message
TylerDurden (8thrule) wrote :

I believe this bug is related to the one I posted recently:
Default.svg using mm as units and scale of 1 causes problems
https://bugs.launchpad.net/inkscape/+bug/1670913

This seems to originate further upstream, as the output scaling issue also applies to inches in the display units and inches as base unit for plotter export. (not just a mm issue). Similarly, symbols generated in >=0.92 with the default.svg (mm, scale 1)

Looking at the default.svg files packaged with 0.92.0, 0.92.1 Win 64bit, they all have the scale set to 1.

This is inconsistent with the change to 96dpi (excl px as the display unit). For svg compliance and consistency with 96dpi, scale on default.svg documents should have scale as follows:

1:1 == px:px
96:1 == px:in
3.77953:1 == px:mm
1.333:1 == px:pt

This bug #1660967 is resolved by (properly) setting scale to 3.77953, without the need to modify the plotter output routine. It may be that the updated plotter routine corrects the erroneous scale setting, but does not address what I believe to be the root of the issue and other size issues. (I cannot test the updated build/routine locally, my machines are currently in use by students.)

Attached are files:

1 inch square object in an Inkscape document having inches as display units and scale of 1.
(Svg document opens in other svg editors with the object size 1px (1/96").)

Resulting dxf ouput with inches as base units.
(The resulting dxf is 0.0104" or ~1/96 the proper size.)

1 inch square object in an Inkscape document having inches as display units and scale of 96.
(Svg document opens in other svg editors with the object size 96px (1").)

Resulting dxf ouput with inches as base units.
(The resulting dxf is 1", the proper size.)

[Opinion]
If we are intent on making a smooth transition to 96dpi, it might be a good idea to setup the default documents with scales that correspond to the standard. While the scale/viewbox tools in the Document Properties provides a means to correct for legacy documents, it also exposes an area for error having global detrimental effect if the initial scales provided in the default.svg documents are not consistent with 96dpi. [/opinion]

Respectfully,
TD