Thanks Deepak,

I was wondering about that, because the NotoSans fonts were not detected locally. This was this morning. It should be totally unrelated with this commit but now I get:

Unable to transform FO file: java.lang.StringIndexOutOfBoundsException: String 
index out of range: 2

at

https://localhost:8443/example/control/printExampleFOPFonts

and

https://localhost:8443/example/control/fonts.pdf

Jacques


Le 16/07/2016 à 13:16, dee...@apache.org a écrit :
Author: deepak
Date: Sat Jul 16 11:16:20 2016
New Revision: 1752925

URL: http://svn.apache.org/viewvc?rev=1752925&view=rev
Log:
(OFBIZ-6274) Uncommented auto-detect font for apache fop, I commented this code 
on local box for testing, It was taking too much time to load system font.

Modified:
     ofbiz/trunk/framework/webapp/config/fop.xconf

Modified: ofbiz/trunk/framework/webapp/config/fop.xconf
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/framework/webapp/config/fop.xconf?rev=1752925&r1=1752924&r2=1752925&view=diff
==============================================================================
--- ofbiz/trunk/framework/webapp/config/fop.xconf (original)
+++ ofbiz/trunk/framework/webapp/config/fop.xconf Sat Jul 16 11:16:20 2016
@@ -94,11 +94,10 @@ the location of this file.
            <font-triplet name="Arial" style="normal" weight="bold"/>
            <font-triplet name="ArialMT" style="normal" weight="bold"/>
          </font>
-
+        -->
            <auto-detect/>
            <directory>framework/resources/fonts/NotoSans</directory>
            <auto-embed/>
-          -->
        </fonts>
<!-- This option lets you specify additional options on an XML handler -->




Reply via email to