Bug 208238

Summary: PDF rendering artifact (+example)
Product: [Applications] okular Reporter: Brendon Higgins <brendon>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: example PDF

Description Brendon Higgins 2009-09-23 06:45:43 UTC
Version:            (using KDE 4.3.1)
OS:                Linux
Installed from:    Debian testing/unstable Packages

Hi,

I've noticed a small rendering error in okular, for certain PDFs, that other PDF viewers (I tested Acrobat, Evince, GIMP's PDF render) don't exhibit.

I've generated a simple example. It is a plot created using the PyX python graphing package. I will attach the relevant files. Zoom in and notice the small stroke in the bottom-left corner of the triangle symbols, as if a pen wasn't lifted from the page completely. These artifacts shouldn't appear.

Interestingly, if I run the PDF through pdftops --eps and then epstopdf to get another PDF, the result doesn't have the artifacts. Seems to be something peculiar to what PyX generates (though maybe other things, too).

Peace,
Brendon
Comment 1 Brendon Higgins 2009-09-23 06:47:46 UTC
Created attachment 37118 [details]
example PDF

Generated with the following code:

from pyx import *
g = graph.graphxy(width = 8.5)
g.plot(graph.data.function('y(x)=sin(x)', min = 0, max = 1, points = 5),
	[graph.style.symbol(graph.style.symbol.triangle, symbolattrs=[deco.filled])])
g.writePDFfile('test')
Comment 2 Albert Astals Cid 2009-10-05 20:19:17 UTC
Thanks for reporting this bug.

We have confirmed the problem, though Okular itself is not responsible for rendering PDF files, we use a library called poppler.

As us can not do anything to fix the problem please open a bug against the poppler product in https://bugs.freedesktop.org/ explaining the situation.

Thanks again for caring about Okular