Support all BookStack languages on PDF export. #148
Labels
No labels
Focus: A11y
Focus: Admin/Meta
Focus: Authentication
Focus: Back-End
Focus: Database
Focus: Design & UX
Focus: Editor - Markdown
Focus: Editor - WYSIWYG
Focus: Export System
Focus: Front-End
Focus: Translations
Focus: View Customization
Is: Docs Update
Is: Enhancement
Is: Priority
Is: Security
Is: Upstream
Status
Blocked
Status
Open to discussion
Status
Out of scope
Status
Pending Validation
Type
API Request
Type
Bug Report
Type
Feature Request
Type
Happy feedback
Type
Maintenance
Type
Question
Type
Support
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bookstack/bookstack#148
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
BookStack is great. But recently I noticed that it does not support Unicode character.
Like when a page title is fully written in other language other then English. Means there is no English character all written in Unicode character, Page URL is not created.
Also PDF generates ambiguous character when document is written in Unicode character.
I am running PHP 7.0 with Mysql 5.5.49
Will you please provide support for Unicode? It very very much import for global user.
I see you're using Mysql 5.5.x, does it exhibit the same behavior on Mysql 5.6?
BookStack requires Mysql 5.6 as shown here: https://www.bookstackapp.com/docs/admin/installation
Also what version of BookStack is this?
Hi @xianx, Since you have not responded to the above from nwalke I will close this issue. If you are still having issues with this and answer the above questions I'll happily re-open this.
Hello here, i have this problem too.
I start bookstack from docker images (offical)
Mysql 5.7.12
Bookstack version 0.18.4
@ssddanbrown, I ask you to take a look at this problem again.
My article was written in Russian, with an extort I got it.
When exporting to html, the output is correct
Re-opening and marking as bug due to comment above and #625.
Relatedly, PDF export clobbers scientific pages since a lot of mathematical unicode symbols don't seem to work:
This is with Bookstack 0.27.4. Expected output is μL instead of ?L
PDF export titles can lose non-ASCII characters due to heading font fallback in DOMPDF. I added a PDF-only heading font override to DejaVu Sans and verified Polish titles export correctly. This should help other languages too; PR landed -> https://github.com/BookStackApp/BookStack/pull/6069.
@alexwoo-awso I think that was related, but a bit different to the fundamental issues here, which is that the default font support (and default styles) don't cover the full range of languages/characters folks may need.
Within #6109 I've created system for loading custom fonts to use in (default DOMPdf based) PDF exports.
There will be documentation to show how custom fonts can be loaded using this system, where a language may not be supported by default for these PDF exports.
This will be part of the next feature release.