Hi Jacques,

here are lines from the log. It does not find fonts, I have included only the 
last lines of the messages that it could not find the font.

Here is a screenshot of my fonts directory on Windows:
https://up.picr.de/40004386kt.png
It seems to me the fonts are there but with different names.

Georg

2020-12-03 13:00:56,188 |jsse-nio-8443-exec-4 |FOUserAgent                   
|W| Unable to load font file: file:/C:/WINDOWS/FONTS/NotoSerif-Regular.ttf. 
Reason: java.lang.UnsupportedOperationException: coverage set class table not 
yet supported
2020-12-03 13:00:56,210 |jsse-nio-8443-exec-4 |FOUserAgent                   
|W| Unable to load font file: 
file:/C:/WINDOWS/FONTS/NotoSerifGeorgian-Bold.ttf. Reason: 
java.lang.UnsupportedOperationException: coverage set class table not yet 
supported
2020-12-03 13:00:56,210 |jsse-nio-8443-exec-4 |FOUserAgent                   
|W| Unable to load font file: 
file:/C:/WINDOWS/FONTS/NotoSerifGeorgian-Regular.ttf. Reason: 
java.lang.UnsupportedOperationException: coverage set class table not yet 
supported
2020-12-03 13:00:56,226 |jsse-nio-8443-exec-4 |FOUserAgent                   
|W| Unable to load font file: file:/C:/WINDOWS/FONTS/NotoSerifHebrew-Bold.ttf. 
Reason: java.lang.UnsupportedOperationException: coverage set class table not 
yet supported
2020-12-03 13:00:56,226 |jsse-nio-8443-exec-4 |FOUserAgent                   
|W| Unable to load font file: 
file:/C:/WINDOWS/FONTS/NotoSerifHebrew-Regular.ttf. Reason: 
java.lang.UnsupportedOperationException: coverage set class table not yet 
supported
2020-12-03 13:00:56,241 |jsse-nio-8443-exec-4 |FOUserAgent                   
|W| Unable to load font file: file:/C:/WINDOWS/FONTS/NotoSerifLao-Bold.ttf. 
Reason: java.lang.UnsupportedOperationException: coverage set class table not 
yet supported
2020-12-03 13:00:56,241 |jsse-nio-8443-exec-4 |FOUserAgent                   
|W| Unable to load font file: file:/C:/WINDOWS/FONTS/NotoSerifLao-Regular.ttf. 
Reason: java.lang.UnsupportedOperationException: coverage set class table not 
yet supported
2020-12-03 13:00:56,527 |jsse-nio-8443-exec-4 |FOUserAgent                   
|W| Unable to load font file: file:/C:/WINDOWS/FONTS/ReemKufi-Regular.ttf. 
Reason: java.lang.UnsupportedOperationException: coverage set class table not 
yet supported
2020-12-03 13:00:56,611 |jsse-nio-8443-exec-4 |FOUserAgent                   
|W| Unable to load font file: file:/C:/WINDOWS/FONTS/Scheherazade-Bold.ttf. 
Reason: java.lang.UnsupportedOperationException: coverage set class table not 
yet supported
2020-12-03 13:00:56,627 |jsse-nio-8443-exec-4 |FOUserAgent                   
|W| Unable to load font file: file:/C:/WINDOWS/FONTS/Scheherazade-Regular.ttf. 
Reason: java.lang.UnsupportedOperationException: coverage set class table not 
yet supported
2020-12-03 13:00:58,394 |jsse-nio-8443-exec-4 |FOUserAgent                   
|W| Unable to load font file: file:/C:/WINDOWS/FONTS/teamviewer9.otf. Reason: 
java.lang.RuntimeException: The font file:/C:/WINDOWS/FONTS/teamviewer9.otf is 
not embeddable due to a licensing restriction.
2020-12-03 13:01:01,086 |http-nio-8080-exec-1 |ControlServlet                
|T| [[[qrcode(Domain:http://localhost)] Request Begun, encoding=[UTF-8]- 
total:0.0,since last(Begin):0.0]]
2020-12-03 13:01:01,139 |http-nio-8080-exec-1 |ConfigXMLReader               
|I| controller loaded: 0.0s, 50 requests, 34 views in 
file:/C:/ofbiz/plugins/example/webapp/example/WEB-INF/controller.xml
2020-12-03 13:01:01,170 |http-nio-8080-exec-1 |ConfigXMLReader               
|I| controller loaded: 0.0s, 48 requests, 22 views in 
file:/C:/ofbiz/framework/common/webcommon/WEB-INF/common-controller.xml
2020-12-03 13:01:01,201 |http-nio-8080-exec-1 |ConfigXMLReader               
|I| controller loaded: 0.0s, 0 requests, 0 views in 
file:/C:/ofbiz/framework/common/webcommon/WEB-INF/handlers-controller.xml
2020-12-03 13:01:01,224 |http-nio-8080-exec-1 |ConfigXMLReader               
|I| controller loaded: 0.0s, 26 requests, 10 views in 
file:/C:/ofbiz/framework/common/webcommon/WEB-INF/portal-controller.xml
2020-12-03 13:01:01,270 |http-nio-8080-exec-1 |ConfigXMLReader               
|I| controller loaded: 0.0s, 2 requests, 2 views in 
file:/C:/ofbiz/plugins/example/widget/example/ExampleCompoundWidgets.xml
2020-12-03 13:01:01,270 |http-nio-8080-exec-1 |RequestHandler                
|I| Sending redirect to: 
[https://localhost:8443/example/control/qrcode?message=Example%2011&format=bmp&encoding=UTF-8&verifyOutput=true&logoImageMaxWidth=20&logoImageMaxHeight=20].
  Hidden sessionId by default.
2020-12-03 13:01:01,270 |http-nio-8080-exec-1 |ServerHitBin                  
|I| Visit delegatorName=default, ServerHitBin delegatorName=default
2020-12-03 13:01:01,286 |http-nio-8080-exec-1 |ControlServlet                
|T| [[[qrcode(Domain:http://localhost)] Request Done- total:0.184,since 
last([qrcode(Domain:ht...):0.184]]
2020-12-03 13:01:01,386 |jsse-nio-8443-exec-4 |ScreenFopViewHandler          
|E| Unable to transform FO file: org.apache.fop.apps.FOPException
java.lang.reflect.UndeclaredThrowableException; Screen XSL:FO text was:
<?xml version="1.0" encoding="UTF-8"?>



<!-- Begin Template component://example/template/reports/BarCode.fo.ftl -->

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>

  <fo:layout-master-set>
    <fo:simple-page-master master-name="main" page-height="4in" page-width="8in"
        margin-top="0.5in" margin-bottom="0.25in" margin-left="0.25in" 
margin-right="0.25in">
      <fo:region-body margin-top="0in"/>
      <fo:region-before extent="0in"/>
      <fo:region-after extent="0in"/>
    </fo:simple-page-master>
  </fo:layout-master-set>

  <fo:page-sequence master-reference="main">
    <fo:flow flow-name="xsl-region-body" font-family="Helvetica">
      <fo:block text-align="center">
        Example 11
      </fo:block>
      <fo:block text-align="center">
        <fo:instream-foreign-object>
          <barcode:barcode xmlns:barcode="http://barcode4j.krysalis.org/ns";
              message="EX11">
            <barcode:code39>
              <barcode:height>0.75in</barcode:height>
              <barcode:module-width>.375mm</barcode:module-width>
            </barcode:code39>
            <barcode:human-readable>
              <barcode:placement>bottom</barcode:placement>
              <barcode:font-name>Helvetica</barcode:font-name>
              <barcode:font-size>18pt</barcode:font-size>
              <barcode:display-start-stop>false</barcode:display-start-stop>
              <barcode:display-checksum>false</barcode:display-checksum>
            </barcode:human-readable>
          </barcode:barcode>
        </fo:instream-foreign-object>
      </fo:block>
      <fo:block>
        <fo:leader/>
      </fo:block>
      <fo:block text-align="center">
        <fo:external-graphic
            
src="/example/control/qrcode;jsessionid=E842AAB15A21B6B90D3B9DFB84B904FB.jvm1?message=Example%2011&amp;format=bmp&amp;encoding=UTF-8&amp;verifyOutput=true&amp;logoImageMaxWidth=20&amp;logoImageMaxHeight=20"
            overflow="hidden" height="1.5in" content-height="scale-to-fit"/>
      </fo:block>
    </fo:flow>
  </fo:page-sequence>
</fo:root>
<!-- End Template component://example/template/reports/BarCode.fo.ftl -->

2020-12-03 13:01:01,402 |jsse-nio-8443-exec-4 |ScreenFactory                 
|I| Got 27 screens in 0.016s from: 
file:/C:/ofbiz/framework/common/widget/CommonScreens.xml
2020-12-03 13:01:01,487 |jsse-nio-8443-exec-4 |ScreenFactory                 
|I| Got 26 screens in 0.0s from: 
file:/C:/ofbiz/themes/common/widget/CommonScreens.xml
2020-12-03 13:01:01,502 |jsse-nio-8443-exec-4 |ScreenFactory                 
|I| Got 8 screens in 0.015s from: 
file:/C:/ofbiz/plugins/example/widget/example/CommonScreens.xml
2020-12-03 13:01:01,518 |jsse-nio-8443-exec-4 |ScreenFactory                 
|I| Got 1 screens in 0.016s from: 
file:/C:/ofbiz/applications/commonext/widget/CommonScreens.xml
2020-12-03 13:01:01,556 |jsse-nio-8443-exec-4 |ServiceDispatcher             
|T| Sync service [example/getLastSystemInfoNote] finished in [16] milliseconds
2020-12-03 13:01:01,587 |jsse-nio-8443-exec-4 |ServerHitBin                  
|I| Visit delegatorName=default, ServerHitBin delegatorName=default
2020-12-03 13:01:01,587 |jsse-nio-8443-exec-4 |ControlServlet                
|T| [[[ExampleReportPdfBarcode(Domain:https://localhost)] Request Done- 
total:22.793,since last([ExampleReportPdf...):22.793]]
2020-12-03 13:01:01,921 |jsse-nio-8443-exec-7 |ControlServlet                
|T| [[[setLocaleFromBrowser(Domain:https://localhost)] Request Begun, 
encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]
2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7 |ServiceDispatcher             
|T| Sync service [example/setLocaleFromBrowser] finished in [32] milliseconds
2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7 |RequestHandler                
|I| Ran Event [service:#setLocaleFromBrowser] from [request], result is 
[success]
2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7 |RequestHandler                
|I| [RequestHandler.doRequest]: Response is a chained request. Hidden sessionId 
by default.
2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7 |RequestHandler                
|I| [RequestHandler]: Chain in place: requestUri=json overrideViewUri=null 
Hidden sessionId by default.
2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7 |RequestHandler                
|I| Ran Event 
[java:org.apache.ofbiz.common.CommonEvents#jsonResponseFromRequestAttributes] 
from [request], result is [success]
2020-12-03 13:01:01,968 |jsse-nio-8443-exec-7 |ServerHitBin                  
|I| Visit delegatorName=default, ServerHitBin delegatorName=default
2020-12-03 13:01:01,968 |jsse-nio-8443-exec-7 |ControlServlet                
|T| [[[setLocaleFromBrowser(Domain:https://localhost)] Request Done- 
total:0.047,since last([setLocaleFromBro...):0.047]]
>



> Jacques Le Roux <jacques.le.r...@les7arts.com> hat am 03.12.2020 08:44 
> geschrieben:
> 
>  
> Hi  Georg,
> 
> Could you please send a little bit more of log?
> Most of the time 10 to 15 lines just before and below the issue helps.
> 
> Jacques
> 
> Le 02/12/2020 à 21:38, Georg Potthast a écrit :
> > That is good news, I was waiting for that!
> >
> > I have trouble with generating Barcode. Using the new demos, when I click 
> > on the Barcode button on the following screen I get a nice PDF with a 
> > barcode:
> > https://demo-trunk.ofbiz.apache.org/example/control/EditExample?exampleId=EX11
> >
> > However, on my local OFBiz installation (17.12.04) I get instead:
> > The Following Errors Occurred:
> > Unable to transform FO file: org.apache.fop.apps.FOPException 
> > java.lang.reflect.UndeclaredThrowableException
> >
> > What can I do to get it to work on my local PC?
> >
> > Georg
> >
> > -----Ursprüngliche Nachricht----- From: Jacques Le Roux
> > Sent: Tuesday, December 1, 2020 12:22 PM
> > To: user@ofbiz.apache.org
> > Subject: Re: Demos shutdown because possible security issues
> >
> > Hi,
> >
> > Good news the demos are back after OFBIZ-12080
> >
> > Enjoy!
> >
> > Jacques
> >
> > Le 11/08/2020 à 12:50, Jacques Le Roux a écrit :
> >> Hi,
> >>
> >> Due to possible security issues the demos have been shutdown.
> >>
> >> These possible security issues are due to the demos data.
> >>
> >> So custom projects should not have to worry.
> >>
> >> We will discuss in dev ML how to restart the demos.
> >>
> >> Thanks for your patience
> >>
> >> Jacques
> >>
> >

Reply via email to