ICEpdf
  1. ICEpdf
  2. PDF-606

Missing 'm' when truetype.hinting=true

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.2
    • Fix Version/s: 5.0.3
    • Component/s: None
    • Labels:
      None
    • Environment:
      JAI
    • Salesforce Case Reference:
    • Workaround Exists:
      Yes
    • Workaround Description:
      Do not use -Dorg.icepdf.core.nfont.truetype.hinting=true

      Description

      The letter 'm' in the attached PDF is missing when the hinting system argument is set to true.

        Activity

        Tyler Johnson created issue -
        Tyler Johnson made changes -
        Field Original Value New Value
        Salesforce Case Reference 5007000000TuuVcAAJ
        Hide
        Tyler Johnson added a comment -

        The letter s is also incorrectly displayed in the attached sample PDF.

        Show
        Tyler Johnson added a comment - The letter s is also incorrectly displayed in the attached sample PDF.
        Tyler Johnson made changes -
        Salesforce Case Reference 5007000000TuuVcAAJ 5007000000TuuVcAAJ,5007000000TuGZnAAN
        Tyler Johnson made changes -
        Salesforce Case Reference 5007000000TuuVcAAJ,5007000000TuGZnAAN 5007000000TuuVcAAJ
        Hide
        Patrick Corless added a comment -

        There are a few fonts in this document that are marked as a subset font as defined by there font name. 6digits+actualFontName. The 6 digit code is getting picked up by the hinting code as a font that should be hinted. I've updated the the hinting detection code to strip the font subset name and extract only fontName when doing the comparison.

        Show
        Patrick Corless added a comment - There are a few fonts in this document that are marked as a subset font as defined by there font name. 6digits+actualFontName. The 6 digit code is getting picked up by the hinting code as a font that should be hinted. I've updated the the hinting detection code to strip the font subset name and extract only fontName when doing the comparison.
        Patrick Corless made changes -
        Fix Version/s 5.0.3 [ 11070 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #36364 Tue Jun 25 10:21:30 MDT 2013 patrick.corless PDF-606 improved detection of font that should be hinted.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/util/FontUtil.java
        Hide
        Patrick Corless added a comment -

        Updated hiting detection code on both the trunk and 5.0.1 branch.

        Show
        Patrick Corless added a comment - Updated hiting detection code on both the trunk and 5.0.1 branch.
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #36365 Tue Jun 25 10:24:27 MDT 2013 patrick.corless PDF-606 improved detection of font that should be hinted.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/util/FontUtil.java
        Hide
        Patrick Corless added a comment -

        Verified against final bundle

        Show
        Patrick Corless added a comment - Verified against final bundle
        Patrick Corless made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: