Skip to content
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

Allow exporting whole drawing as single-page PDF #1367

Open
septatrix opened this issue Feb 21, 2025 · 3 comments
Open

Allow exporting whole drawing as single-page PDF #1367

septatrix opened this issue Feb 21, 2025 · 3 comments
Labels
enhancement New feature or request

Comments

@septatrix
Copy link

Is your feature request related to a problem? Please describe.
Often I just starts drawing a large diagram or similar and want to export it as a single PDF without it being cut by page borders

Describe the solution you'd like
It should be possible to select an "unlimited" page size that results in the creation of a single PDF page large enough to contain the drawing (plus, ideally some margin)

Describe alternatives you've considered
Add DIN0, DIN-1, ... page sizes. These allow selecting a page size just big enough for the drawing but if the drawing does not have ration 1:√2 there is a lot of wasted space.

@flxzt
Copy link
Owner

flxzt commented Feb 22, 2025

Adding DIN-0, DIN-1 might be the most simple solution, what also comes to mind as alternative is to add PDF selection export.

@flxzt flxzt added the enhancement New feature or request label Feb 22, 2025
@septatrix
Copy link
Author

Adding DIN-0, DIN-1 might be the most simple solution

But even then the drawing might be larger than the page (though increasingly unlikely). It shouldn't be too hard to calculate the bounding box of all elements and then export as a PDF with its dimensions set to those of the bounding box

what also comes to mind as alternative is to add PDF selection export.

That would also be great and could be handled similarly

@flxzt
Copy link
Owner

flxzt commented Feb 22, 2025

But even then the drawing might be larger than the page (though increasingly unlikely). It shouldn't be too hard to calculate the bounding box of all elements and then export as a PDF with its dimensions set to those of the bounding box

that's exactly what PDF selection export would archieve :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants