W3C home > Mailing lists > Public > www-style@w3.org > September 2010

Re: [css3-fonts] @font-face matching and font-style descriptor

From: John Hudson <tiro@tiro.com>
Date: Tue, 14 Sep 2010 11:22:48 -0700
Message-ID: <4C8FBD78.4050407@tiro.com>
To: John Daggett <jdaggett@mozilla.com>
CC: Brad Kemper <brad.kemper@gmail.com>, "Tab Atkins Jr." <jackalmage@gmail.com>, Sergey Malkin <sergeym@microsoft.com>, Sylvain Galineau <sylvaing@microsoft.com>, www-style@w3.org, www-font <www-font@w3.org>, Thomas Phinney <tphinney@cal.berkeley.edu>
John Daggett wrote:

>> @font-face { 
>>  font-family: MyFont;
>>  src: local(Arial);
>> }
>>
>> @font-face { 
>>  font-family: MyFont;
>>  src: local(Arial);
>>  font-style:italic
>> }
>>
>> @font-face { 
>>  font-family: MyFont;
>>  src: local(Arial);
>>  font-weight:bold;
>> }

> Right, this with an additional bold italic version will completely
> eliminate the possibility of synthetic oblique/bolding. 

To confirm I understand this:

Is this associating all the font-style and font-weight settings with a 
single @font-face font? So no matter what style or weight is spec'd in 
text, the same, 'regular' font is being used?


JH
Received on Tuesday, 14 September 2010 18:23:24 GMT

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