[xsl] How to use a list of fonts?

Subject: [xsl] How to use a list of fonts?
From: Mochnacs Maria <mochnacsacasa@xxxxxxxxx>
Date: Fri, 28 Sep 2001 01:47:06 -0700 (PDT)
Hi everyone!

I have a situation i have been trying to solve for
weeks now. Maybe someone could give me a hint...I
really need it. I am just a beginner with this.


I use Fop-0.20.1 to generate PDF files.

I experience a problem with the font-family property
of the fo:block tag. 

If i list only one font (for example Helvetica) it
works fine. But if i list more font names in order to
have a fallback font as well, i got warning messages
that the font is not known. 

Here is my code snippet and the warning i get:

Sample code:
<fo:block font-family="Helvetica, serif">
   Some text here
</fo:block>

Warning messages given by FOP:
WARNING: defaulted font to any, normal, normal
WARNING: unknown font Helvetica, serif, normal, normal
so defaulted font to any


__________________________________________________
Do You Yahoo!?
Listen to your Yahoo! Mail messages from any phone.
http://phone.yahoo.com

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread