Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 5.0.6, 5.0.6_P01, 5.0.7, 5.1.1, 5.1.2
-
Fix Version/s: 6.0
-
Component/s: Core/Parsing
-
Labels:None
-
Environment:All
-
Support Case References:Support Case #13367 - https://icesoft.my.salesforce.com/50070000016IBFB
Description
With the provided PDF file there is a section of the PDF that is rendered as black. Initial testing with the 5.1.2 release I could see an exception in the logs but I wasn't able to reproduce this in recent tests. The issue looks to have started with the 5.0.6 release as the section renders fine with 5.0.5.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
There where a couple problems here. The first was an issue in how we interpreted the Indexed colour value in the colour space. The second was the image tile used to fill the background in question was < 1x1 in size, actually just less then 0.97x0.97. So to help get the tile to render instead of the current fill colour (black) a little rounding was added as java2d needs integers.
PDF renders correctly now.