W3C home > Mailing lists > Public > www-style@w3.org > January 2009

Re: [css3-fonts] font descriptor default values

From: Michael Day <mikeday@yeslogic.com>
Date: Thu, 22 Jan 2009 18:31:57 +1100
Message-ID: <497820ED.10302@yeslogic.com>
To: John Daggett <jdaggett@mozilla.com>
CC: www-style <www-style@w3.org>

Hi John,

> So using local() in Prince somehow maps a single @font-face rule to
> multiple faces but using url() only maps to a single face?  What happens
> when you mix the two?

You would only mix the two if the url() did not have any variants, which 
is rare.

Prince is not doing any special here, it is simply refraining from 
munging the family name string. If you ask for bold "Times New Roman", 
then Prince will get all the "Times New Roman" fonts and choose the bold 
one, it won't go looking for "Times New Roman Bold" (or any of the 
synonyms for "Bold").

Cheers,

Michael

-- 
Print XML with Prince!
http://www.princexml.com
Received on Thursday, 22 January 2009 07:32:49 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:15 GMT