@@ -2648,12 +2648,62 @@ Font matching examples</h3>
26482648<h2 id="font-rend-props">
26492649Font Feature Properties</h2>
26502650
2651+ Modern font technologies support a variety of advanced typographic
2652+ and language-specific font features. Using these features, a single
2653+ font can provide glyphs for a wide range of ligatures, contextual and
2654+ stylistic alternates, tabular and old-style figures, small capitals,
2655+ automatic fractions, swashes, and alternates specific to a given
2656+ language. To allow authors control over these font capabilities, the
2657+ 'font-variant' property has been expanded for CSS3. It now functions as
2658+ a shorthand for a set of properties that provide control over
2659+ stylistic font features.
2660+
26512661Issue: Import these sections from level 3, once it goes to Proposed Rec;
26522662stubs added as link targets for font tests moved to Level 4
26532663
26542664<h3 id="glyph-selection-positioning">
26552665Glyph selection and positioning</h3>
26562666
2667+ This section is non-normative
2668+
2669+ Simple fonts used for displaying Latin text use a very basic
2670+ processing model. Fonts contain a <em> character map</em> which maps each
2671+ character to a glyph for that character. Glyphs for subsequent
2672+ characters are simply placed one after the other along a run of text. Modern font
2673+ formats such as OpenType and AAT (Apple Advanced Typography) use a
2674+ richer processing model. The glyph for a given character can be
2675+ chosen and positioned not just based on the codepoint of the character
2676+ itself, but also on adjacent characters as well as the language,
2677+ script, and features enabled for the text. Font features may be
2678+ required for specific scripts, or recommended as enabled by default or
2679+ they might be stylistic features meant to be used under author
2680+ control.
2681+
2682+ For a good visual overview of these features, see the
2683+ [[OPENTYPE-FONT-GUIDE]] . For a detailed description of glyph processing for
2684+ OpenType fonts, see [[WINDOWS-GLYPH-PROC]] .
2685+
2686+ Stylistic font features can be classified into two broad
2687+ categories: ones that affect the harmonization of glyph shapes with the
2688+ surrounding context, such as kerning and ligature features, and ones
2689+ such as the small-caps, subscript/superscript and alternate features
2690+ that affect shape selection.
2691+
2692+ The subproperties of 'font-variant' listed below are used to control
2693+ these stylistic font features. They do not control features that are
2694+ required for displaying certain scripts, such as the OpenType features
2695+ used when displaying Arabic or Indic language text. They affect glyph
2696+ selection and positioning, but do not affect font selection as
2697+ described in the font matching section (except in cases required for
2698+ compatibility with CSS 2.1).
2699+
2700+ To assure consistent behavior across user agents, the equivalent
2701+ OpenType property settings are listed for individual properties and
2702+ are normative. When using other font formats these
2703+ should be used as a guideline to map CSS font feature property values
2704+ to specific font features.
2705+
2706+
26572707<h3 id="language-specific-support">
26582708Language-specific display</h3>
26592709
0 commit comments