Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 6.1
-
Component/s: Core/Parsing, Core/Rendering
-
Labels:None
-
Environment:Any
-
Support Case References:Support Case #13676 - https://icesoft.my.salesforce.com/5007000001YHKs0
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.
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
Patrick Corless
created issue -
Patrick Corless
made changes -
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 6.1.1 [ 12975 ] | |
Fix Version/s | 6.2 [ 12974 ] |
Arran Mccullough
made changes -
Support Case References | Support Case #13676 - https://icesoft.my.salesforce.com/5007000001YHKs0 |
Patrick Corless
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #48572 | Tue Mar 29 10:46:21 MDT 2016 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/graphics/TilingPattern.java
MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/util/content/AbstractContentParser.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #48573 | Tue Mar 29 10:46:34 MDT 2016 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/util/content/AbstractContentParser.java
MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/pobjects/graphics/TilingPattern.java |
Patrick Corless
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
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.