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

        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.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: