ICEpdf
  1. ICEpdf
  2. PDF-129

resource loading error with Type 3 fonts and resource counting

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0 - Beta
    • Fix Version/s: 4.0
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      files with type 3 fonts that use external resources

      Description

      Mark noticed this issue when regression testing for PDF -32. The glyphs for this file no longer render. Place holder, I'll add more detail later.

        Activity

        Patrick Corless created issue -
        Patrick Corless made changes -
        Field Original Value New Value
        Salesforce Case []
        Fix Version/s 4.0 [ 10222 ]
        Hide
        Patrick Corless added a comment -

        PDF in question doesn't actually have a resource dictionary for the type 3 font and generates a null pointer. The content parser expects a reference to the resources diction which can be null. However we where blindly adding a resource count with out check for the null value. Pretty simple one I figured out what was happening and if it was legal or not.

        Show
        Patrick Corless added a comment - PDF in question doesn't actually have a resource dictionary for the type 3 font and generates a null pointer. The content parser expects a reference to the resources diction which can be null. However we where blindly adding a resource count with out check for the null value. Pretty simple one I figured out what was happening and if it was legal or not.
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: