Better PDF Export

How it is right now

The PDF Export captures the screen, creates an image and embedds it into a PDF.

Reason for feature request

We use the following workflow in AFFiNE:

  1. Brainstorm in Edgeless

  2. Finalise in Page Mode

  3. Export as PDF and send to Customer or save in our files

Today we encountered the problem, that the whole capture inside the PDF was shifted to the left. Only half of our Page was visible. Also, the quality of the text is not great. We tried to export to Markdown (to use Obsidians Exporter). But your Markdown Exporter sorts the content in a new way: First all the Images, than all the Texts. So the whole page structure is broken.

The request

Please embed a proper PDF Exporter that opens in a new Window. There you can choose between different Settings like Page-Margin, Page Size (Endless Page, A4, Letter …) and Font Size. The created PDF should show the written text Elements from Page-Mode as text (not image) and the text from Edgless-Groups should be embedded as images.