[poppler] Adjacent objects

Deri James deri at chuzzlewit.demon.co.uk
Thu Jan 21 03:51:10 PST 2010


Hi,

When rendering a PDF with 2 adjacent objects (filled squares. no stroke). a 
single pixel gap can be seen between the the squares at certain zoom levels 
(using 'okular' or 'evince').

The attached pdf illustrates the issue. It contains this:-

stream
q
0.313726 0.0862745 0.0862745 rg /a0 gs
72 144 m 144 144 l 144 72 l 72 72 l 72 144 l h
72 144 m f
144 144 m 216 144 l 216 72 l 144 72 l 144 144 l h
144 144 m f
Q

endstream 

Which draws two 1 inch squares adjacent to each other. Viewing the pdf at 
different zoom levels reveals a single pixel gap.

Is there any way (when writing the pdf) to avoid this artifact?

Thanks for any advice.

Deri
-------------- next part --------------
A non-text attachment was scrubbed...
Name: AdjacentObjects.pdf
Type: application/pdf
Size: 938 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/poppler/attachments/20100121/f8337b4d/attachment.pdf 


More information about the poppler mailing list