FS#64549 - [ghostscript] dvipdf produces blank pdf files

Attached to Project: Arch Linux
Opened by Claudio Ebel (restore) - Sunday, 17 November 2019, 19:09 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 17 March 2020, 09:34 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Using dvipdf in Version 9.50 produces – contrary to earlier uses – blank pdf files. The dvipdf manpage describes what the program is doing „in the background“. Manually repeating those steps produces *proper* pdf files. Steps to reproduce the bug as well as the expected behavior are given below. Installed latex suite is the group texlive-most.

Additional info:
dvipdf: 9.50
dvips: dvips(k) 5.999 Copyright 2019 Radical Eye Software
ghostscript: GPL Ghostscript 9.50 (2019-10-15)
latex: pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/Arch Linux) (preloaded format=latex)

Steps to reproduce:

––– Minimal latex file (main.tex) –––
\documentclass[]{scrartcl}
\usepackage[utf8x]{inputenc}
\usepackage[ngerman]{babel}
\usepackage{lipsum}
\begin{document}
\lipsum[5]
\end{document}

––– Steps to reproduce –––
$ latex main.tex
$ latex main.tex # produces main.dvi file which has text
$ dvipdf main.dvi # produces blank main.pdf file without any visible content

––– Steps to produce expected behavior –––
$ latex main.tex
$ latex main.tex
$ dvips -q main.dvi # produces main.ps file
$ gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=main.pdf main.ps # produces expected pdf file (main.pdf)
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Tuesday, 17 March 2020, 09:34 GMT
Reason for closing:  No response
Comment by Claudio Ebel (restore) - Sunday, 17 November 2019, 19:48 GMT
No, even after removing the alias (see task closure request), the bug is still there. Please do NOT remove the task.
Comment by Claudio Ebel (restore) - Sunday, 17 November 2019, 21:02 GMT
The bug seems to relate to ghostscript. Piping the postscript file to ghostscript reproduces the bug.
$ cat main.ps | gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=main.pdf
Comment by Claudio Ebel (restore) - Wednesday, 12 February 2020, 11:39 GMT
  • Field changed: Percent Complete (100% → 0%)
Even after removing the alias (see task closure request), the bug is still there. Please do NOT remove the task. The bug seems to relate to ghostscript. Piping the postscript file to ghostscript reproduces the bug.
$ cat main.ps | gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=main.pdf
Comment by Andreas Radke (AndyRTR) - Thursday, 13 February 2020, 18:58 GMT
Please check/report it there if it's not caused by compilation against some of our system libs: https://bugs.ghostscript.com/describecomponents.cgi

Loading...