ICEpdf
  1. ICEpdf
  2. PDF-375

WARNING: Error parsing hexadecimal characters.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.2.3
    • Fix Version/s: 4.3
    • Component/s: None
    • Labels:
      None
    • Environment:
      4.3

      Description

      When using 4.3, there is still a black area of the attached PDF but rendering has been greatly improved. I am not sure if this is the cause of the issue but the following warning is thrown:

      roll 4 -1 roll 1.000000 cvr exch sub 4 1 roll 3 -1 roll 1.000000
      cvr exch sub 3 1 roll pop pop }
      Jan 15, 2012 7:07:01 PM org.icepdf.core.pobjects.Name convertHexChars
      WARNING: Error parsing hexadecimal characters.
      Jan 15, 2012 7:07:01 PM org.icepdf.core.util.ContentParser parse
      FINER: End of Content Stream
      1. 10808.pdf
        172 kB
        Tyler Johnson
      1. 10808_4.3.jpg
        139 kB

        Activity

        Tyler Johnson created issue -
        Tyler Johnson made changes -
        Field Original Value New Value
        Attachment 10808_4.3.jpg [ 13982 ]
        Tyler Johnson made changes -
        Attachment 10808.pdf [ 13983 ]
        Tyler Johnson made changes -
        Salesforce Case [5007000000KDm5L]
        Description roll 4 -1 roll 1.000000 cvr exch sub 4 1 roll 3 -1 roll 1.000000
        cvr exch sub 3 1 roll pop pop }
        Jan 15, 2012 7:07:01 PM org.icepdf.core.pobjects.Name convertHexChars
        WARNING: Error parsing hexadecimal characters.
        Jan 15, 2012 7:07:01 PM org.icepdf.core.util.ContentParser parse
        FINER: End of Content Stream
        When using 4.3, there is still a black area of the attached PDF but rendering has been greatly improved. I am not sure if this is the cause of the issue but the following warning is thrown:

        roll 4 -1 roll 1.000000 cvr exch sub 4 1 roll 3 -1 roll 1.000000
        cvr exch sub 3 1 roll pop pop }
        Jan 15, 2012 7:07:01 PM org.icepdf.core.pobjects.Name convertHexChars
        WARNING: Error parsing hexadecimal characters.
        Jan 15, 2012 7:07:01 PM org.icepdf.core.util.ContentParser parse
        FINER: End of Content Stream
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #27199 Mon Jan 16 07:13:00 MST 2012 patrick.corless PDF-375 fixed a regression where pre-calculated CMYK values where not correctly being calculated because of the default values of zero, changed to -1 to avoid the issue.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/Stream.java
        Hide
        Patrick Corless added a comment -

        The black box was related to to an error in how we cache cmyk colour values during the conversion to rgb. The previous colour values where all initialized to 0 which cuased the colour values not to be calculated when encountered. I change the previous values to -1 which insures the values are always calculated.

        Show
        Patrick Corless added a comment - The black box was related to to an error in how we cache cmyk colour values during the conversion to rgb. The previous colour values where all initialized to 0 which cuased the colour values not to be calculated when encountered. I change the previous values to -1 which insures the values are always calculated.
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 4.3 [ 10266 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: