Skip to content

Commit d845de7

Browse files
author
John Daggett
committed
[css3-fonts] define first available font
1 parent 935cc2a commit d845de7

1 file changed

Lines changed: 21 additions & 2 deletions

File tree

css-fonts/Fonts.html

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1653,6 +1653,13 @@ <h3 id=font-size-adjust-prop><span class=secno>3.6 </span>Relative sizing:
16531653
id=aspect-value>aspect value</dfn></a>. Precisely defined, it is equal to
16541654
the x-height of a font divided by the font size.
16551655

1656+
<p class=issue>How does the use of ‘<a
1657+
href="#propdef-font-size-adjust"><code
1658+
class=property>font-size-adjust</code></a>’ affect <a
1659+
href="http://www.w3.org/TR/css3-values/#font-relative-lengths"><em>font-relative</em></a>
1660+
unit sizes? Are all units affected the same way, i.e. including the
1661+
definition of ‘<code class=property>em</code>’?
1662+
16561663
<p>In situations where font fallback occurs, fallback fonts may not share
16571664
the same aspect ratio as the desired font family and will thus appear less
16581665
readable. The font-size-adjust property is a way to preserve the
@@ -3012,8 +3019,8 @@ <h3 id=font-face-loading><span class=secno>4.8 </span>Font loading
30123019
fallback font. In cases where the font download fails user agents must
30133020
display text, simply leaving transparent text is considered non-conformant
30143021
behavior. Authors are advised to use fallback fonts in their font lists
3015-
that closely match the vertical metrics of the downloadable fonts to avoid
3016-
large page reflows where possible.
3022+
that closely match the metrics of the downloadable fonts to avoid large
3023+
page reflows where possible.
30173024

30183025
<h3 id=same-origin-restriction><span class=secno>4.9 </span>Same-origin
30193026
restriction for fonts</h3>
@@ -3348,6 +3355,15 @@ <h3 id=font-style-matching><span class=secno>5.2 </span>Matching font
33483355
consistent as possible across user agents, given an identical set of
33493356
available fonts and rendering technology.
33503357

3358+
<p>The <dfn id=first-available-font>first available font</dfn>, used in the
3359+
definition of <a
3360+
href="http://www.w3.org/TR/css3-values/#font-relative-lengths"><em>font-relative
3361+
lengths</em></a> such as ‘<code class=property>ex</code>’ and ‘<code
3362+
class=property>ch</code>’, is defined to be the first available font
3363+
that would match any character given font families in the ‘<code
3364+
class=property>font-family</code>’ list (or a user agent's default font
3365+
if none are available).
3366+
33513367
<h3 id=cluster-matching><span class=secno>5.3 </span>Cluster matching</h3>
33523368

33533369
<p>When text contains characters such as combining marks, ideally the base
@@ -6472,6 +6488,9 @@ <h2 class=no-num id=index>Index</h2>
64726488
<li>feature_value_definition, <a href="#featurevaluedefinition"
64736489
title="feature_value_definition"><strong>6.9.1</strong></a>
64746490

6491+
<li>first available font, <a href="#first-available-font" title="first
6492+
available font"><strong>5.2</strong></a>
6493+
64756494
<li>font, <a href="#propdef-font" title=font><strong>3.7</strong></a>
64766495

64776496
<li>font specific, <a href="#font-specific" title="font

0 commit comments

Comments
 (0)