<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 - Syntax Error: Unknown character collection 'DYNA-HK1'"
href="https://bugs.freedesktop.org/show_bug.cgi?id=93290">93290</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Syntax Error: Unknown character collection 'DYNA-HK1'
</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>Mac OS X (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>major
</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>hongzeqin@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>Overview: I tried to convert a sample pdf which is exported from Mac OS X's
Keynote.app and contains some Chinese characters through `pdftoppm` command,
but it complains with an error:
Syntax Error: Unknown character collection 'DYNA-HK1'
Steps to Reproduce:
1. Open Keynote.app, click "New Document", and then select a random theme to
start;
2. Input some Chinese characters on slides;
3. Click "File" menu item and then select "Export to ..." and select "PDF";
4. Export a PDF file;
5. Use `pdftoppm` to convert exported PDF file.
Actual Results:
it complains with an error: "Syntax Error: Unknown character collection
'DYNA-HK1'"
Expected Results:
Convert sample PDF file into images without any complain.
Build Date & Hardware:
2015-12-05 on Mac OS 10.11.1 with Keynote.app v6.6.1
Additional Information:
The below lists some details:
————————
$ pdftoppm -v
pdftoppm version 0.37.0
Copyright 2005-2015 The Poppler Developers - <a href="http://poppler.freedesktop.org">http://poppler.freedesktop.org</a>
Copyright 1996-2011 Glyph & Cog, LLC
————————
$ pdftoppm -png ~/Desktop/test.pdf tmp
Syntax Error: Unknown character collection 'DYNA-HK1’
the `test.pdf` is exported from Mac OS’ Keynote.app and contains some Chinese
characters. If I try to export a pdf which doesn’t contain any Chinese
characters, it will work. Additionally, I also tried to use pdftotext to print
text in `test.pdf`, it can print text normally.
You can also download the test pdf from here:
<a href="http://7xj84e.com1.z0.glb.clouddn.com/test.pdf">http://7xj84e.com1.z0.glb.clouddn.com/test.pdf</a> .
I also tried to convert the test pdf through ImageMagick's convert command, it
worked as expected as poppler did not.</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>