This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

How to use a list of fonts?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]