-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Description
We have a user who has a mix of Arabic and English in their EULAs and they're encountering an issue where the Arabic is displaying incorrectly, garbled. The fonts are fine, it's just parsing them incorrectly.
Unfortunately, this looks like it might be an issue with DomPDF, not with us specifically.
It's possible we could try to switch to using a different package, such as https://github.com/misterspelik/laravel-pdf, but we would obviously need to test this pretty thoroughly to make sure there are no unintended consequences. It also hasn't been updated in quite some time, which gives me a bit of pause as well.
There are also workarounds for DomPDF via Ar-PHP, but I don't know if that will support non-Arabic RTL text.
We also already include TCPDF, so we might be able to make it work using that library instead of DomPDF.
OR we can consider trying to write some sort of CSS shim into the parsedown handler. :(
Metadata
Metadata
Assignees
Labels
Type
Projects
Status