FS#74480 - [texlive-bin] Dvisvgm conversion from pdf to svg produce an empty file

Attached to Project: Arch Linux
Opened by Theresa Gier (tgier) - Saturday, 16 April 2022, 21:10 GMT
Last edited by Antonio Rojas (arojas) - Monday, 29 May 2023, 22:02 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Rémy Oudompheng (remyoudompheng)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Since the latest update dvisvgm is broken: I produced a pdf with pdflatex and used dvisvgm to get a svg. This svg is empty meaning its dimensions are zero and it has no content.

package version: texlive-bin: 2021.59745-2

Steps to reproduce:

cd /tmp && echo "\\documentclass{article}\\begin{document}Hello\\end{document}" > test.tex && pdflatex test.tex && dvisvgm --pdf test.pdf -o test.svg && cat test.svg

You can clearly see that the resulting svg is empty and should not be.



This task depends upon

Closed by  Antonio Rojas (arojas)
Monday, 29 May 2023, 22:02 GMT
Reason for closing:  Fixed
Additional comments about closing:  dvisvgm 3.0.4-1
Comment by Theresa Gier (tgier) - Sunday, 17 April 2022, 21:19 GMT
With the help of the maintainer of dvisvgm I figured out that the problem is due to the new implementation of Ghostscript. In the Ghostscript version 9.55.0 it has worked. For dvisvgm there is now a patch solving the problem:
https://github.com/mgieseki/dvisvgm/commit/653220ebb129bc118329397b1ad2b58847d91c21
But it there is no new release of dvisvgm.

Loading...