[css3-fonts] new editor's draft of CSS3 Fonts spec

I've posted a new version of the CSS3 Fonts Editor's Draft.
http://dev.w3.org/csswg/css3-fonts/

Changes:

1. Added 'all-small-caps' and 'all-petite-caps'.  When a font lacks
   these   features 'all-small-caps' will simulate small-cap glyphs but
   'all-petite-caps' will not.

2. Added character-transform = [ normal | subscript | superscript | ordinal ]

3. Changed property/value names
   - alt-annotation ==> annotation
   - font-lang-sys ==> font-language-override

4. Changed font-kerning to be just [ normal | none ]

5. Restructured the grammar so that including two or more mutually
   exclusive values in a font-variant rule will result in invalid syntax.
   The grammar rule for font-variant is now the
   mother-of-all-productions, read it and weep.

6. For values with a numeric selector, the number in parentheses is
   now optional, so a value of 'swash' implies the same thing as
   'swash(1)'.  This is convenient for situations where a given feature
   often has only a single alternate.  This does not apply to styleset.

7. After an email discussion with Ken Lunde at Adobe, trimmed
   'traditional-names' and modified 'traditional'/'simplified' to take a
   numeric selector.  These cases are rare but possible.

8. Switched back to "font feature properties" rather than "font rendering
   properties".

Still in progress:

  - Better wording describing OpenType default behavior, including kerning
  - Details on how subscript/superscript/ordinal should be simulated
  - More description for individual values
  - AAT feature settings, where applicable
  - More specific rules for handling font-stretch in font matching alg

Regards,

John Daggett
Mozilla Japan

Received on Friday, 26 March 2010 06:19:06 UTC