Andreas Delmelle a écrit :
The font shorthand requires at least two components: font-size and font-family.

So it should be either of the two following variants:

font-family="Verdana"
font="10pt Verdana"

See: http://www.w3.org/TR/xsl/#font (style, weight, variant, line-height are optional; size and family are required)

The reason that you don't see any effect in the output is most likely that the font-family is properly passed to the descendant nodes via inheritance (but I'd have to dive deeper into the related code and some examples to say for sure).
Ha ha... So my XML stanza:

<fo:block font-weight="normal" font-size="8" font-family="Verdana" font="Verdana">

is wrong, and the last attribute font="Verdana" does nothing and probably causes the error message ?



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

Reply via email to