If you checked the case (uppercase is different from lowercase) and
/Fonts really exists then make sure it is also readable (and the fonts
inside too) and searchable (executable, i.e., chmod +x).

On Tue, Jan 24, 2012 at 1:24 PM, Theresa Jayne Forster
<[email protected]> wrote:
> 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.java:212)
>
>         at
> org.apache.fop.fonts.FontInfoConfigurator.addFonts(FontInfoConfigurator.java:168)
>
>         at
> org.apache.fop.fonts.FontInfoConfigurator.configure(FontInfoConfigurator.java:100)
>
>         at
> org.apache.fop.render.PrintRendererConfigurator.buildFontList(PrintRendererConfigurator.java:106)
>
>         at
> org.apache.fop.render.PrintRendererConfigurator.setupFontInfo(PrintRendererConfigurator.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.java: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:1110)
>
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>
>         at java.lang.Thread.run(Thread.java:679)
>
>
>
> Kindest regards
>
>
>
>
> Theresa Forster
>
> Senior Software Developer
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to