Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 5.1.2
-
Fix Version/s: 6.0
-
Component/s: Font Engine
-
Labels:None
-
Environment:All
-
Support Case References:Support Case #13553 - https://icesoft.my.salesforce.com/5007000001OFEG7
Description
The PDF file provided used Korean fonts. These fonts are being rendered as empty boxes and not the correct font. I see the following in the logs in regards to font substitutions:
Sep 24, 2015 3:41:36 PM org.icepdf.core.pobjects.fonts.FontManager getAsianInstance
FINER: Font Substitution: Found Asian font: ArialMT for named font GulimChe
.....
Sep 24, 2015 3:41:36 PM org.icepdf.core.pobjects.fonts.nfont.CMap getInstance
FINER: Successfully loaded CMAP file Adobe-Korea1-UCS2
Sep 24, 2015 3:41:36 PM org.icepdf.core.pobjects.fonts.FontManager findFont
FINEST: timesnewromanps-italicmt : timesnewroman : gulim
Sep 24, 2015 3:41:36 PM org.icepdf.core.pobjects.fonts.nfont.CMap getInstance
FINER: Loading CMAP file KSCms-UHC-H
Sep 24, 2015 3:41:36 PM org.icepdf.core.pobjects.fonts.FontManager findFont
FINEST: timesnewromanpsmt : timesnewroman : gulim
Sep 24, 2015 3:41:36 PM org.icepdf.core.pobjects.fonts.FontManager findFont
FINEST: traditionalarabic : traditionalarabic : gulim
Sep 24, 2015 3:41:36 PM org.icepdf.core.pobjects.fonts.FontManager findFont
FINEST: traditionalarabic-bold : traditionalarabic : gulim
Sep 24, 2015 3:41:36 PM org.icepdf.core.pobjects.fonts.nfont.CMap getInstance
FINER: Successfully loaded CMAP file KSCms-UHC-H
Sep 24, 2015 3:41:36 PM org.icepdf.core.pobjects.fonts.FontManager getAsianInstance
FINER: Font Substitution: Found Asian font: ArialMT for named font GulimChe
.....
Sep 24, 2015 3:41:36 PM org.icepdf.core.pobjects.fonts.nfont.CMap getInstance
FINER: Successfully loaded CMAP file Adobe-Korea1-UCS2
Sep 24, 2015 3:41:36 PM org.icepdf.core.pobjects.fonts.FontManager findFont
FINEST: timesnewromanps-italicmt : timesnewroman : gulim
Sep 24, 2015 3:41:36 PM org.icepdf.core.pobjects.fonts.nfont.CMap getInstance
FINER: Loading CMAP file KSCms-UHC-H
Sep 24, 2015 3:41:36 PM org.icepdf.core.pobjects.fonts.FontManager findFont
FINEST: timesnewromanpsmt : timesnewroman : gulim
Sep 24, 2015 3:41:36 PM org.icepdf.core.pobjects.fonts.FontManager findFont
FINEST: traditionalarabic : traditionalarabic : gulim
Sep 24, 2015 3:41:36 PM org.icepdf.core.pobjects.fonts.FontManager findFont
FINEST: traditionalarabic-bold : traditionalarabic : gulim
Sep 24, 2015 3:41:36 PM org.icepdf.core.pobjects.fonts.nfont.CMap getInstance
FINER: Successfully loaded CMAP file KSCms-UHC-H
Activity
Arran Mccullough
created issue -
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #46028 | Fri Sep 25 09:12:46 MDT 2015 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/fonts/FontManager.java
|
Patrick Corless
made changes -
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 6.0 [ 10970 ] |
Patrick Corless
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Patrick Corless
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
The PDF in question does not have the needed embedded font and as a result we need to find the correct font somewhere on the system. This is especially important for Asian fonts.
I've made a small tweak to the FontManger with the addition of a few more common Korean font name. Also I installed the Korean language pack on my computer as well as the GulimChe.ttf off the internet.
The GulimChe.ttf I download was picked up by the font properties manager and cached. But the name was saved as unicode. I had to go back in and rename it to gulimche. Once done the PDF in question loaded using the correct Glyphs.