Some hindi characters are not coming properly
Posted on November 26, 2013 at 2:42am
Text is having some ? characters. When generating the pdf the PDF generation succeeds but the Hindi characters are the not coming problem. we are using dynamic reports. The fonts used are Arial Unicode MS and PDF encoding is "Identity-H".
Please let me know if someone can help me on this.
Joined: Nov 12 2013 - 1:37am
Last seen: 9 years 6 months ago
Posted on December 4, 2018 at 11:33pm
this worked
IndicLigaturizer hindi = new DevanagariLigaturizer();
String result = hindi.process(string);
Joined: Dec 3 2018 - 12:26am
Last seen: 7 months 2 weeks ago
Probably, give a try with some other unicode font. Hopefully, that will work.
I dont know exactly how to add another unicode font like mangal font.
Find the process at the following link:
http://www.jcombat.com/spring/adding-unicode-font-support-to-jasper-report-generation