bug: export as a pdf file!
What happened?
in the example file,when you switch to web model,export the example file as a pdf file! in the result, the pdf file can not center display all texts! Write, Draw, Plan all at Once..pdf
Distribution version
Web (app.affine.pro)
What browsers are you seeing the problem on if you're using web version?
Chrome
Are you self-hosting?
- [ ] Yes
Relevant log output
No response
Anything else?
No response
The problem cannot be reproduced in the latest affine.fail, and insider.affine.pro. Could you please provide more detailed reproduction steps, such as a video? Thanks!
The problem cannot be reproduced in the latest affine.fail, and insider.affine.pro. Could you please provide more detailed reproduction steps, such as a video? Thanks!
My computer screen is 1920*1080。I make a video with all steps。
https://github.com/toeverything/blocksuite/assets/16486372/7c756c58-d98c-479e-b7be-d7edf0f2f0d2
Can confirm, it's because database's width varies at a special aspect ratio (roughly 2:1).
@millet0328 I would recommend you to use AFFiNE client for pdf export, which is using a different but more reliable native rendering engine. This engine, pdf export inside the browser, relies on a third-party dependency that is no longer maintained. For now, we have no clue why this bug happens.
Can confirm, it's because database's width varies at a special aspect ratio (roughly 2:1).
@millet0328 I would recommend you to use AFFiNE client for pdf export, which is using a different but more reliable native rendering engine. This engine, pdf export inside the browser, relies on a third-party dependency that is no longer maintained. For now, we have no clue why this bug happens.
thanks for your response.
Same problem, using AFFINE windows client.