◎筱米加步枪◎.Blog

Happy coding

Panteho报表设计器输出PDF的中文不显示解决

筱米加步枪 posted @ 2011年7月11日 21:08 in [ 开源框架 ] with tags penteho 中文不显示 , 2170 阅读

在Penteho报表设计器中,拖动一个Label,然后根据API输出PDF文件,结果PDF文件中只显示英文部分,中文部分不显示。

研究许久,原来还要更改Label的属性。具体解决方案:

1.指定【style】的【encoding】为utf-8

2.还要修改【style】的【family】为“宋体”或者其他可识别字体。

如图:

  • 无匹配
Things to do 说:
2024年3月05日 23:29

What are the trending destinations in France at the present? We can easily find all info on things to do post with detailed article.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter