<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 --- - Japanese text not rendered from a pdf"
href="https://bugs.freedesktop.org/show_bug.cgi?id=81746">81746</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>poppler-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>Japanese text not rendered from a pdf
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows (All)
</td>
</tr>
<tr>
<th>Reporter</th>
<td>jehan@zemarmot.net
</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=103448" name="attach_103448" title="Katakana pdf">attachment 103448</a> <a href="attachment.cgi?id=103448&action=edit" title="Katakana pdf">[details]</a></span>
Katakana pdf
I am a GIMP developer, and we use libpoppler as our pdf-import backend. We have
been reported a pdf with Japanese characters in it, which won't render (i.e.
the pdf renders well, except for the Japanese characters) on Windows (works
fine on Linux).
See <a href="https://bugzilla.gnome.org/show_bug.cgi?id=733525">https://bugzilla.gnome.org/show_bug.cgi?id=733525</a>
Note that the thumbnail displays the characters (as far as one can see on a
thumbnail at least), but I guess that's normal since
poppler_page_get_thumbnail() would just return the embedded thumbnail image,
not render it.
I've seen you had a <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Problems with bitmap fonts"
href="show_bug.cgi?id=5690">bug 5690</a> about Type 1 fonts not rendering. Not sure if
that's the same issue, so I made a different report. Feel free to merge if you
consider that's the same thing.
I see 3 embedded fonts in the pdf:
$ pdffonts katakana.pdf
name type encoding emb sub
uni object ID
------------------------------------ ----------------- ---------------- --- ---
--- ---------
GQUPXH+KozGoPr6N-Medium CID Type 0C Identity-H yes yes
no 5 0
WJSCNB+AdobeMingStd-Light CID Type 0C Identity-H yes yes
no 6 0
MPSUDV+KristenITC-Regular TrueType WinAnsi yes yes
no 7 0
Though I couldn't find any tool to know which font is used for the specific
katakana and Kanji characters, according to some preview website I found,
KritenITC don't have Japanese glyphs. So that would be one of the CID Type 0C
fonts (or both), I guess.
Note: to be sure that the issue is not in GIMP code, I reproduced the problem
with poppler-0.26.3 and the test code found here too:
<a href="http://www.gtkforums.com/viewtopic.php?p=9086">http://www.gtkforums.com/viewtopic.php?p=9086</a>
All cross-compiled from a GNU system for Windows 64bit with mingw-w64.
Also I don't use Windows on a normal basis, but already have a setup to
cross-compile for Windows on my Linux. So if you need me to test patches, just
ask.</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>