[Poppler-bugs] [Bug 93290] New: Syntax Error: Unknown character collection 'DYNA-HK1'

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Dec 7 18:45:19 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=93290

            Bug ID: 93290
           Summary: Syntax Error: Unknown character collection 'DYNA-HK1'
           Product: poppler
           Version: unspecified
          Hardware: Other
                OS: Mac OS X (All)
            Status: NEW
          Severity: major
          Priority: medium
         Component: general
          Assignee: poppler-bugs at lists.freedesktop.org
          Reporter: hongzeqin at gmail.com

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 - http://poppler.freedesktop.org
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:
http://7xj84e.com1.z0.glb.clouddn.com/test.pdf .

I also tried to convert the test pdf through ImageMagick's convert command, it
worked as expected as poppler did not.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20151208/0c92190e/attachment.html>


More information about the Poppler-bugs mailing list