ireport export pdf file Chinese problem

        1) Recently, I was studying the use of the ireport reporting tool and found that when the pdf file was previewed, the Chinese could not be displayed, so I checked some information on the Internet. Although it was solved, in order to avoid detours for future friends, I hereby explain again:

       Solution: ireport -- "Tools --" option, as shown below



 Just import these jar packages.

 

   2) Although in the ireport tool, the Chinese preview is available, but if the corresponding jar package is placed in the java project, an error will be reported, indicating that the font cannot be found.

     Reason: Checking the information online shows that the version of itextAsian.jar or itext.jar is wrong. Because the package name has been modified, you can verify it yourself.

     The jar package that can be used normally has been placed in the attachment, please refer to it, thank you~, hee hee

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326305926&siteId=291194637