Created attachment 127861 [details]
Hatching pattern example
In the attached file, all four rectangles should be painted with a Pattern with the same diagonal lines. Using poppler-glib-demo to render this file, the rectangle in the bottom left does not show any lines. The same thing occurs in evince (as expected, I guess, since it's using poppler-glib as well.)
If I use okular (which uses poppler-qt, if I'm not mistaken), then the bottom-left rectangle shows the lines.
If I use pdftocairo, the lines do not appear in any of the outputs.
If I use pdftops or pdftoppm and view the result in evince/eog, the lines *do* appear.
Additionally, I can round-trip through ghostscript with `pdftops hatching.pdf - | ps2pdf - test.pdf` and _that_ file does work.
Method | Works?
poppler-glib-demo | No
evince | No
okular | Yes
pdftocairo -png | No
pdftops + evince | Yes
pdftoppm + eog | Yes
pdftops + ps2pdf | Yes
This fails with both Fedora's poppler-0.41.0-3.fc24.x86_64 and the poppler-0.48 tag from git that I compiled myself.
The file was created with Matplotlib and if there's some way to easily tweak the file to get it working in all cases, I can make that adjustment.
-- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/poppler/poppler/issues/68.