Multi-language PDF Exports

I know this has been dealt with before, but not recently as far as I can determine, and I'm hoping to get some more up to date information than what is already available.

We're attempting to support the PDF export of reports that may contain data in any combination of Western Europe, Central Europe and Asian languages within the same report.  We have a list of the languages that must be supported.  Using the Arial Unicode MS font seems seems to work for this, but it is a very expensive per server option and is limited in terms of font styles. 

We've been looking at the Google Noto Sans fonts combined into a font set as a possible solution, and I'm wondering if anyone has had success with this, and what was done to make it work.  One of the issues we've had is the fact that the CJK (Asian) fonts are .otf files rather .ttf, and .otf is not listed as a supported file type.  Another issue is that is seems to make a difference is how the fonts are ordered within the font set as to which languages work and which don't.  Has anyone tried this approach?  Is there any reason why it couldn't work?  Is it worth pursuing further?
 
We're currently running v.6.2.2 on Java 6, which may be a factor with .otf fonts, but would consider upgrading to the current version if necessary.
loring's picture
7
Joined: Feb 6 2017 - 10:26am
Last seen: 6 years 7 months ago

3 Answers:

Font handling in JapserReports and Studio was improved in 6.3. The Studio documentation is here, including an example of creating and using a font set and uploading it to the server:

http://community.jaspersoft.com/documentation/tibco-jaspersoft-studio-us...

 

elizam's picture
15466
Joined: Mar 5 2012 - 9:19am
Last seen: 3 years 1 month ago

FYI, there are otf to ttf convertors so it shouldn't be a problem. Noto Sans fonts are fine but they are rather large in file size but since you're going to be using several languages in a document, that probably can't be helped.

hozawa's picture
190283
Joined: Apr 24 2010 - 4:31pm
Last seen: 4 years 3 months ago

We we have successfully used NotoSansCJK and NotSans with jasper report 6.3 version. We are having some problem with NotoSnasCJK in Adobe reader (Foxit works fine) but other than that, we are pretty happy.

vsingh_2's picture
Joined: May 22 2017 - 7:41am
Last seen: 4 years 4 months ago
Feedback
randomness