Comment 12 for bug 500125

Revision history for this message
tuxcnc (662909078-eranet) wrote :

There is two subjects.

First is "scaling factor 1,25" in export to .plt.
Patch to Uniconvertor fix it for Inkscape.
It need check with files .svg from other programs like Corel and AI and make .diff file if OK.
Check not discusion.

Second problem is 0,1 mm added in import .plt files.
You can write in any text editor : IN;PU0,40;PD40,40;PD40,0;PD0,0;PD0,40;PU; and save as test.plt (eg.).
This is 1x1 mm rectangle.
Now you can draw 1x1 mm rectangle at position 0,0 in Inkscape and save it as test2.svg.
Now < uniconv test.plt test.svg >
test.svg and test2.svg are different.
Rectangles are different too.
Made in Inkscape is 1x1 mm, made from .plt is 1,1x1x1,1 in Inkscape window.
I dont now is from this 0,1 mm.
But it is always 0,1 mm added to any dimensions.
This is not scaling, but simple adding.
Im not familiar with .svg format.
I dont now is file produced by Uniconvertor good.
Bug may be in Uniconvertor (bad conversion) or in Inkscape (bad reading files produced by Uniconvertor).