ICEpdf
  1. ICEpdf
  2. PDF-971

Tiling pattern with inline image mask rendering issue

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.1
    • Fix Version/s: 6.1.1, 6.4
    • Labels:
      None
    • Environment:
      Any

      Description

      The file in question has several address boxes that uses a tiling pattern to fill the background. Do to a rendering failure the background is painted black and the text cannot be seen.

      The rendering error happens because of multiple failure points. The first issue is that the tilling pattern size is less then 1x1 which Java can't draw which we have fall back code to paint the current fill color which is black. If we for the image to draw we get a black image with white spots.

      This is because the image is flagged as an image mask. This is the first time we've seen an inline image that is defined as an image mask. As it's a bit strange to have such a property as where to we apply the mask and to what color?

      Further work is needed to figure out how we should be handing the inline image mask. If this is an urgent issue we can remove the fill colour code that is painting black as this would be more inline with the specification.

        Activity

        Hide
        Patrick Corless added a comment -

        I've done a little tweaking to how we scale an tilling pattern as we zoom in and how we determine the size cut off in the content parser. The tiling pattern its no being painted and we are avoid painting a fill colour.

        Show
        Patrick Corless added a comment - I've done a little tweaking to how we scale an tilling pattern as we zoom in and how we determine the size cut off in the content parser. The tiling pattern its no being painted and we are avoid painting a fill colour.
        Hide
        Patrick Corless added a comment -

        Added fix to trunk and 6.1 branch. Marking as fixed.

        Show
        Patrick Corless added a comment - Added fix to trunk and 6.1 branch. Marking as fixed.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: