Go to the official website http://itextpdf.sourceforge.net/download Itextasian.jar, solve Asian font problems.
Copy the download file to Lib under the JasperReports folder.
Then write the Chinese characters in the report, right-click the Chinese character-properties, make the following settings. Can solve Chinese problems for current Chinese characters.
You can also define a scenario, followed by a direct reference.
Menu Format-font-new a Scenario
Then write the Chinese characters in the report, right-click Chinese characters-properties-report font directly choose the scheme on it.
This will solve the problem of not displaying PDF Chinese
Common presentation Methods
For the representation of a field: $F {username}
How to represent the corresponding variable: $V {variable name}
For the representation of a parameter: $P {param name}
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.