sphinx-simplepdf
sphinx-simplepdf copied to clipboard
SVG images broken
When I build the documentation, in docs/_build/simplepdf/_images, among other things, the following image is used:
This, however, looks broken in the resulting PDF:
How can it be fixed?
In addition, how can I make sure that the figure width works?
For completeness, here is the whole file: ConFlowGen.pdf
Had the same problem with some broken svg. Check the svg code with the code in the index.html , im using the version 1.6 from pypi, and my problem was that in the simplepdf.py line 144 is written "soup.prettify(formatter='html')", that adds newlines and spaces, but based on the svg code, it breaks some format.
Thank you, @Taron686, for this analysis!