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

PSConverter.java with ps2write #1

Closed
BXCY opened this issue Jan 16, 2013 · 3 comments

Comments

@BXCY
Copy link

commented Jan 16, 2013

Line 94

    "-sDEVICE=pswrite",

Please add Parameter for method run for Argument Call to pswrite or ps2write

pswrite never will generate a ps with fonts! ps2write will....

Best Regards!

@zippy1978

This comment has been minimized.

Copy link
Owner

commented Jan 16, 2013

Thank you very much ! I never noticed that.
I will modify it on my next push :)

@BXCY

This comment has been minimized.

Copy link
Author

commented Jan 16, 2013

I was just testing for converting pdf->ps->pdf (for shrinking the size
of a pdf this is very useful.. in my case.. 600kb pdf -to> 99kb pdf with
embedded fonts where needed) in on step.. and with use of the high level
api i noticed the problem within the code after the resulting ps files
where only image ps :) the option is not very well documented ;)

regards,
Andreas

Am 16.01.2013 21:59, schrieb Gilles Grousset:

Thank you very much ! I never noticed that.
I will modify it on my next push :)


Reply to this email directly or view it on GitHub
#1 (comment).

@zippy1978

This comment has been minimized.

Copy link
Owner

commented Jan 17, 2013

Thats it ! Code is pushed (with many other features as well).
How it works ?
By default the PSConvert tries to use ps2write device when available (it is not available in old Ghostscript versions), otherwise falls back to pswrite.
You can also force the device with setDevice (auto, pswrite, ps2write).

Hope it will help.

Regards,
Gilles

@zippy1978 zippy1978 closed this Jan 20, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.