Ah right Deepak, I will check because I still get this with trunk HEAD here

2016-07-18 10:21:59,336 |ttp-nio-8443-exec-10 |ScreenFopViewHandler |E| Unable to transform FO file: java.lang.StringIndexOutOfBoundsException: String index out of range: 2; Screen XSL:FO text was:

Jacques


Le 18/07/2016 à 09:48, Deepak Dixit a écrit :
Hi Jacques,

Its working at my end. I tested it on demo and its working fine.
Could you please cross check it with updated code base?



https://ofbiz-vm.apache.org:8443/example/control/printExampleFOPFonts
https://ofbiz-vm.apache.org:8443/example/control/fonts.pdf

Thanks & Regards
--
Deepak Dixit
www.hotwaxsystems.com

On Sat, Jul 16, 2016 at 9:42 PM, Jacques Le Roux <
[email protected]> wrote:

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, [email protected] 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