You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Mandarin characters become unrecognizable in PDF export while displaying correctly in web UI #2037
I'm a sponsor and would appreciate if you could look into this sooner than later 💖
Additional Information
This appears to be a font encoding or font embedding issue specific to PDF generation within the docs application's implementation of BlockNote. The issue may be related to how the docs application handles PDF export or how BlockNote's PDF generation handles non-Latin character sets.
Thanks for pointing out it might be an issue related to react-pdf
I found a issue report there that is likely the same issue I encountered. It seems like there's a workaround.
Activity
nperez0111 commentedon Sep 29, 2025
I've not diagnosed this, but it is likely to do with react-pdf (https://github.com/diegomura/react-pdf) which is what we use to render to PDF, it could be the font that is embedded into the pdf, or unicode issues
ching-kuo commentedon Sep 29, 2025
Thanks for pointing out it might be an issue related to react-pdf
I found a issue report there that is likely the same issue I encountered. It seems like there's a workaround.