Like most of our customers you probably will create diagrams using draw.io within Confluence. Once in a while you may still have to export those diagrams for various reasons including…
- …sharing your diagrams with a third party that doesn’t have access to Confluence.
- …embedding your infographics into an external system.
There are many ways to export your draw.io diagrams but being able to export your draw.io diagram as a PDF document outside of Confluence remains to be one of the most popular.
Limited Support for Confluence PDF exports in Linux and Windows server
The PDF export can cause fidelity issues with font rendering and styling. The reason for this is the limited support for specific fonts and unicode characters in Linux and certain Windows instances.
Additionally, the PDF export feature built into Confluence can cause difficulties in displaying the diagram because it is rendered in Java. This can cause issues related to certain formatting and linking in the PDF.
Modern browser versions solve these issues
Printing to PDF does workaround these fidelity issues. Print to PDF is available built into MacOS X and Windows 10, as well as Chrome browser. Various third-party extensions are also available to provide print to PDF functionality. Performing the PDF export client-side avoids the server-side issues mentioned above.