<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 - Missing chars in rendered PDF"
href="https://bugs.freedesktop.org/show_bug.cgi?id=102880">102880</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Missing chars in rendered PDF
</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>general
</td>
</tr>
<tr>
<th>Assignee</th>
<td>poppler-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>Thomas.Freitag@alfa.de
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=134339" name="attach_134339" title="PDF which shows the problem">attachment 134339</a> <a href="attachment.cgi?id=134339&action=edit" title="PDF which shows the problem">[details]</a></span>
PDF which shows the problem
When rendering the attached PDF with actual poppler some chars are not shown.
Looking into it I figured out that the included truetype font has no cmap table
and try the TrueType 'post' table to handle any unmapped characters is not
working correctly because in FoFiTrueType::readPostTable() some chars were
skipped.
With xpdf 4.00 the PDF is shown correctly.
Comparing poppler code of FoFiTrueType::readPostTable() with the xpdf code 4.00
I encountered that this bug was probably introduced with a patch I uploaded for
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - poppler doesn't render any glyphs from a wrong embedded font"
href="show_bug.cgi?id=84270">bug 84270</a>.
But reverting FoFiTrueType::readPostTable() from poppler to the xpdf 4.00 code
doesn't only renders this PDF correctly, it renders also the PDF of <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - poppler doesn't render any glyphs from a wrong embedded font"
href="show_bug.cgi?id=84270">bug 84270</a>
correctly.
And since the xpdf 4.00 code is cleaner I would prefer to take over this code
again!</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>