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

bug: export as a pdf file! #6663

Open
1 task
millet0328 opened this issue Mar 31, 2024 · 5 comments
Open
1 task

bug: export as a pdf file! #6663

millet0328 opened this issue Mar 31, 2024 · 5 comments
Labels
mod:import-export Related to file importing and exporting type:bug Something isn't working

Comments

@millet0328
Copy link

millet0328 commented Mar 31, 2024

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

@EYHN EYHN transferred this issue from toeverything/AFFiNE Apr 1, 2024
@toeverything toeverything deleted a comment from affine-issue-bot bot Apr 1, 2024
@doodlewind doodlewind added type:bug Something isn't working mod:import-export Related to file importing and exporting labels Apr 1, 2024
@donteatfriedrice
Copy link
Member

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!

@donteatfriedrice donteatfriedrice added the reproduction needed Bug that needs to be reproduced stably label Apr 8, 2024
@millet0328
Copy link
Author

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。

bandicam.2024-04-09.09-50-58-348.mp4

@fourdim
Copy link
Contributor

fourdim commented Apr 30, 2024

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.

@fourdim fourdim removed the reproduction needed Bug that needs to be reproduced stably label Apr 30, 2024
@millet0328
Copy link
Author

millet0328 commented May 6, 2024

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.

@yashkolambekar
Copy link

Same problem, using AFFINE windows client.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mod:import-export Related to file importing and exporting type:bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

5 participants