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

        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.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: