On 02/27/2011 08:49 PM, Graeme Kidd wrote: > Hi, > > I am having some troubles getting a Type 1 version of the FreeSerif[1] font > configured for FOP. I am needing a Unicode font that is in Type 1 so that I > can set the output to Postscript. I have attached the PFB, PFM and Metric XML > file as well as the following FO and Config file: > >
Do characters from the basic alphabet show up? There's no guarantee that a given font has all the gliffs you desire. rjs > ----- FreeSerifTest.fo ----- > <?xml version="1.0" encoding="UTF-8"?> > <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" > font-family="FreeSerif" font-weight="normal" font-style="normal"> > <fo:layout-master-set> > <fo:simple-page-master master-name="my-page"> > <fo:region-body margin="1in"/> > </fo:simple-page-master> > </fo:layout-master-set> > > <fo:page-sequence master-reference="my-page"> > <fo:flow flow-name="xsl-region-body"> > <fo:block font-family="FreeSerif" font-weight="normal" > font-style="normal"> > Lj lj NJ Nj nj Ǎ ǎ Ǐ ǐ Ǒ > ǒ Ǔ ǔ Ǖ ǖ Ǘ ǘ Ǚ ǚ Ǜ ǜ ǝ Ǟ > ǟ Ǡ ǡ Ǣ ǣ Ǥ ǥ Ǧ ǧ Ǩ > </fo:block> > </fo:flow> > </fo:page-sequence> > </fo:root> > -------------------------- > > -- FreeSerifTest.config -- > <fop version="1.0"> > > <!-- Base URL for resolving relative URLs --> > > <base>./</base> > > <renderers> > > <renderer mime="application/postscript"> > > <fonts> > > <!-- register a particular font --> > > <font metrics-url="fonts/FreeSerif.xml" kerning="yes" > > embed-url="fonts/FreeSerif.pfb" > > encoding-mode="single-byte"> > > <font-triplet name="FreeSerif" style="normal" > weight="normal"/> > > </font> > > > > <!-- register all the fonts found in a directory > > <directory>C:\FOP_Fonts</directory> --> > > <!-- automatically detect operating system installed fonts > > <auto-detect/> --> > > </fonts> > > </renderer> > > </render > -------------------------- > > ---- FreeSerifTest.log --- > [WARN ] Glyph "Lj" (0x1c8, Lj) not available in font "FreeSerif". > [WARN ] Glyph "lj" (0x1c9, lj) not available in font "FreeSerif". > [WARN ] Glyph "NJ" (0x1ca, NJ) not available in font "FreeSerif". > [WARN ] Glyph "Nj" (0x1cb, Nj) not available in font "FreeSerif". > [WARN ] Glyph "nj" (0x1cc, nj) not available in font "FreeSerif". > [WARN ] Glyph "Ǎ" (0x1cd, Acaron) not available in font "FreeSerif". > [WARN ] Glyph "ǎ" (0x1ce, acaron) not available in font "FreeSerif". > [WARN ] Glyph "Ǐ" (0x1cf, Icaron) not available in font "FreeSerif". > -------------------------- > > ---- FreeSerifTest.pdf --- > "# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #" > -------------------------- > > Does anyone have any idea why the FreeSerif font is not working? > > Thanks > > [1] http://www.gnu.org/software/freefont/ > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected]
