gainston Posted June 21, 2017 Share Posted June 21, 2017 Hello, I have been trying to process the jasper report for the past two days and i was unable to use japanese texts in the static text field in the JRXML. SO when i Enter the japanese text in jrXml the output in jasper report is empty. I am in urgent need. Kindly someone help me in this issue Link to comment Share on other sites More sharing options...
dohungnd94 Posted June 22, 2017 Share Posted June 22, 2017 Hi, this is solution I searched, may be useful for u :Resolution:You should register the Japanese font that you are using as a font extension. To create a font jar, take the following steps:Open iReportGot to Tools->OptionsUnder the iReport section, find the Fonts tab (Not the Fonts and Colors section)Click on "Install Font"Select the main TTF file for your font and click NextSelect the related italic, bold, and bold italic font files and click Next..Next...FinishSelect the Font and click "Export as extension"Put in your application classpath. To do this just copy the jar to the /WEB-INF/lib/ folder, restart the server and then try to use it for reports. Link to comment Share on other sites More sharing options...
Friendly User Posted June 27, 2017 Share Posted June 27, 2017 Hello,frist of all you need a font with Japanese letters like ArialUnicodeMS. If you're using studio, you'll need to register your font first. Go to Window->Preferences->Jaspersoft Studio->Fonts and add your font. When filling out the font information make sure you check the Embed in PDF Document and set the PDF encoding to Indentity-H.You can then use the font for your fields and export it to PDF without losing it. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now