<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Cairo generates PDFs with wrong font names"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=73441">73441</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>chris@chris-wilson.co.uk
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Cairo generates PDFs with wrong font names
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>cairo-bugs@cairographics.org
          </td>
        </tr>

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

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>mkasik@redhat.com
          </td>
        </tr>

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

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

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

        <tr>
          <th>Component</th>
          <td>general
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>cairo
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=91766" name="attach_91766" title="Generate PDFs with correct font names">attachment 91766</a> <a href="attachment.cgi?id=91766&action=edit" title="Generate PDFs with correct font names">[details]</a></span>
Generate PDFs with correct font names

Cairo exports font names in their original form. But these can be wrong, they
can sometimes contain white space characters or PDF/PostScript delimiter
characters. Such fonts are not common but they appear.

This can cause a problem when you are printing such file in evince. The
printing fails during processing of an intermediate PDF because there are
delimiter characters where they shouldn't be.

Attached patch escapes PostScript names of fonts (ps_name variable) right after
these are loaded. It was already case for TrueType and OpenType fonts but not
for pure CFF fonts. Type1 fonts were just shortened to the last correct
character.

Marek</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>