问题
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.
回答1:
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.
来源:https://stackoverflow.com/questions/43750736/jasper-reports-cambodian-khmer-and-laotian-language