|
From: | GNU bug Tracking System |
Subject: | [debbugs-tracker] bug#34877: closed (Ghostscript: Missing text when converting PDF to PS) |
Date: | Sun, 25 Aug 2019 20:54:03 +0000 |
Your message dated Sun, 25 Aug 2019 22:53:17 +0200 with message-id <address@hidden> and subject line Re: bug#34877: Ghostscript: Missing text when converting PDF to PS has caused the debbugs.gnu.org bug report #34877, regarding Ghostscript: Missing text when converting PDF to PS to be marked as done. (If you believe you have received this mail in error, please contact address@hidden.) -- 34877: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=34877 GNU Bug Tracking System Contact address@hidden with problems
--- Begin Message ---Subject: Ghostscript: Missing text when converting PDF to PS Date: Fri, 15 Mar 2019 23:59:34 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Hello Guix, When converting certain PDF files to PostScript pdf2ps (from the Ghostscript package) will print the following error messages: --8<---------------cut here---------------start------------->8--- **** Error reading a content stream. The page may be incomplete. Output may be incorrect. **** Error: File did not complete the page properly and may be damaged. Output may be incorrect. --8<---------------cut here---------------end--------------->8--- The resulting file will be missing some (sometimes all) of the text. I have attached one such PDF, which I obtained from https://www.ichkoche.at/?ctl=recipe_pdf&recipe_id=3161, alongside the files generated by running pdf2ps on both Guix System and, for reference, Debian 9, where the conversion succeeds (even though they provide the same version (9.26 (2018-11-20)) of Ghostscript). I have also attached the results of running ‘gsnd -dPDFDEBUG’ on the offending file. I run Guix System (commit: 0bd1498) on x86_64. Regards, Diegooriginal.pdf
Description: Original PDFguix.ps
Description: Result of running pdf2ps original.pdf guix.ps on Guix Systemdebian.ps
Description: Result of running pdf2ps original.pdf debian.ps on Debian 9.gsnd_guix.txt
Description: Output of gsnd -dPDFDEBUG original.pdf on Guix Systemgsnd_debian.txt
Description: Output of gsnd -dPDFDEBUG original.pdf on Debian 9
--- End Message ---
--- Begin Message ---Subject: Re: bug#34877: Ghostscript: Missing text when converting PDF to PS Date: Sun, 25 Aug 2019 22:53:17 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) Hello, Diego Nicola Barbato <address@hidden> skribis: > When converting certain PDF files to PostScript pdf2ps (from the > Ghostscript package) will print the following error messages: > > **** Error reading a content stream. The page may be incomplete. > Output may be incorrect. > **** Error: File did not complete the page properly and may be damaged. > Output may be incorrect. sirmacik <address@hidden> skribis: > Unfortunately this is something that affects also printing from > pdfs. At this point I can see what my printing result will look like > by opening it in GNU Emacs DocView. Good news everyone! Commit 466ff55c72959ba1499ce3ec69f534b3038eb30b fixes it! The next commit makes a graft so that the working Ghoscript is readily available to CUPS, etc. It turned out that the primary issue was that Freetype was not found at configure-time, due to the lack of pkg-config… The commit above improves a couple of other things in passing, but adding Freetype for good is apparently the decisive change. Please let me know if DocView, pdf2ps, and CUPS and all right for you! Thanks, Ludo’.
--- End Message ---
[Prev in Thread] | Current Thread | [Next in Thread] |