[poppler] Adjacent objects

Albert Astals Cid aacid at kde.org
Thu Jan 21 12:49:17 PST 2010


A Dijous, 21 de gener de 2010, Deri James va escriure:
> 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?

That would probably be qualifiable as a bug, could you please open a bug in 
bugs.freedesktop.org so we don't forget about trying to fix it?

In the meanwhile i guess you can always overlap slightly the squares...

Albert

> 
> Thanks for any advice.
> 
> Deri
> 


More information about the poppler mailing list