ICEpdf
  1. ICEpdf
  2. PDF-536

malformed type3 font can't find font resource

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.0 alpha1
    • Fix Version/s: 5.0.0 beta1, 5.0
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      any
    • Salesforce Case Reference:

      Description

      The file in question uses a type3 font that fails to find a font in its content stream. The reason for this is that the type3 font is specifying its own resource.

      I should be able to pass in a parent resource object to avoid this corner case.

        Activity

        Patrick Corless created issue -
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #34000 Thu Mar 21 09:54:40 MDT 2013 patrick.corless PDF-536 added parentResource reference to abstract Font so that we can pass in the parentResource reference into Type3 fonts.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/Resources.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/fonts/Font.java
        Hide
        Patrick Corless added a comment -

        Updated the core and font engine to pass along the parentResource reference to use as a back up of the font wasn't assigned one.

        Sample file loads without an issue now in 5.0.

        Show
        Patrick Corless added a comment - Updated the core and font engine to pass along the parentResource reference to use as a back up of the font wasn't assigned one. Sample file loads without an issue now in 5.0.
        Patrick Corless made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 5.0.0 beta1 [ 10677 ]
        Fix Version/s 5.0 [ 10314 ]
        Resolution Fixed [ 1 ]
        Arran Mccullough made changes -
        Salesforce Case Reference 5007000000SQRMRAA5
        Patrick Corless made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: