Hello, I managed to solve the mystery. The problem is because OFBIZ does not load xalan-2.7.0.jar and serializer-2.7.0.jar during startup. I added the jar files in the startup script via classpath but it does not work either. Therefore, I modified org.ofbiz.base.start.Start to load all jar under ofbiz\framework\webapp\lib and it works.
Summary of how I made it work for me: 1. Generate xml for the ttf I want (Refer to section on TrueType Font Metric at http://xmlgraphics.apache.org/fop/0.94/fonts.html) 2. Copy the xml and ttf to ofbiz\framework\webapp\config 3. Put the following in fop.xconf: <font-triplet name="SimHei" style="normal" weight="normal"/> 4. In the *.fo.ftl, set font-family, e.g.: <fo:block font-size="5pt" font-family="SimHei" font-weight="bold">${product.internalName?if_exists}</fo:block> Not sure whether I am doing the right thing or following the good practices, but it works for me. Thanks for all the pointers, anyway. -- View this message in context: http://n4.nabble.com/Multi-lingual-suport-for-FOP-in-OFBIZ-9-04-tp1934541p2019928.html Sent from the OFBiz - User mailing list archive at Nabble.com.
