Search code examples
internationalizationjasper-reports

Is there any method for jasper reports to support Khmer language?


I tried to generate a jasper report that has khmer characters in it but while generating the PDF , the letters get absurdly changed. Is there any method or configurations through which Khmer language can be supported in Jasper reports?


Solution

  • Please check this post related to Jasper with Khmer Unicode: http://ask.osify.com/qa/868

    Starting with JasperReports 6.2.0, support for complex/Indic scripts in PDF (by means of AWT text layout) has been added. It can be seen in the demo/samples/unicode sample, which contains a Khmer text rendered with a Google Noto font. See comment of Jasper reports - Cambodian / Khmer and Laotian Language

    I already experience myself, latest jasper report version can support Khmer but won't work properly when it comes with latin character there too, we need to edit font on this.