开发者

JasperReport using iReport not support unicode character while export to pdf format

开发者 https://www.devze.com 2022-12-12 08:49 出处:网络
I am using iRport design tool to create the report in my project. I have created .jrxml and .jasper file, it开发者_运维百科 works fine in the iReport means it supports for the Unicode character and di

I am using iRport design tool to create the report in my project. I have created .jrxml and .jasper file, it开发者_运维百科 works fine in the iReport means it supports for the Unicode character and displaying all unicode characters but if I integrated this .jasper file in my java class and exports the report into the pdf format by using itext jar file. Then the program runs well and create the report in pdf format but not showing the unicode characters in the generated report file. So please help me in this case sothat I will able to view unicode characters in the generated report file. Thanks in advance.


Of course the JasperReports has the unicode support.

This articles are about unicode support:

  • JasperReports - Unicode Sample
  • JasperReports - Fonts Sample

The main concept is to use the Font Extensions mechanism.


I think, You may need to add uni code font to class path.

0

精彩评论

暂无评论...
验证码 换一张
取 消