Comment 7 for bug 1670913

Revision history for this message
TylerDurden (8thrule) wrote : Re: 0.92.1, 0.92.0 Default.svg using mm as units and scale of 1 causes problems

While the new dxf_outlines.py resolves the output to plotter filetypes workflow, the issue of symbols, browsers and other programs remains.

To replicate

Browser (Chrome):
Open each of the following files in a browser, note that 100mmSq-Units_Cm-Scale_1_Symbol.svg is not visible.
100mmSq-Units_Px-Scale_1_Symbol.svg
100mmSq-Units_Cm_Scale_37.79527_Symbol.svg
100mmSq-Units_Cm-Scale_1_Symbol.svg

Symbols use within Inkscape:
Copy the three files to the symbols folder, launch Inkscape and use a symbol from each file. Note that the symbols from 100mmSq-Units_Px-Scale_1_Symbol.svg and 100mmSq-Units_Cm_Scale_37.79527_Symbol.svg are the same size as their respective original symbol files, but the symbol from 100mmSq-Units_Cm-Scale_1_Symbol.svg is much smaller (~38x smaller). One would expect the symbols made in one Inkscape file would be the same size when used in another.

One vector illustration program that does not interrogate for units/scale when opening SVGs is Affinity Designer. 100mmSq-Units_Cm-Scale_1_Symbol.svg opens with the object at 10px square.

Simple solution for above issues is to use a default.svg having px as units and scale set to 1. Suggest this as the packaged default.svg, now that output of plotter filetypes has been resolved to correct for scale/viewbox.

Regards,
TD