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

        Hide
        Patrick Corless added a comment -

        Verified against final bundle

        Show
        Patrick Corless added a comment - Verified against final bundle
        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.
        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.
        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.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: