The process should follow as this:
In Ireport
after create new report, first step you should setting style - font
Chinese setting like this: font name SansSerf
PDF font name STSong-Light
PDF encoding UniGB-UCS2-H(Chinese)
Japaneses setting like this: font name SansSerf
PDF font name HeiseiMin-W3 [HeiseiKakuGo-W5]
PDF encoding UniGB-UCS2-H(Japaneses)
Attention: you should first set styple and then add text. otherwise, Ireport will setting default font. If there is a confilct, report may not show correctly.
IReport version 3.0.0 JasperReport version 3.0.0
本文详细介绍了如何在IReport中正确设置中文字体和日本字体,确保报告在导出为PDF格式时能正常显示东亚语言字符。文章特别强调了设置样式的重要性,并提供了具体步骤和注意事项。

1493

被折叠的 条评论
为什么被折叠?



