<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 - pdftops 0.45.0 generates ps that gets /rangecheck in --xyshow--"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=96644">96644</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>pdftops 0.45.0 generates ps that gets /rangecheck in --xyshow--
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (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>utils
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>williambader@hotmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=124671" name="attach_124671" title="PDF to show the problem">attachment 124671</a> <a href="attachment.cgi?id=124671&action=edit" title="PDF to show the problem">[details]</a></span>
PDF to show the problem

pdftops (no options required) generates bad postscript for the attached PDF.
I tested pdftops 0.45.0 and some older versions and even xpdf 3.03 pdftops, and
they all generate ps that gets /rangecheck in --xyshow--
xpdf 3.02pl2 pdftops is ok, but it uses TJm instead of Tj and messes up fonts
with vertical positioning.
gs pdf2ps generates a valid ps.
Considering that the pdf is viewable by several applications and that gs pdf2ps
and old xpdf pdftops can both produce a valid ps, I think that the problem is
in poppler pdftops rather than in the pdf.
I thought that xyshow could get a rangecheck only if the number of xy pairs was
shorter than the string, but adding an extra 0 0 to the array of xy pairs did
not help.
The font is defined as /F7_0 /GBJUMM+PalatinoLinotype-Bold 0 pdfMakeFont16</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>