Summary: | [PATCH] Optimize EPS and PS file size for defining rectangle path | ||
---|---|---|---|
Product: | XMLGraphicsCommons - Now in Jira | Reporter: | Julien Aymé <julien.ayme> |
Component: | java2D | Assignee: | XML Graphics Project Mailing List <general> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | ||
Priority: | P2 | ||
Version: | Trunk | ||
Target Milestone: | -- | ||
Hardware: | All | ||
OS: | All | ||
Attachments: | The proposed patch |
Nice one! Patch applied with rev 949528 (http://svn.apache.org/viewvc?rev=949528&view=rev). Thanks for the patch! |
Created attachment 25480 [details] The proposed patch The PSGenerator class already has a defineRect method, yet this method is not used within the PSGraphics2D class. I propose to use this optimized method instead of using the more general processPathIterator method when defining a Rectangle Path.