The JasperReports Library is the world's most popular open source reporting engine. It is entirely written in Java and it is able to use data coming from any kind of data source and produce pixel-perfect documents that can be viewed, printed or exported in a variety of document formats including HTML, PDF, Excel, OpenOffice and Word.
Now ONLY SimplePdfTextRender.java works on 2018/May
- Graphics2D is not supported
- TagHelper is not supported
- Bookmark is not supported
- Anchor is not supported
You can download the Khmer unicode JARs from https://www.sbbic.org/tag/download-khmer-unicode-fonts/
And in iReport Font install what you wanna use (check pdf-embedded), to pick the fonts and to export font-ext-khmer.jar into your build libs.
Please choose PDF-Encoding is "Identity-H", you can generate Khmer text now.
Apply the license Key from https://pages.itextpdf.com/iText-7-Free-Trial-Landing-Page-1.html
And use the following codes in your main method.
import com.itextpdf.licensekey.LicenseKey;
LicenseKey.loadLicenseFile("c:\itext-license.xml");