How can i add Arabic text to a PDF and have it displayed in the PDF ?. Currently i am using the following code however, this does not display the Arabic characters:
BaseFont bf = BaseFont.createFont(BaseFont.TIMES_ROMAN, BaseFont.CP1252, BaseFont.EMBEDDED); column.addText(new Phrase(LINE_LEADING, arabicTitleStr , new Font(bf,FONTSIZE_3))); column.go(); Can anyone say what else will i need to do for this code to work? I am following the example from the online Tutorial RightToLeft.java and SayPeace.java. -- View this message in context: http://www.nabble.com/How-to-add-Arabic-text-to-a-PDF-tf4112571.html#a11693965 Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
