ICEpdf
  1. ICEpdf
  2. PDF-696

White images/fonts displaying as black

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.4
    • Fix Version/s: 5.0.5
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      All
    • Salesforce Case Reference:

      Description

      In the customer provided PDF file, white images and fonts are rendering as black. No errors are thrown in the logs.

        Activity

        Arran Mccullough created issue -
        Arran Mccullough made changes -
        Field Original Value New Value
        Salesforce Case Reference 5007000000Y4lNIAAZ
        Hide
        Patrick Corless added a comment -

        The file contains a separation colourspace that would appear isn't being handled correctly. The object number is 21 and looks like this.

        18 0 obj
        [/Separation/All/DeviceCMYK 21 0 R]
        endobj
        21 0 obj
        <</BitsPerSample 8/Decode[0 1 0 1 0 1 0 1]/Domain[0 1]/Encode[0 254]/Filter/FlateDecode/FunctionType 0/Length 396/Range[0 1 0 1 0 1 0 1]/Size[255]>>stream

        Show
        Patrick Corless added a comment - The file contains a separation colourspace that would appear isn't being handled correctly. The object number is 21 and looks like this. 18 0 obj [/Separation/All/DeviceCMYK 21 0 R] endobj 21 0 obj <</BitsPerSample 8/Decode [0 1 0 1 0 1 0 1] /Domain [0 1] /Encode [0 254] /Filter/FlateDecode/FunctionType 0/Length 396/Range [0 1 0 1 0 1 0 1] /Size [255] >>stream
        Patrick Corless made changes -
        Fix Version/s 5.0.5 [ 11373 ]
        Hide
        Patrick Corless added a comment -

        This is an interesting PDF only the "test" text is actually text everything else is a vector. The color issue appears to be related to PDF-694 and the application of transparency value to a color. In this particular case the tint value is 0.04 which is pretty much zero by most standards.

        Show
        Patrick Corless added a comment - This is an interesting PDF only the "test" text is actually text everything else is a vector. The color issue appears to be related to PDF-694 and the application of transparency value to a color. In this particular case the tint value is 0.04 which is pretty much zero by most standards.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #39872 Fri Jan 31 13:21:33 MST 2014 patrick.corless PDF-696 adjust white detection for separation colours defined with tint values < 0.04.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/graphics/Separation.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #39873 Fri Jan 31 13:21:52 MST 2014 patrick.corless PDF-696 adjust white detection for separation colours defined with tint values < 0.04.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/graphics/Separation.java
        Hide
        Patrick Corless added a comment -

        Checked in a potential fix on the trunk and 5.0.1 branch.

        Show
        Patrick Corless added a comment - Checked in a potential fix on the trunk and 5.0.1 branch.
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        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: