<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Invisible pattern hatching in some cases"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=98650">98650</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Invisible pattern hatching in some cases
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>poppler
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>glib frontend
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>poppler-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>quantum.analyst@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=127861" name="attach_127861" title="Hatching pattern example">attachment 127861</a> <a href="attachment.cgi?id=127861&action=edit" title="Hatching pattern example">[details]</a></span>
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.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>