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

PDF export cuts off content #5460

Open
1vnt opened this issue Jan 31, 2025 · 0 comments
Open

PDF export cuts off content #5460

1vnt opened this issue Jan 31, 2025 · 0 comments
Labels

Comments

@1vnt
Copy link

1vnt commented Jan 31, 2025

Describe the Bug

I have a relatively small Bookstack page, which I wanted to export. It has around ~5MB or so of images though.
I wanted to export this page as a PDF file. No errors are shown/logged, but the resulting PDF is only around 2.4MB big (maybe a content size limit, is that something you need to configure?? Didn't find anything in the docs) and cuts off a large portion of the actual page. Text and images are both missing after a certain point and another page is added, though that one remains blank.

Steps to Reproduce

  1. Create a new page, paste some big images in (I just downloaded a random 3840x2160 image and copy-pasted a bunch of times)
  2. Export to PDF
  3. View the new PDF: You'll see missing imagery/text and probably a half-finished last page

Expected Behaviour

I expect a fully rendered PDF, no cut-off.

Screenshots or Additional Context

Image

Image

Compare both images: the upper one is the PDF, the lower one is the Bookstack page. You can see, the text I wrote after the last image ('TEST TEXT NACHHER') is missing.

Browser Details

No response

Exact BookStack Version

v24.12.1

@1vnt 1vnt added the 🐛 Bug label Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant