You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some SVGs will render without text when converting a document (for example a Markdown file) to PDF (in my case using pdflatex as the engine).
This does not affect all SVGs, but I encountered this issue with several different SVGs already. An example would be this SVG.
To reproduce the issue, use the SVG given above, and include it in a markdown file repro.md like this:
![SVG Issue](pandoc_svg_issue_repro.svg)\
Then run pandoc repro.md -o repro.pdf
Pandoc version?
Reproduced on versions 2.14.0.3 (Fedora) and 2.19.2 (pandoc/latex Docker image).
Possible cause
I am not sure, but does pandoc only use https://gitlab.gnome.org/GNOME/librsvg/ for PDFs? Maybe it has an issue with some SVGs, resulting in the text to be missing?
Related issues
It seems like this issue is the root cause for some filters not working correctly, because their generated SVGs are missing text as well, for example:
Explain the problem.
Some SVGs will render without text when converting a document (for example a Markdown file) to PDF (in my case using pdflatex as the engine).
This does not affect all SVGs, but I encountered this issue with several different SVGs already.
An example would be this SVG.
To reproduce the issue, use the SVG given above, and include it in a markdown file
repro.md
like this:Then run
pandoc repro.md -o repro.pdf
Pandoc version?
Reproduced on versions
2.14.0.3
(Fedora) and2.19.2
(pandoc/latex Docker image).Possible cause
I am not sure, but does pandoc only use https://gitlab.gnome.org/GNOME/librsvg/ for PDFs? Maybe it has an issue with some SVGs, resulting in the text to be missing?
Related issues
It seems like this issue is the root cause for some filters not working correctly, because their generated SVGs are missing text as well, for example:
The text was updated successfully, but these errors were encountered: