[Poppler-bugs] [Bug 98650] New: Invisible pattern hatching in some cases

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Nov 9 02:40:18 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=98650

            Bug ID: 98650
           Summary: Invisible pattern hatching in some cases
           Product: poppler
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: glib frontend
          Assignee: poppler-bugs at lists.freedesktop.org
          Reporter: quantum.analyst at gmail.com

Created attachment 127861
  --> https://bugs.freedesktop.org/attachment.cgi?id=127861&action=edit
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.

In summary:

 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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20161109/1faf5803/attachment.html>


More information about the Poppler-bugs mailing list