ICEpdf
  1. ICEpdf
  2. PDF-251

AFM widths not being applied to OS Fonts

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.1, 4.1.2, 4.1.3
    • Fix Version/s: 4.2
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      ICEpdf OS 4.1.1 and higher.

      Description

      There has been quite bit of chatter around this issue as well as some speculations. As it turns out the issue is related to a fix that went into ICEpdf 4.1.1, PDF-204. The bug fixed an issue where we didn't return font name that was a string. The side effect of fixing this bug was that it also activate an old code path that would load the AFM font metric file.

      The AFM file font widths where not being correctly scaled as a result and the side effect was that font spacing was about 1000 greater then is should be.

        Activity

        Hide
        Patrick Corless added a comment -

        Targeting 4.2.

        Show
        Patrick Corless added a comment - Targeting 4.2.
        Hide
        Patrick Corless added a comment -

        Updated the AFM.java to properly scale font widths for use in PDF documents. The addresses the missing text issue seen by a number of community members. This bug only effects the OS version of the file.

        Show
        Patrick Corless added a comment - Updated the AFM.java to properly scale font widths for use in PDF documents. The addresses the missing text issue seen by a number of community members. This bug only effects the OS version of the file.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: