Some hindi characters are not coming properly

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.

eswarkrishna32's picture
Joined: Nov 12 2013 - 1:37am
Last seen: 9 years 6 months ago

Probably, give a try with some other unicode font. Hopefully, that will work.

abhimanyu.prasad - 9 years 6 months ago

I dont know exactly how to add another unicode font like mangal font. 

eswarkrishna32 - 9 years 6 months ago

1 Answer:

this worked

IndicLigaturizer  hindi = new DevanagariLigaturizer();
String result = hindi.process(string);

yogeshpaliyal's picture
Joined: Dec 3 2018 - 12:26am
Last seen: 7 months 2 weeks ago