Hmm, in that case check if there's any other log output from FOP
indicating any problems (like a font that was not properly loaded) and
show us your full userconfig.xml so we can see if you've placed the
<fonts> tag in the right place.

On 15.05.2006 15:01:34 tblhh wrote:
> Hi,
> 
> I call Fop like this
> 
> C:\fop-0.92beta>fop -c c:\fop-0.92beta\conf\userconfig.xml -xml
> bsp2\Test.xml -xsl bsp2\SH_Stylesheet.xsl -pdf bsp2\Modul1.pdf
> 
> 
> 
> > --- Ursprüngliche Nachricht ---
> > Von: Jeremias Maerki <[EMAIL PROTECTED]>
> > An: [email protected]
> > Betreff: Re: Fonts in Fop9.92beta
> > Datum: Mon, 15 May 2006 14:34:47 +0200
> > 
> > And you told FOP to use the userconfig.xml? The stuff below looks good.
> > The fact that you're specifying a bold font but only defined the normal
> > font weight shouldn't be a problem here.
> > 
> > On 15.05.2006 13:54:30 tblhh wrote:
> > > Hi,
> > > it's me again, now with subject.
> > > 
> > > I'm using fop 0.92beta and have a problem using my own fonts.
> > > 
> > > I created a metric file and than embedding the following lines as
> > explained
> > > in fonts.pdf
> > > 
> > > a) userconfig.xml:
> > > <fonts>   
> > > <font metrics-url="file:///c:/fonts/arial.xml" kerning="yes"
> > > embed-url="file:///c:/fonts/arial.ttf">
> > > <font-triplet name="arial" style="normal" weight="normal"/>
> > > </font>
> > > </fonts>
> > > 
> > > b) Stylesheet:
> > > <fo:block font-family="arial" font-weight="bold" font-size="16pt"
> > > padding-bottom="14pt" padding-top="0pt" line-height="18pt"
> > > text-align="left">
> > > <xsl:value-of select="." />
> > > </fo:block>
> > > 
> > > FOP answers:
> > > WARNUNG: Font 'arial,normal,400' not found. Substituting with default
> > font.
> > > 15.05.2006 13:42:38 org.apache.fop.fonts.FontInfo notifyFontReplacement



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to