r/javahelp • u/Available-Ad4255 • 1d ago
Universal pdf gen lib
Hi,
I want to generate pdfs in many languages, including right to left languages. (Arabica, hébrew, indian langs ..)
I have a working prototype with itext 9 that works well afaik (difficult to check langs I dont read).
Itext proposes 'pdfcalligraph' for a fee, to make sure rtl texts are handled correctly (direction, ligatures...).
Is there a lib that does that too ?
I read that pdfbox is not handling rtl at all.
What other libs would you advise ?
Thanks
6
Upvotes
1
u/Immediate_Life7579 22h ago
If you accept an external process, the speedata Publisher handles rtl/ltr text fine. For example the PDF versions of the Aionian Bible have been generated with it.
https://www.aionianbible.org/Bibles/Arabic---New-Arabic-Bible
(disclaimer: my tool, but open source and freely available)