---------------------------------------- > Date: Mon, 28 Feb 2011 15:59:22 +0000 > Subject: Re: FreeSerif Font not working > From: [email protected] > To: [email protected] > > Hi sorry guys, ignore my last email, a clear oversight on my part. > Graeme, the metrics-url aren't necessary any more, they're deprecated. > Remove that from the fop.xconf and it should work (with the test file > you provided). Sometimes the simple things are easy to over look.
No worries, we have all been there, I suppose someone should edit the documentation: http://xmlgraphics.apache.org/fop/1.0/fonts.html Anyway it now correctly picks up the font with the following change: <renderer mime="application/postscript"> <fonts> <!-- register a particular font --> <font kerning="yes" embed-url="fonts/FreeSerif.pfb" encoding-mode="single-byte"> <font-triplet name="FreeSerif" style="normal" weight="normal"/> </font> </fonts> </renderer> However it still is unable to find the blackboard bold z glyph: [WARN ] Glyph "ℤ" (0x2124) not available in font "FreeSerif". Are you saying you are able to generate it fine at your end? Thanks
