Hi,
We currently have an issue with printing Japanese to a PDF report in APEX 5.1. We have tried to create a fop.xml file with the contents below, but getting an error when tomcat started.
<fop>
<strict-configuration>true</strict-configuration>
<fonts>
<substitutions>
<substitution>
<from font-family="Helvetica"/>
<to font-family="Gothic TrueType"/>
</substitution>
</substitutions>
</fonts>
<renderers>
<renderer mime="application/pdf">
<filterList>
<value>flate</value>
</filterList>
<fonts>
<font kerning="yes" embed-url="/var/lib/tomcat/webapps/i/apex/font/kochi-gothic-subst.ttf" sub-font="Gothic TrueType">
<font-triplet name="Gothic TrueType" style="normal" weight="normal"/>
</font>
</fonts>
<stroke-text>false</stroke-text>
</renderer>
</renderers>
</fop>
Getting "Caused by: java.util.InvalidPropertiesFormatException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 37; Document root element "fop", must match DOCTYPE root "null"." error. Can someone please advise what can be done to correct this issue?
Thanks,
Lei