Jasper reports - Cambodian / Khmer and Laotian Language

血红的双手。 提交于 2019-12-23 10:55:12

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!