jgraph / drawio

draw.io is a JavaScript, client-side editor for general diagramming.
https://www.drawio.com
Apache License 2.0
39.79k stars 7.44k forks source link

New PDF exports break pdflatex #4527

Open antheas opened 1 week ago

antheas commented 1 week ago

Preflight Checklist

Describe the bug I use drawio to produce graphs for scientific publications as part of my workflow. I create all of my figures, and export them as a multipage PDF. Afterwards, I use \includegraphics[page=X]{./res/X.drawio.pdf} to include the figures on my paper, so I can update the whole paper on one go.

Somewhere between 24.2.5 (which works) and 24.6.4 the PDF exporter was replaced and the new one breaks my workflow in 3 ways:

Perhaps there should be a legacy/publication PDF exporter that does not do the border stuff and uses uncompressed PDF 1.5?

To Reproduce Unfortunately, I cannot provide the pdf and latex files to reproduce the issue (they are not public). However, if requested I can come up with something.

draw.io version (In the Help->About menu of the draw.io editor):

Desktop (please complete the following information): Verified in both the Linux deb 24.6.4 version and the current website https://app.diagrams.net

Additional context Add any other context about the problem here.

antheas commented 1 week ago

n2.2 point is referenced here too https://github.com/jgraph/drawio/issues/4510

Also a default 27pt border is something I would rather not have to remove, but not a dealbreaker if its for new users.