#885006 ghostscript produces incorrect output for PDF files that are OK with mupdf and evince #885006
- Package:
- ghostscript
- Source:
- ghostscript
- Description:
- interpreter for the PostScript language and for PDF
- Submitter:
- Eric Cooper
- Date:
- 2024-02-29 05:48:05 UTC
- Severity:
- normal
I noticed that PDF files generated by the US Post Office for mailing labels were not printing correctly, although they previewed correctly on my desktop. Ghostscript is failing to render these files correctly. For example, using pdf2ps or gv both produce incorrect output, as does cups when printing to my HP inkjet printer. Other non-gs tools, like mupdf and evince, work correctly. I'm attaching a PDF file that demonstrates the problem. (I suspect it has something to do with the unusual fonts.) When viewed with gv, or printed via cups + ghostscript, the bottom of the page is incorrect; with evince and mupdf it is correct.
Just a quick note that I've found a workaround to my problem, which is to either use pdftopdf / pdftops from Poppler directly, or insert it into the CUPS filter pipeline before Ghostscript to be able to print, e.g. pdftops - - < my.pdf | lp …
I have tested with gv from ghostscript 10.02.1 and I see no obvious rendering problem. The result is the same as seen with evince.