[gs-bugs] [Bug 690869] pxlcolor: differences in line width

bugs.ghostscript.com-bugzilla-daemon at ghostscript.com bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
Mon Nov 2 03:09:43 PST 2009


http://bugs.ghostscript.com/show_bug.cgi?id=690869





------- Additional Comments From htl10 at users.sourceforge.net  2009-11-02 03:09 -------
The two differences in line widths are two different issues - the effect showed in 
attachment 5590 is due to inaccuracy in co-ordinate calculation, which be fixed
by a combination of *both* the attached patch 5601 *and* setting -r1200 during
the pxlcolor/pxlmono stage. The latter causes the co-ordinate calculation (which
are rounded to integers due to PXL's limitation) to calculate to a higher
resolution of 1/1200 per inch.

The latter is apparently due to pcl6's interpretation of very thin lines - all
the raster devices such as ppmraw in ghostscript draws very thin lines at
1-pixel; pcl6 outputting to ppmraw treats them as thin lines and not draw them.
This can be demonstrated by using pcl6 to output to pdf then use gs to generate
the ppm instead:

gs -sDEVICE=pclcolor -o pxlout.pxl 012-01.PS
   pcl6 -sDEVICE=pdfwrite -sOutputFile=pxlout.pdf pxlout.pxl
   gs -sDEVICE=ppmraw -o pxlout.ppm pxlout.pdf

   pcl6 -sDEVICE=ppmraw -sOutputFile=pxlout.ppm pxlout.pxl

So I would recommend apply the patch, possibly modify the testing procedure
slightly to include a -r1200 switch in the pxlcolor/pxlmono stage, and try to
fix the inconsistency of what to do with very thin lines.



------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the gs-bugs mailing list