I need to create a report using itext, but the language must be Hindi or Marathi. Is it possible to make a pdf file that contains a Marathi font, such as brazier, shruti, shree-dev ... etc., if yes plz answer me Thank you!
Adding a Marathi font to itext pdf:
BaseFont kruti_Dev = BaseFont.createFont("c:/WINDOWS/Font/Kruti_Dev_010.ttf" ,BaseFont.CP1252,BaseFont.EMBEDDED); Font font = new Font(kruti_Dev, 12, Font.NORMAL);
Try using the Aspose PDF Generator. Make a request and response on utf-8.
Source: https://habr.com/ru/post/1771917/More articles:How to interrupt a multithreaded python application? - pythonConfirm uniqueness in combo fields in DataMapper - ruby | fooobar.comКак изменить версию рельсов в Max OS X Snow Leopard? - ruby-on-railsNSTimer or NSThread in the background iOs 4 - iphoneFacebook Authentication - Problem Returning to My iPhone App via Custom URL Scheme - iphoneMerging a linked server? - sqlmirror image + iphone - iphoneHTTPS proxy for an existing HTTP application - httpUse the sun. * Classes in an Eclipse Java project - javaUIGraphicsGetImageFromCurrentImageContext gives a low quality / low resolution image, how do I get better? - iphoneAll Articles