ligature implementation for Indian languages / Devanagari script
I have a web application where I need to generate PDF files on the Linux server. I need to support a few Indian languages along with English. I started by using Arial Unicode (ARIALUNI.TTF) and test pdf generation on my the application installed on my Windows machine. iText is generating pdf files with Gujarati fonts but doesn't seem to implement any ligature.
Does iText have ligature implementation for Indian languages such as Hindi, Gujarati, Marathi, etc?
Here is the part of the PDF generation code:
// open the pdf document
Document document = new Document();
// get an instance of PdfWriter and in the process link it with the output file
PdfWriter.getInstance(document, new FileOutputStream(uniqueFilePath)); // uniqueFilePath defined earlier in the program
// open the document
// specify the font location
String fontFile = "C:/WINDOWS/Fonts/ARIALUNI.TTF";
// create base font for the specified font
BaseFont baseFont = BaseFont.createFont(fontFile, BaseFont.IDENTITY_H, BaseFont.EMBEDDED);
Font font = new Font(baseFont, 12);
document.add(new Paragraph(text, font)); // text in unicode defined earlier in the program
Thanks in advance.