ICEpdf
  1. ICEpdf
  2. PDF-974

Embedded fonts displaying incorrectly

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.1.2, 6.1
    • Fix Version/s: 6.1.1
    • Component/s: Font Engine
    • Labels:
      None
    • Environment:
      software platform

      Description

      I'm using IcePDF library to display PDFs. Under Java 8 (jdk1.8.0_45 32bits), fonts are displayed incorrectly
       

        Activity

        Yufei Shao created issue -
        Yufei Shao made changes -
        Field Original Value New Value
        Attachment RE-10057736-58645528500060280222.pdf [ 22091 ]
        Yufei Shao made changes -
        Attachment weiss_datei_untouched.pdf [ 22092 ]
        Yufei Shao made changes -
        Attachment RE-10057736-58645528500060280222.pdf [ 22091 ]
        Yufei Shao made changes -
        Attachment weiss_datei_untouched.pdf [ 22092 ]
        Hide
        Yufei Shao added a comment -

        solved in 6.1.0

        Show
        Yufei Shao added a comment - solved in 6.1.0
        Arran Mccullough made changes -
        Summary Fonts displaying incorrectly Embedded fonts displaying incorrectly
        Affects Version/s 6.1 [ 12070 ]
        Support Case References Support Case #13711 - https://icesoft.my.salesforce.com/5007000001ZKTWG
        Patrick Corless made changes -
        Fix Version/s 6.1.1 [ 12975 ]
        Hide
        Patrick Corless added a comment -

        The file in question uses a CID font with no toUnicode table, if the font loading fails we get a garbled text display. The error is coming from the parsing off the Type1 font and is related to a bounding issue when building a GID table. I've add some code protection to avoid the index out of bounds and the font parses correctly and the file renders correctly.

        Show
        Patrick Corless added a comment - The file in question uses a CID font with no toUnicode table, if the font loading fails we get a garbled text display. The error is coming from the parsing off the Type1 font and is related to a bounding issue when building a GID table. I've add some code protection to avoid the index out of bounds and the font parses correctly and the file renders correctly.
        Hide
        Patrick Corless added a comment -

        Checked a fix to the 6.1 branch and trunk.

        Show
        Patrick Corless added a comment - Checked a fix to the 6.1 branch and trunk.
        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:
            Yufei Shao
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: