Bug 49056 - Optimize EPS and PS file size again
Summary: Optimize EPS and PS file size again
Status: RESOLVED FIXED
Alias: None
Product: XMLGraphicsCommons - Now in Jira
Classification: Unclassified
Component: postscript (show other bugs)
Version: Trunk
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: --
Assignee: XML Graphics Project Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-06 16:49 UTC by Calixte Denizet
Modified: 2010-05-30 15:42 UTC (History)
0 users



Attachments
Patch obtained with the command git diff (1.94 KB, patch)
2010-04-06 16:49 UTC, Calixte Denizet
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Calixte Denizet 2010-04-06 16:49:46 UTC
Created attachment 25236 [details]
Patch obtained with the command git diff

Hi all,

I wrote a little patch to check if a shape must be clipped in the generated PS.
This checking is added before drawing a shape, so the size of the generated ps is automatically divide by 2.

Calixte
Comment 1 Jeremias Maerki 2010-05-30 11:00:00 UTC
Applied with rev 949522 (http://svn.apache.org/viewvc?rev=949522&view=rev). Thanks for the patch! I've done a few tests and they look good. Of course, the clipping rectangle is still generated too often (i.e. for each graphical element).
Comment 2 Calixte Denizet 2010-05-30 15:42:08 UTC
Hello Jeremias,

Thanks to you... The size of the ps files I generated is divide by 3 !

When do you think that a new release will come ?

Calixte