IReport5.6 中文解决

 

 

1.download wqy-zenhei font

  file type is ttc

2.download unitettc 

  Because ireport5.6 needs ttf file type when  installing font,convert ttc to ttf with unitettc tool.

  Command: sudo ./unitettc wqy-zenhei.ttc

  The command above will generate 3 ttf files,use the first ttf file only when installing font

3.Export wqy-zenhei font as a jar with ireport.

4.copy the font jar file into project library.

5.create a style for wqy-zenhei

6.config field style property to your style only. 

7.copy jasperreports-fonts-5.6.1.jar into project library

 



 

 

 

 

猜你喜欢

转载自lyh7609.iteye.com/blog/2367590