New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
export PDF with extra background part #4361
Comments
Close all diagrams.net tabs, use clear.draw.io to push an update and test with 24.3.1. |
And if I export PDF through "File -> print", it seems correct |
Thanks, it works for the path "File -> Export as -> PDF". But still fail for "File -> Export as -> Advanced -> PDF", which I remember could work some days ago. |
What does it show for the version under the help menu? |
Yes, it is not working now. The generated pdf are coming in multiple pages with blank background. |
24.3.1 |
Working here too |
We're going to add the zoom to the standard dialog and remove the advanced export to PDF option. |
can we get an option to set a pdf background color? |
I'm still facing this issue. I tried "File -> Export as -> PDF" and "File -> Export as -> Advanced -> PDF". They both failed. I also experience the issue that the generated PDF will crop my large diagrams into multiple pages (all with large margins). I tested on a desktop with Ubuntu 22.04 LTS, drawio v24.3.1, and a laptop with Windows 11, drawio v24.2.3. Anyone knows how to solve this? |
I have the same problem... SVG exporter instead works correctly... |
I got a temporary solution for now. First press "Ctrl + A" to select all the elements. Then "File -> Export as -> PDF". Then select both "Selection Only" and "Crop". This retains the previous "File -> Export as -> Advanced -> PDF" behavior. |
It is the way I use usually but in my case does not work... |
I also encountered the same problem. I chose to export as - Advanced - PDF, and the resulting PDF files were not on the same page, and there would be pagination. One solution is to select the content you need or select all, choose export as - pdf - check only the selected content & export a single page, but the margins of the pdf file obtained in this way are too small, I usually specify the margins as 5. This problem has not occurred before. I don’t know if it is a bug in the new version. |
像你一样,按照“文件 -> 导出为 -> 高级 -> PDF”的方式导出,之前我并没有出现这种问题,所以这应该是软件的bug吗? |
我使用离线版本v24.2.5,按照“文件 -> 导出为 -> 高级 -> PDF”的方式导出,是没有问题的。 |
Fixed in v24.4.0 with the Crop option checked: Use https://clear.diagrams.net/ to get the latest version. |
Preflight Checklist
Describe the bug
The crop option seems useless, I have tried export a PDF from pathes of "export as -> PDF" and "export as -> advanced" and both fail.
The exported PDF contains a whole page anyway.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
a PDF file only contains the diagram is exported
Screenshots
the currenet exported
draw.io version (In the Help->About menu of the draw.io editor):
v24.2.7
Desktop (please complete the following information):
I tested the problem in incognito/private mode with all browser extensions switched off, write "yes" below:
yes
Additional context
similar with #4353 #4348
The text was updated successfully, but these errors were encountered: