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.

yogeshpaliyal's picture
Joined: Dec 3 2018 - 12:26am
Last seen: 5 months 1 week ago

this worked

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

yogeshpaliyal - 4 years 3 months ago

Hi, 

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

Thanks!

dpahlani - 1 year 4 months ago

2 Answers:

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

i already using this but still facing error.

yogeshpaliyal's picture
Joined: Dec 3 2018 - 12:26am
Last seen: 5 months 1 week ago
Feedback