W3C home > Mailing lists > Public > www-style@w3.org > May 2013

[css3-fonts] Turning off font features

From: fantasai <fantasai.lists@inkedblade.net>
Date: Sat, 18 May 2013 20:34:53 -0700
Message-ID: <5198485D.7090202@inkedblade.net>
To: "www-style@w3.org" <www-style@w3.org>
http://dev.w3.org/csswg/css-fonts/#font-rend-desc

   # These descriptors define settings that apply when the font
   # defined by an @font-face rule is rendered.

Suggest s/settings/default settings/ or somesuch, since these are
the base settings that CSS properties end up tweaking.

A related issue is, since the property 'font-variant' overrides
the descriptor 'font-variant',
   elem { font-variant: normal; }
cannot reset features flagged via the descriptor; as the initial
value, it has to leave them untouched. What do you do if you want
to turn something off? E.g.

   @font-face {
     font-family: xyz; src: ...;
     font-variant: historical-forms;
   }
   code {
     font-variant: /* how to turn off historical forms? */
   }

Or is this not a concern?

~fantasai
Received on Sunday, 19 May 2013 03:35:26 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:30 UTC