[x] I agree to follow the Code of Conduct that this project adheres to.
[x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.
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:
PDF version is now 1.7. pdflatex expects 1.5 and shows multiple warnings
Output size changed and is buggy: now has a border that even when 0% results in a different size
7in figure is ~20pt larger now, 3.3in figure is ~7pt larger now, this means my old figures need to be resized now
Zoom option is broken: using 98% zoom lowers the size of the figure but the page size remains the same with a white border added on the right
Which is probably due to the forced compression. From googling it seems that latex will crash this way if it processes a line that is larger than this, therefore perhaps a compressed blob.
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):
draw.io version 24.6.4. Regression somewhere after 24.2.5.
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.
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:
pdflatex
expects 1.5 and shows multiple warningspdflatex
now crashes with the following error:Which is probably due to the forced compression. From googling it seems that latex will crash this way if it processes a line that is larger than this, therefore perhaps a compressed blob.
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.