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
Hi! When exporting a document in PDF format, the encoding of the headings breaks: in Cyrillic, I see "?????" instead.
I searched for a solution on Github, but couldn't find one. Please, help me: what's wrong and what can be fixed?
I am using the docker version of BookStack (from the linuxserver repository). In my case, the problem was only with the header. So, I go to the container:
docker exec -it bookstack_app /bin/bash
then inside the container, I looked at the existing fonts:
Activity
shmbatom commentedon Nov 11, 2025
I met this truoble too, but I don't know how to solve it.
zhang-nianqiang commentedon Nov 11, 2025
BookStack uses dompdf as the PDF export engine.
You can find a solution at https://github.com/dompdf/dompdf?tab=readme-ov-file#about-fonts--character-encoding.
shmbatom commentedon Nov 11, 2025
To zhang-nianqiang
You should give detail link, and we all know that bookStack uses dompdf as the PDF export engine.
What you given is unuseful.
Ozilly commentedon Nov 30, 2025
Switching to WKHTMLTOPDF helped me
Alexandr-Falcon99 commentedon Mar 2, 2026
I confirm this statement.
hillw3318-ui commentedon Apr 14, 2026
I am using the docker version of BookStack (from the linuxserver repository). In my case, the problem was only with the header. So, I go to the container:
docker exec -it bookstack_app /bin/bashthen inside the container, I looked at the existing fonts:
fc-listand saw
Free Serif.Then I just set
Custom HTML Head Contentto:and PDF Export works correct.
ssddanbrown commentedon Apr 22, 2026
I believe this was caused by the issue addressed in #6069.
The fixes for that will be part of the next feature release.
Feel free to request this to be opened if still experiencing issues after upgrading to the next feature release (once it becomes available).