xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Theresa Jayne Forster" <ther...@inbrand.co.uk>
Subject Problem with fop embedding fonts on linux
Date Tue, 24 Jan 2012 13:24:23 GMT
Ok, I have been developing on Windows 7, all works fine on the embedding

But no luck with Linux I get the following error on the first entry in my
fopconfig.xml file 

I have changed it and still no luck, I have checked the case of the path and
file name and it matches 

The entry in the fopconfig is as follows and works on Windows fine. Any
suggestions

 

                                <font embed-url="file:///Fonts/FRUTB___.TTF"
kerning="yes" >

                                  <font-triplet name="Frutiger"
style="normal" weight="200"/>

                                </font>                                 

 

 

org.apache.fop.apps.FOPException: Failed to resolve font with embed-url
'file:///Fonts/FRUTB___.TTF'

        at org.apache.fop.util.LogUtil.handleError(LogUtil.java:38)

        at
org.apache.fop.fonts.FontInfoConfigurator.getFontInfo(FontInfoConfigurator.j
ava:212)

        at
org.apache.fop.fonts.FontInfoConfigurator.addFonts(FontInfoConfigurator.java
:168)

        at
org.apache.fop.fonts.FontInfoConfigurator.configure(FontInfoConfigurator.jav
a:100)

        at
org.apache.fop.render.PrintRendererConfigurator.buildFontList(PrintRendererC
onfigurator.java:106)

        at
org.apache.fop.render.PrintRendererConfigurator.setupFontInfo(PrintRendererC
onfigurator.java:129)

        at
org.apache.fop.render.intermediate.IFUtil.setupFonts(IFUtil.java:165)

        at
org.apache.fop.render.intermediate.IFRenderer.setupFontInfo(IFRenderer.java:
181)

        at
org.apache.fop.area.RenderPagesModel.<init>(RenderPagesModel.java:73)

        at
org.apache.fop.area.AreaTreeHandler.setupModel(AreaTreeHandler.java:130)

        at
org.apache.fop.area.AreaTreeHandler.<init>(AreaTreeHandler.java:102)

        at
org.apache.fop.render.RendererFactory.createFOEventHandler(RendererFactory.j
ava:359)

        at org.apache.fop.fo.FOTreeBuilder.<init>(FOTreeBuilder.java:105)

        at org.apache.fop.apps.Fop.createDefaultHandler(Fop.java:101)

       at org.apache.fop.apps.Fop.<init>(Fop.java:79)

        at org.apache.fop.apps.FopFactory.newFop(FopFactory.java:271)

        at
uk.co.inbrand.fopengine.FopEngine.generatePDFromFO(FopEngine.java:192)

        at uk.co.inbrand.fopengine.FopProcessor.run(FopProcessor.java:51)

        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:11
10)

        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:6
03)

        at java.lang.Thread.run(Thread.java:679)

 

Kindest regards

 


Theresa Forster

Senior Software Developer



 


Mime
View raw message