Comment 3 for bug 387946

Revision history for this message
Alvin Penner (apenner) wrote :

attached is a comparison of uniconvertor output to the HPGL output. uniconvertor 1.1.4 was run off-line by itself to do this.
The original svg file is attached. It consists of a single line with coordinates :
svg : d="M 100,200 200,150"

The HPGL output is :
IN;SP1;PU100.0,200.0;PD200.0,150.0;

The uniconvertor PLT output is :
IN;PU1411,12028;PD2822,12733;PU;

Note that the HPGL output is identical to the svg scale, in pixels.
The uniconvertor output has been inverted in the y-axis relative to the svg output. The conversion factor to produce the uniconvertor output from svg is 50*25.4/90, which is consistent with the notion that the uniconvertor PLT scale is in units of 0.02 mm. It is not clear where this scale factor comes from.