How to display Hindi font in the pdf exported from iReports?

0

Hi All,

  I am trying to display Hindi font in the pdf file generated using iReports. I've added Hindi ttf font in the iReport for the same. iReport tool is displaying Hindi font properly in the iReport viewer but when I am exporting it into a pdf file I am not getting anything printed in the pdf file.

Please help.

 

ayushkumar.bilala's picture
Joined: Dec 3 2012 - 8:50pm
Last seen: 6 years 5 months ago

1 Answer:

0

this worked for me

IndicLigaturizer  hindi = new DevanagariLigaturizer();
String result = hindi.process(string);
paliyalyogesh's picture
Joined: Dec 3 2018 - 12:26am
Last seen: 1 year 2 months ago
Feedback
randomness