https://issues.apache.org/bugzilla/show_bug.cgi?id=48797

Jeremias Maerki <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #2 from Jeremias Maerki <[email protected]> 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
this.

-- 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to