Bug 47694 - Dithered Background Shading can produce illegal AFP if objects are very small
Summary: Dithered Background Shading can produce illegal AFP if objects are very small
Status: CLOSED FIXED
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: general (show other bugs)
Version: trunk
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-14 04:45 UTC by Chris Bowditch
Modified: 2012-04-01 06:42 UTC (History)
0 users



Attachments
FO to create illegal AFP (5.25 KB, application/octet-stream)
2009-08-14 04:46 UTC, Chris Bowditch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Bowditch 2009-08-14 04:45:31 UTC
I have attached an FO file that has a background colour on a table column with 0% width. This is needed as the columns in the table are used to form a primitive bar chart. When dithered backgrounds are enabled, an illegal IOCA object is created with a 4C triplet as follows:

4C02FFFFFF0000

The AFP Painter should avoid creating IOCA objects for a background if the objects width is <= 0
Comment 1 Chris Bowditch 2009-08-14 04:46:10 UTC
Created attachment 24137 [details]
FO to create illegal AFP
Comment 2 Chris Bowditch 2009-08-14 08:47:01 UTC
Committed fix to SVN Trunk in revision 804268
Comment 3 Glenn Adams 2012-04-01 06:42:56 UTC
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed