Export as PDF in dark-mode creates unreadable text
What happened?
When I go to export a document as a PDF (select Print and then Save as PDF), I receive a light gray colored text in the exported document, making it unreadable. However, this only happens when the application is in dark mode (either explicit or system setting). If I export while in light mode, the text is the expected black color.
My guess is that when the document is exported from dark mode, it inherits the text color of the dark mode editor.
Sample document with an image I wrote and exported in light mode.
Same sample document and exported in dark mode.
Distribution version
macOS x64 (Intel)
What browsers are you seeing the problem on if you're using web version?
No response
Are you self-hosting?
- [ ] Yes
Relevant log output
No response
Anything else?
No response
i can work on this issue, is this assigned to someone or not??
it is working fine , i have checked it in my browser
i have similar issue on windows 10 on affine 0.19.0-canary.8
can I add that the export as a whole is not working properly?
html exports don't have styling and images are not looking hot
My self-hosting affine also has the same issue, no matter what format was selected at export(direct to printer included), the final result is just the same as # @allejo
Same sample document and exported in dark mode.
@garvittsingla Maybe you can test in affine client, I have this issue only in client, browser is glitchy but still usable.
Same for me, browser doesn't have this issue but desktop client does (stable macOS build of the electron app)
Still happening in Firefox
Any news on this?
Up, Same problem and it's very frustrating not to be able to pdf
@forehalo why the closure as not planned? 🙁
A possible solution could be to switch to light mode automatically when exporting, and then change the theme back to the previous one
Same issue with affine 0.24.1. Tested on both Brave and Firefox — it still doesn't work. Changing the theme and restarting the application helps, but embedded frames are still not rendered properly when printing to PDF.
Geez, so this issue is still unfixed or even undiagnosed yet? Luckily I have switched to Obsidian, at least the folks there can do something about it.
@Marius-Streicher Since I can just change to light mode and turn it back, which only takes like 2 seconds, so not a super big issue for me. Not sure why closed because of not planned.
Since I can just change to light mode and turn it back, which only takes like 2 seconds, so not a super big issue for me.
Not sure why closed because of not planned. Maybe the devs just don't care about it or lacking manpower to solve this kind of minor problems that can heavily impact users' experience badly. Anyway, since I have bugged out and switched to Obsidian so IDC about it anymore.