[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [docbook-apps] Unable to add Garamond font in PDF, characters displayed as '#'
> -----Original Message----- > From: Xuan Ngo > > fop.bat version = 0.91Beta > userconfig.xml: > ============= > <?xml version="1.0" encoding="UTF-8"?> > <configuration> > <fonts> > <font > metrics-file="file:///C:/MyDocBook/Dev/fonts/gara.xml" kerning="yes" > embed-file="file://c:/Windows/fonts/GARA.TTF"> > <font-triplet name="Garamond" style="normal" > weight="normal"/> > </font> > <font > metrics-file="file:///C:/MyDocBook/Dev/fonts/garabd.xml" > kerning="yes" > embed-file="file://c:/Windows/fonts/GARABD.TTF"> > <font-triplet name="Garamond" style="normal" > weight="bold"/> > </font> > <font > metrics-file="file:///C:/MyDocBook/Dev/fonts/garait.xml" > kerning="yes" > embed-file="file://c:/Windows/fonts/GARAIT.TTF"> > <font-triplet name="Garamond" style="italic" > weight="normal"/> > </font> > </fonts> > </configuration> You need to use the new configuration file format for FOP 0.91; see http://xmlgraphics.apache.org/fop/0.91/configuration.html. And where it says 'file://c:/', change it to 'file:///c:/'. /MJ
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]