ICEpdf
  1. ICEpdf
  2. PDF-515

Parsing error when processing #XX hex notation to ascii

    Details

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

      Description

      This is a long running bug that I think was introduced when a refactor was done from using strings to StringBuilder. The parsing code that parses out the number out of #XX was incorrectly indexed resulting in an error. The issue generally only showed up when parsing fonts the #xx code. The error would be logged but rendering was not effected.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #33554 Thu Feb 21 15:44:03 MST 2013 patrick.corless PDF-515 fixed a parsing error when handling names that have #xx format.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/Name.java
        Patrick Corless created issue -
        Hide
        Patrick Corless added a comment -

        Adjust the indexing when pulling out the #xx formate. Names are now being decoded correctly to ascii.

        Show
        Patrick Corless added a comment - Adjust the indexing when pulling out the #xx formate. Names are now being decoded correctly to ascii.
        Patrick Corless made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Patrick Corless made changes -
        Fix Version/s 5.0.0 alpha1 [ 10676 ]
        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: