Bug 690877

Summary: inconsistencies with ghostscript in the treatment of very thin lines
Product: GhostPCL Reporter: Hin-Tak Leung <htl10>
Component: PCL rasterAssignee: Henry Stiles <henry.stiles>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P4    
Version: unspecified   
Hardware: PC   
OS: Linux   
Customer: Word Size: ---

Description Hin-Tak Leung 2009-11-02 03:23:10 UTC
(off shoot from bug 690869)
pcl6's interpretation of very thin lines: all
the raster devices such as ppmraw in ghostscript draws very thin lines at
1-pixel; but 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 of pcl6 outputing to ppm direct:

using output from '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
            ========= thin lines preserves in the pdf and are drawn in the ppm 

   pcl6 -sDEVICE=ppmraw -sOutputFile=pxlout.ppm pxlout.pxl
            ========= thin lines disappeared.

see attachment 5591 [details] for the region of interest.
Comment 1 Henry Stiles 2009-11-09 17:11:50 UTC
I am looking at this and note pxlout.pxl -

  gs -sDEVICE=pxlcolor -o pxlout.pxl 012-01.PS

sent to the HP 4600 generates an error SymbolSetRemapUndefined - @ : 32768,
Operator: SetFont, Position: 26.

I'll pull out the font and continue looking.  You (Hin-Tak) can create a new
bountiable bug of the font problem.
Comment 2 Hin-Tak Leung 2009-11-10 11:59:44 UTC
sorry about the SymbolSetRemapUndefined - @ : 32768 error - it is due to r10267 .
Is there anything else wrong with fonts? 
Comment 3 Hin-Tak Leung 2009-11-10 12:55:29 UTC
The 'SymbolSetRemapUndefined - @ : 32768' error is due to r10267, and fix
committed as r10307 - does pcl6 not check valid SymbolSet? 

pxfont.c:pxSetFont() line 477 has this
case errorSymbolSetRemapUndefined: - but the error is not triggered.
Comment 4 Hin-Tak Leung 2009-11-22 18:46:47 UTC
Bug689819.pdf from tests_private/comparefiles has a red ring with yellow borders
and the yellow border disappears in ppm (but shows up when converting to pdf).
The disappearance of the yellow border in ppm is likely another thin line issue.
Comment 5 Henry Stiles 2010-05-13 03:26:40 UTC
Fixed in 11231.