All Files are 777 as are all the folders -rwxrwxrwx 1 theresa theresa 38032 2011-09-02 09:14 FRUTBI__.TTF -rwxrwxrwx 1 theresa theresa 38216 2011-09-02 09:14 FRUTBLI_.TTF -rwxrwxrwx 1 theresa theresa 37880 2011-09-02 09:14 FRUTBL__.TTF -rwxrwxrwx 1 theresa theresa 38164 2011-09-02 09:14 FRUTB___.TTF -rwxrwxrwx 1 theresa theresa 38484 2011-09-02 09:14 FRUTLI__.TTF -rwxrwxrwx 1 theresa theresa 38516 2011-09-02 09:14 FRUTL___.TTF
Kindest regards Theresa Forster Senior Software Developer -----Original Message----- From: Luis Bernardo [mailto:[email protected]] Sent: 24 January 2012 13:41 To: [email protected] Subject: Re: Problem with fop embedding fonts on linux 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.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 > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
