Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.1.2
    • Fix Version/s: 6.0
    • Component/s: Font Engine
    • Labels:
      None
    • Environment:
      All

      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

        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 PDF-915 added a few more common Korean font names to the FontManger for improved font substitution.
        Files Changed
        Commit graph 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 ]
        Hide
        Patrick Corless added a comment -

        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.

        Show
        Patrick Corless added a comment - 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.
        Hide
        Patrick Corless added a comment -

        Marking as fixed. A little work will be need by the client to insure the correct font is installed on the system in question. The addition Korean font names will be part of ICEpdf 6.0 release.

        Show
        Patrick Corless added a comment - Marking as fixed. A little work will be need by the client to insure the correct font is installed on the system in question. The addition Korean font names will be part of ICEpdf 6.0 release.
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Patrick Corless made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: