Itext 5.5 Converting HTML to PDF for RTL languages (Arabic) not working on tomcat
问题 I am wiriting HTML to PDF Conversion of Arabic Text from Itext 5.5 and XMLWorker . This works perfectly fine when run stand alone Java program. (it sprint language in RTL as expected) but always print LTR when run the same program in tomcat. (tried even with hardcoded string, file inside tomcat application code). Here is the sample code . Taken from http://developers.itextpdf.com/question/how-convert-arabic-html-pdf public void createPdf(File file) throws IOException, DocumentException { //