Open creeduk opened 4 months ago
I can confirm the behavior is also present on the Confluence plugin version 13.0.6.
Exporting a US-Tabloid 11x17 draw.io gives me a 11.46 x 17.71 PDF.
Weather the page size is defined in inches, centimeters or points does not make a difference. When exporting, Page View or Fit give the same result, Crop is slightly different but also off.
In Draw.io 24.6.4 --
100mmx100mm-test.drawio.pdf 100mmx100mm-test.drawio.zip
Experiencing similar issue in A4, but also custom size. For reference, setting the page size to custom 100x100mm and exporting at zoom 100%, crop 0 gives me a PDF that MacOS reports to be 104,1mm x 104,1mm. See attached files
I get closest with Zoom set to 95% and mode Crop.
give me a minute to release 24.7.5 and try again.
With Draw.io 24.7.5 it has been drastically improved and super usable (fixed in my use case). Now the results are accurate down to tenth-of-mms, e.g.
A4 210x297mm --> 209,9x29,71 mm in PDF as reported by MacOS (Finder / Preview / Quicklook) custom 100x100mm --> 100,2x100,2 mm in PDF as reported by MacOS (Finder / Preview / Quicklook)
Preflight Checklist
You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.
Describe the bug In earlier versions I had no issue the size was minimally different 14 x 8.51, I tested again today version 22.1.11 and the steps below give me a 14 x 8.51 PDF. In newer versions this started to slip and the current version (24.6.4) gives 14.58 x 8.85. Crop will crop down to the size of rectangle. But even if I make a 14 x 8.5 rectangle the PDF is a different size (14.61 x 8.88)
To Reproduce Steps to reproduce the behavior:
Expected behavior A PDF that matches the size of the test_legal_22.1.pdf test_legal_page_latest_26.4.pdf test_legal_drawio_file.zip document paper size
Screenshots If applicable, add screenshots to help explain your problem. - See example uploads
draw.io version (In the Help->About menu of the draw.io editor):
Desktop (please complete the following information):
Additional context I started working backwards trying to find which version worked I have updated several time this year but my other outputs had been images, today I could not match the earlier PDF's I had so after 3 different version I found the 1 that worked OK. One I tested along the way 24.0.4 was close with 14 x 8.53 so it is something that has been slipping a little at a time.
As a crop test I made the rectangle 14 x 8.5 and selected crop in export options, but this still did not make a correct size PDF