ICEpdf
  1. ICEpdf
  2. PDF-204

FontDescriptor not correctly assigning font name

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.1
    • Fix Version/s: 4.1.1
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      ICEpdf OS

      Description

      The FontDescriptor method getFontName will return "FontName" if the dictionary entry is not an instance of the Name. This shouldn't be the case the method should be able to return string values and null if the entry doesn't exist.

        Activity

        Patrick Corless created issue -
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #22507 Tue Oct 05 07:15:41 MDT 2010 patrick.corless PDF-204 updated class to handle null font base names. Simple low risk corner case issue.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/fonts/ofont/Font.java
        Patrick Corless made changes -
        Field Original Value New Value
        Salesforce Case []
        Fix Version/s 4.1.1 [ 10244 ]
        Hide
        Patrick Corless added a comment -

        This bug almost got lost. Updated the Font class to handle null base font names.

        Show
        Patrick Corless added a comment - This bug almost got lost. Updated the Font class to handle null base font names.
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #22528 Wed Oct 06 06:59:40 MDT 2010 patrick.corless PDF-204 update to FontDescriptor to better handle String based font names.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/fonts/FontDescriptor.java
        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: