Bug 53294 - [PATCH] Specifying font-size of 0 results in an invalid PostScript file being created
Summary: [PATCH] Specifying font-size of 0 results in an invalid PostScript file being...
Status: CLOSED FIXED
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: ps (show other bugs)
Version: all
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-25 10:26 UTC by Robert Meyer
Modified: 2012-05-26 23:08 UTC (History)
0 users



Attachments
Code changes and test case (3.75 KB, patch)
2012-05-25 10:26 UTC, Robert Meyer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Meyer 2012-05-25 10:26:36 UTC
Created attachment 28833 [details]
Code changes and test case

PostScript does not support fonts of size 0 and results in invalid files being generated. This patch resolves this by checking for and ensuring that text of 0 font size is not drawn by the renderer.
Comment 1 Glenn Adams 2012-05-25 20:11:30 UTC
applied at http://svn.apache.org/viewvc?rev=1342792&view=rev

thanks robert! please verify and close this bug when satisfied
Comment 2 Robert Meyer 2012-05-26 23:08:25 UTC
I have verified the code and have set the patch to resolved / fixed.
Comment 3 Robert Meyer 2012-05-26 23:08:56 UTC
I have now set the patch to closed status