This question is an exact duplicate of:
In Internal preview of Hindi fonts Displays Correctly. But in Pdf It Varies .
For Example : पिता . In Pdf it Shows प िता
How to resolve this.
Special characters like Hindi language symbols will be supported by few font types like Arial Unicode MS:
To Resolve this issue, Open Ireport designer and apply below properties to the report:
- Font Name = "Arial Unicode MS".
- PDF font name = This property is deprecated, so leave it blank.
- PDF Encoding = 'Identity-H (Unicode with horizontal writing)'.
Hope this help you resolve the issue.
Regards, Srikanth Kattam
来源:https://stackoverflow.com/questions/23978392/hindi-fonts-in-jasperreports