Right-to-Left (RTL) support for Hebrew and Arabic
See original GitHub issuePlease add Right-to-Left (RTL) support for languages like Hebrew and Arabic…
Something like:
doc.rtl(true);
doc.text('...', {rtl: true});
Issue Analytics
- State:
- Created 9 years ago
- Reactions:14
- Comments:58 (14 by maintainers)
Top Results From Across the Web
Right-to-left script - Wikipedia
Arabic, Hebrew, Persian, Pashto, Urdu, Kashmiri and Sindhi are the most widespread R2L writing systems in modern times. The Hebrew language is still...
Read more >Right-to-Left (RTL) Language Support - Salesforce Help
To make right-to-left (RTL) language users feel more at home, Salesforce supports Arabic and Hebrew as end-user languages and Urdu as a platform...
Read more >Right-to-left language support and bidirectional text
Bidirectional text occurs when the control hosts both RTL text (such as Arabic or Hebrew) and LTR text within the same string of...
Read more >Right to left - Foundations - Human Interface Guidelines - Design
Support right-to-left languages like Arabic and Hebrew by reversing your interface as needed to match the reading direction of the related scripts.
Read more >Use Right-to-left (RTL) text and content - Hebrew and Arabic ...
If you're a Pro user, please contact us at support@strikingly.com or chat with us, and we'll help you install the code on your...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Simply reversing the text before it goes to pdfkit seems to work for both Hebrew and Arabic (I’m just eyeballing the text however since I speak neither)
The only correct implementation will be the Unicode bidi algorithm. Anything else, especially reverse(), will be incorrect.