xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jacc...@petrobras.com.br
Subject Re: Arial Font
Date Wed, 04 Jun 2003 11:27:28 GMT

Clay Leeds <cleeds@medata.com>
>BTW, I doubt case matters in here.

It should. According to the FO and CSS2 specs, font names are just strings
(normalised if not quoted), and should match exactly. In FO, particularly,
this should matter, for XML is case-sensitive and font names are explicitly
not limited to latin characters. Remember conversion between lowercase and
uppercase is language-dependent.
However, the CSS2 spec itself is misleading: it specifies generic names in
lowercase ("SERIF" will not work), but the examples for font-family shows
all-lowercase names. I suspect this has something to do with they beeing
OS-bound in some implementations.
I prefer to consider them case sensitive for safety and consistency. Case
insensitivity is a bad inheritance from HTML.
[]s
=============================================
Marcelo Jaccoud Amaral
mailto:jaccoud [at] petrobras.com.br
voice: +55 21 2534-3485
fax: +55 21 2534-1809
=============================================
There are only 10 kinds of people in the world: those who understand binary
and those who don't.






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


Mime
View raw message