Jasper Report Problem with hindi font

i am facing issue while using hindi font, in jaspersoft studio, when i send hindi parameter from preview it shows correct pdf. 

But when sending from java it prints incorrect.

example : sending parameter दिनेश

but it is showing like this.

paliyalyogesh's picture
Joined: Dec 3 2018 - 12:26am
Last seen: 3 years 9 months ago

this worked

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

paliyalyogesh - 3 years 10 months ago

Hi, 

Could you please tell how exactly are you using this expression and where?

Thanks!

dpahlani - 10 months 3 weeks ago

2 Answers:

hozawa's picture
148026
Joined: Apr 24 2010 - 4:31pm
Last seen: 3 years 3 months ago

i already using this but still facing error.

paliyalyogesh's picture
Joined: Dec 3 2018 - 12:26am
Last seen: 3 years 9 months ago
Feedback