<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 --- - PDF Text hinting does not work for embedded otf fonts (CID Type 0C), does work for truetype."
   href="https://bugs.freedesktop.org/show_bug.cgi?id=78990">78990</a>
          </td>
        </tr>

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

        <tr>
          <th>Summary</th>
          <td>PDF Text hinting does not work for embedded otf fonts (CID Type 0C), does work for truetype.
          </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>ce0c5679c447a438@spamherelots.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>poppler
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=99453" name="attach_99453" title="repro pdf">attachment 99453</a> <a href="attachment.cgi?id=99453&action=edit" title="repro pdf">[details]</a></span>
repro pdf

Moved here from the okular/KDE bugtracker:
<a href="https://bugs.kde.org/show_bug.cgi?id=335058">https://bugs.kde.org/show_bug.cgi?id=335058</a>

Description
=== 

The attached pdf was created using XeLatex and includes two versions of the
same font, one taken from the original otf and the second from a ttf file
converted from the original using fontforge.
Viewing this pdf in okular/evince on my system reuslts in the otf embedded font
CID type 0c) not being hinted regardless of settings, while the ttf font is
hinted by default (and responds to hinting toggled in okular).

I've seen the same with at least one other font, the problem does not occur
with adobe acorbat reader and the okular guys pointed out that all rendering is
handled by poppler.

I'm attaching a screenshot and the pdf.

Environment 
=== 

This manifests on an updated fedora 20 x86-64 system, which contains the 0.18.5
version of okular and poppler 0.24.3. The same problem occurs in evince.</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>