-
Notifications
You must be signed in to change notification settings - Fork 19
Description
sphinxcontrib-drawio is an excellent tool, extremely handy when creating images etcetera for documentation. We use Sphinx since it allows us to create documents in different formats using the same source code (*.rst files).
Discovered a minor issue, when exporting images in svg format they look fine in documents exported as HTML whereas the very same images in documents exported as PDF will have a small text stating “Text is not SVG – cannot display”. When exporting images manually from draw.io in svg format and then using those when creating the PDF works fine.
We use simplepdf to create PDF files from .rst source files.
It is not clear to me what settings are used in sphinxcontrib-drawio when exporting in svg format but the only thing I can think of that might cause this is that images and text are not embedded when exporting? Would it be possible to add such a feature?
How it looks in the PDF file when using sphinxcontrib-drawio.
How it looks like in the PDF file when exporting images manually in draw.io and then include those images in the rst files.


