Search code examples
apache-fopmoqui

Apache FOP PDF not showing Persian font correctly


I want to try to use an Apache FOP for printing Persian language PDF, but the PDF font does not display properly. In fact, the letters appear in reverse and apart. Anyone can help?

enter image description here


Solution

  • In Apache OFBiz I have used the Google NotoSans font which is Apache licensed https://issues.apache.org/jira/browse/OFBIZ-5917

    You can see it in action at bottom of PDF there (credential admin/ofbiz): https://demo-trunk.ofbiz.apache.org/example/control/fonts.pdf

    It should work for Persian language I guess, did not test.