Japanese fonts not visible in the export pdf in iReports

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-11 09:56:44

问题


I ran a report through iReport which consists of data in Japanese. When I preview it, through internal Preview, I am able to the see the data in Japanese. But when i do a PDF Preview, none of the Japanese characters are visible.

I use iReport 4.1.1. I installed Adobe Reader 9.

Can anyone suggest me how can I get the japanese fonts in PDF.

Waiting for the reply.


回答1:


Do you set "iTextAsian.jar" to classpath ?

And configure font and encode.

Japanese font : "HeiseiKakuGo-W5" or "HeiseiMin-W3"

Japanese encode : "UniJIS-UCS2-H", "UniJIS-UCS2-V", "UniJIS-UCS2-HW-H" or "UniJIS-UCS2-HW-V"



来源:https://stackoverflow.com/questions/7049926/japanese-fonts-not-visible-in-the-export-pdf-in-ireports

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!