xmlgraphics-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 48797] [PATCH] Optimize EPS and PS file size
Date Thu, 18 Mar 2010 10:20:41 GMT

Jeremias Maerki <jeremias@apache.org> changed:

           What    |Removed                     |Added
             Status|NEW                         |NEEDINFO

--- Comment #2 from Jeremias Maerki <jeremias@apache.org> 2010-03-18 10:20:40 UTC ---
Thanks for your patch, Calixte. To produce smaller PS files, your patch makes
perfect sense. However, I'm wondering if we should not make it configurable
whether the standard commands or the short macros should be used. When
debugging PostScript I find it desirable not to have to memorize all the one or
two letter commands. Also, having the full commands in the Java source code
would also improve readability. I'm thinking about a translation method in
PSGenerator that converts the full commands to short ones if that is enabled
(probably true by default). Something like this:

public String command(String postscriptCommand);

when compact mode enabled:
command("setlinejoin") --> "LJ"
when compact mode disabled:
command("setlinejoin") --> "setlinejoin"

So before we apply Calixte's patch, I'd like to ask around for opinions on

Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail: general-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: general-help@xmlgraphics.apache.org

View raw message