ICEpdf
  1. ICEpdf
  2. PDF-1114

Question marks being rendered instead of a newline in text annotation

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.2, 6.2.1, 6.2.1_P01
    • Fix Version/s: 6.2.2
    • Component/s: Core/Rendering
    • Labels:
      None
    • Environment:
      All

      Description

      When a text annotation is added to a PDF file and the text annotation contains newline characters(enter key), once the PDF is saved and reloaded, these newline characters are now question '?' marks.

        Activity

        Arran Mccullough created issue -
        Patrick Corless made changes -
        Field Original Value New Value
        Fix Version/s 6.2.2 [ 13097 ]
        Hide
        Patrick Corless added a comment -

        This is a regression related to touched up some properties that were not correctly encrypted. What's happening is that we are applying the PDF document encoding to the content text and it's stripping out the new line characters and replacing them with a question mark. The mapping doesn't make much sense in this case for characters less then 24 and of course characters > 255.

        Show
        Patrick Corless added a comment - This is a regression related to touched up some properties that were not correctly encrypted. What's happening is that we are applying the PDF document encoding to the content text and it's stripping out the new line characters and replacing them with a question mark. The mapping doesn't make much sense in this case for characters less then 24 and of course characters > 255.
        Hide
        Patrick Corless added a comment -

        Marking as fixed.

        Show
        Patrick Corless added a comment - Marking as fixed.
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #50354 Thu Feb 02 10:35:51 MST 2017 patrick.corless PDF-1114 fixed regression when applying string encodings which was removing newline characters form free text annotations and inserting question mark characters.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-6.2.0/icepdf/core/src/org/icepdf/core/util/Utils.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #50357 Thu Feb 02 13:53:12 MST 2017 patrick.corless PDF-1114 fixed regression when applying string encodings which was removing newline characters form free text annotations and inserting question mark characters.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-6.2.0/icepdf/core/src/org/icepdf/core/util/Utils.java
        Patrick Corless made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: