W3C home > Mailing lists > Public > www-style@w3.org > March 2012

Re: [CSS3-fonts] Proposal: Allow a font name as value for font-size-adjust

From: André Luís <me@andr3.net>
Date: Mon, 5 Mar 2012 17:03:39 +0000
Message-Id: <5574E0D7-F3F4-4901-AFCE-1AD4E1106CB2@andr3.net>
To: www-style@w3.org

On Mar 5, 2012, at 4:53 PM, Markus Ernst wrote:

> Am 05.03.2012 17:42 schrieb André Luís:
>> 
>> On Mar 5, 2012, at 2:27 PM, Markus Ernst wrote:
>> 
>>> Am 05.03.2012 15:12 schrieb François REMY:
>>>> How do you want to apply something like that (font-size-adjust: "My
>>>> fancy font") if your computer don't have the My fancy font
>>>> installed/downloaded? This is impossible.
>>> 
>>> Yes. As I wrote in my suggestion, if the font specified is not known to the system, the font-size-adjust property will be ignored.
>>> 
>>> I am sure it is much easier to teach authors to use a well-supported font such as Arial as a reference, than to teach them how to find out the appropriate value for the specific aspect ratio of their first-choice font.
>> 
>> 
>> How about following the pattern of multiple-backgrounds and be able to specify one font-size-adjust for each font in the font-stack?
>> 
>> font-family: font1, font2, font3, sans-serif;
>> font-size-adjust: 0.5, 0.4, 0.7, 0.5;
>> 
>> font1 = 0.5
>> font2 = 0.4
>> font3 = 0.7
>> sans-serif = 0.5
> 
> This would actually be desirable for font-size, not font-size-adjust. Like this, authors could set font sizes separately for all fonts specified in font-family, which would be an alternative to using font-size-adjust.

Oh... of course. :) Indeed, that makes more sense. I was confused about font-size-adjust.

Thanks for clearing it up,
--
André Luís
http://id.andr3.net
Received on Monday, 5 March 2012 17:04:14 GMT

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