Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jasper reports - Cambodian / Khmer and Laotian Language

I'm using Arial Unicode MS to display languages chinese, russian, korean and vietnamese in jasper reports and I export these to pdf using Identity-H for Pdf Encoding.However I can't use this for Cambodian / Khmer and Laotian Language I've tried searching for fonts with no luck. If its possible what type of font and PDF encoding should I use for me to display and embed these languages in PDF.

Update: I've tried using Khmer OS an Khmer OS System fonts that is already installed in my iReport Designer(3.7.6). These fonts doesn't work and translates the Khmer language into gibberish.

Also tried downloading other Khmer fonts with pdf encoding as Identity-H, doesn't work.

like image 884
kimdasuncion12 Avatar asked Oct 17 '22 13:10

kimdasuncion12


1 Answers

At first, look to my research around Khmer Unicode related to iText that is the library using by iReport/Jasper:

  • iText supports Khmer Unicode issue

I have made a modification on itext to add Khmer render but haven't tried to put that in jasper yet, need more people continue to give some hands (github)

Updated: JasperReport from 6.2 supported

Thanks to the comment, told us about the JasperReport library update.

It could now convert to pdf from Jasper Report, but still another issue when we mix both English and Khmer, I think we will find a workaround on this.

See my post here.

like image 183
Osify Avatar answered Oct 21 '22 03:10

Osify