Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow alternative postscript prolog resources #41

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

fbroda
Copy link

@fbroda fbroda commented Jul 8, 2016

I had the impression that the provided postscript header (PSProlog.txt) could be compacted by at least 30 percent. The provided header with comments and formatting is perfectly suited for development or occasional use. However there are cases, where a more compact prolog would fit better. This patch introduces the possibility to choose an alternative prolog file. To keep the changes at the absolute minimum needed, the method of including the prolog hasn't been changed. The alternative prolog file must be still provided as a Java resource.

Propagate the additional writeHeader(prolog) method to class
EPSGraphics2D to enable alternative postscript prolog resources.
- Propagated new method to PSGraphics2D.java
- minor modification to some comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant