You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by tb...@gmx.de on 2006/05/15 13:54:30 UTC

Fonts in Fop9.92beta

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

Thanks for help
TBL

-- 
Mobile Internet - E-Mail und Internet immer und überall!
GMX zum Mitnehmen: http://www.gmx.net/de/go/pocketweb


-- 
Mobile Internet - E-Mail und Internet immer und überall!
GMX zum Mitnehmen: http://www.gmx.net/de/go/pocketweb

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: Fonts in Fop9.92beta

Posted by tb...@gmx.de.
Hi,
I found the mistake.
I used an old userconfig.xml (fop 0.20.5), that doesn't work.
So, sorry for wasting your time.

Now everything is fine.

Thanks for help
TBL

> --- Ursprüngliche Nachricht ---
> Von: tblhh@gmx.de
> An: fop-users@xmlgraphics.apache.org
> Betreff: Re: Fonts in Fop9.92beta
> Datum: Mon, 15 May 2006 15:01:34 +0200 (MEST)
> 
> 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 <de...@jeremias-maerki.ch>
> > An: fop-users@xmlgraphics.apache.org
> > 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: fop-users-unsubscribe@xmlgraphics.apache.org
> > For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> > 
> 
> -- 
> Mobile Internet - E-Mail und Internet immer und überall!
> GMX zum Mitnehmen: http://www.gmx.net/de/go/pocketweb
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> 

-- 
GMX Produkte empfehlen und ganz einfach Geld verdienen!
Satte Provisionen für GMX Partner: http://www.gmx.net/de/go/partner

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: Fonts in Fop9.92beta

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
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 <de...@jeremias-maerki.ch>
> > An: fop-users@xmlgraphics.apache.org
> > 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: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: Fonts in Fop9.92beta

Posted by tb...@gmx.de.
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 <de...@jeremias-maerki.ch>
> An: fop-users@xmlgraphics.apache.org
> 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: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> 

-- 
Mobile Internet - E-Mail und Internet immer und überall!
GMX zum Mitnehmen: http://www.gmx.net/de/go/pocketweb

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: Fonts in Fop9.92beta

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
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: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org