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
I've loaded a simple HTML table in Farsi (RTL) language, but I've encountered two problems when trying to render it into a PDF.
The first issue is that instead of printing "ردیف", it prints "فیدر" (reversed and spaced between characters) and the second issue is that making a table RTL is not working!
After searching in this repository, I found that this issue has persisted for several years without being fixed. Some users have suggested that the printing of characters can be fixed by using other libraries like ar-php, but the other issue still remains unresolved or not reported.
I have attached some screenshots to better illustrate the problem.
Dompdf does not yet support fully support the complex text layout features required to render Farsi correctly. Additionally, fully supporting RTL in layout will require additional work on the layout engine.
Hello there,
I've loaded a simple HTML table in Farsi (RTL) language, but I've encountered two problems when trying to render it into a PDF.
The first issue is that instead of printing "ردیف", it prints "فیدر" (reversed and spaced between characters) and the second issue is that making a table RTL is not working!
After searching in this repository, I found that this issue has persisted for several years without being fixed. Some users have suggested that the printing of characters can be fixed by using other libraries like ar-php, but the other issue still remains unresolved or not reported.
I have attached some screenshots to better illustrate the problem.
Code to reproduce the bug:
Excepted result:
(As you see ردیف short numbers 1,2,5,... is on the right side and texts rendered correctly.)
DOMPDF rendered result:
(The table is still LTR and the texts are not correctly rendered)
The text was updated successfully, but these errors were encountered: