Bug 8472

Summary: "Couldn't create a font" when opening a Korean PDF
Product: poppler Reporter: Sebastien Bacher <seb128>
Component: generalAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: high CC: mdke
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: English PDF with embedded truetype fonts
another example

Description Sebastien Bacher 2006-10-01 06:07:29 UTC
That bug has been described on
https://launchpad.net/distros/ubuntu/+source/evince/+bug/47039:

"Due to font errors, the PDFs at http://help.ubuntu.com/6.06/index.ko.html can't
be readable by evince, only index of contents shown. But, using acroread they
are readable as attached.

Font error were
Error: Couldn't create a font for '2Eb071UnBatang,Bold'
Error: Couldn't create a font for '1Eafd3UnBatang'

http://librarian.launchpad.net/2953540/DesktopGuidePDF.png
it's readable by acroread, I am using scim so I opened it with
GTK_IM_MODULE=xim acroread desktopguide.pdf
...


I get the same here on latest Dapper. 100% cpu too whilst it tries to render.

The Index list text in the sidebar seems to be displaying ok.

john@seiza:~$ evince Desktop/desktopguide.pdf
Error: Couldn't create a font for '2Eb071UnBatang,Bold'
Error: Couldn't create a font for '2Eb071UnBatang,Bold'
Error: Couldn't create a font for '2Eb071UnBatang,Bold'
Error: Couldn't create a font for '2Eb071UnBatang,Bold'
Error: Couldn't create a font for '2Eb071UnBatang,Bold'
Error: Couldn't create a font for '2Eb071UnBatang,Bold'
Error: Couldn't create a font for '2Eb071UnBatang,Bold'
Error: Couldn't create a font for '1Eafd3UnBatang'
Error: Couldn't create a font for '1Eafd3UnBatang'
Error: Couldn't create a font for '1Eafd3UnBatang'
Error: Couldn't create a font for '1Eafd3UnBatang'
Error: Couldn't create a font for '1Eafd3UnBatang'
Error: Couldn't create a font for '1Eafd3UnBatang'
Error: Couldn't create a font for '2Eb071UnBatang,Bold'
Error: Couldn't create a font for '1Eafd3UnBatang'
Error: Couldn't create a font for '1Eafd3UnBatang'
Error: Couldn't create a font for '1Eafd3UnBatang'
Error: Couldn't create a font for '2Eb071UnBatang,Bold'
Error: Couldn't create a font for '1Eafd3UnBatang'
Error: Couldn't create a font for '1Eafd3UnBatang'
Error: Couldn't create a font for '1Eafd3UnBatang'
---snip---
...
> The example page has moved apparently, do still have the example? Could you
point an another URI to download it or attach it to the bug?
...
http://librarian.launchpad.net/4442614/desktopguide.pdf
I've found a mirror of it which I'm attaching. It doesn't work in edgy either
btw. Blank pages, high CPU.
..."

The same issue happens with poppler 0.5.4 and poppler-data installed
Comment 1 Sebastien Bacher 2006-10-01 06:08:32 UTC
might be the same issue than bug #7093 or bug #8070
Comment 2 Matthew East 2006-10-01 06:20:36 UTC
Note that this bug isn't just with Korean fonts, it applies to any PDF I've
tried with embedded truetype fonts. I'll attach an English one.
Comment 3 Matthew East 2006-10-01 06:22:27 UTC
Created attachment 7225 [details]
English PDF with embedded truetype fonts

As promised, here is the attachment.
Comment 4 Sebastien Bacher 2006-11-02 03:31:08 UTC
Created attachment 7633 [details]
another example
Comment 5 John Leach 2007-04-07 18:16:49 UTC
this is still a problem on Ubuntu feisty, which sports libpoppler 0.5.4.

Any news?
Comment 6 Brad Hards 2007-12-11 00:38:13 UTC
Some font fixes just went into poppler head.

If possible, can you test again with that configuration? Even confirming if it is still a problem with poppler 0.6.2 would be useful.
Comment 7 Sebastien Bacher 2007-12-11 06:15:13 UTC
Using libpoppler 0.6.2
- the description example doesn't open in evince, it's using over 1.6G in tmp and breaking due to the lack of space there
- the desktopguide.pdf example is still displayed empty and "some font thing failed" lines are written on the command line
- using test-poppler-glib displays identic "some font thing failed" warnings
Comment 8 Brad Hards 2007-12-24 15:36:18 UTC
I finally got around to trying this with Qt4 tools on top-of-tree. Still bad.
Comment 9 Albert Astals Cid 2008-05-16 13:49:35 UTC
"Couldn't create a font for" errors are due to FreeType erroring on loading some font, i reported the problem to them and they said the fonts are broken and will not support them.

Sorry there's nothing more i can do.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.