tavinus / pdfScale

Bash Script to Scale and Resize PDFs using Ghostscript
MIT License
246 stars 37 forks source link

added -dNEWPDF=false to all ghostscript commands in order to enforce … #29

Closed bkroggel closed 1 year ago

bkroggel commented 2 years ago

As mentioned in #28 the Ghostscript team has rewritten the PDF interpreter in C rather than the old PostScript one. This led to an output where elements didn‘t get centered anymore although specified otherwise.

This fix does not adapt pdfScale to the new interpreter but solely adds a flag that allows the tool to (for now) make use of the PostScript interpreter.

Fix #28

tavinus commented 1 year ago

I wonder why it does not get centered though...