Skip to content

Commit 845e3db

Browse files
author
John Daggett
committed
more tweaks to font-size-adjust
1 parent 5ec3c8a commit 845e3db

1 file changed

Lines changed: 28 additions & 25 deletions

File tree

css3-fonts/Fonts.html

Lines changed: 28 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -153,15 +153,17 @@ <h2 class="no-num no-toc" id=longstatus>Editor's Draft 12 June 2008</h2>
153153

154154
<li>clean up font-weight wording, better definition of bolder/lighter
155155

156-
<li>specifics of SVG font reference handling
156+
<li>same for wider/narrower
157157

158-
<li>why does cvs mangle Tantek's name?
158+
<li>specifics of SVG font reference handling
159159

160160
<li>finish examples for unicode-range
161161

162-
<li>font-size, font-size-adjust descriptions
162+
<li>italic/oblique substitution issue
163+
164+
<li>font-size
163165

164-
<li>font-variant
166+
<li>move font-variant into font rendering section
165167

166168
<li>font shorthand
167169

@@ -1356,21 +1358,21 @@ <h3 id=relative><span class=secno>3.7 </span>Relative sizing: the &lsquo;<a
13561358
<td>as specified
13571359
</table>
13581360

1359-
<p>For any given font size, the apparent size and legibility often varies
1360-
due to stylistic differences. For scripts such as Latin or Cyrillic that
1361-
distinguish between upper and lowercase letters, at small sizes one factor
1362-
that strongly determines legibility is the relative height of lowercase
1363-
letters compared to their uppercase counterparts. This is commonly
1364-
referred to as the <a class=index-def href="#aspect0" id=aspect
1365-
title="aspect value"><dfn id=aspect0>aspect value</dfn></a>. Precisely
1366-
defined, it is equal to the x-height of a font divided by the font size.
1367-
1368-
<p>In cases where font fallback occurs, fallback fonts may not share the
1369-
same aspect ratio as the desired font family and will thus appear less
1370-
readable. The font-size-adjust property is used to attempt to preserve the
1361+
<p>For any given font size, the apparent size and legibility of text varies
1362+
across fonts. For scripts such as Latin or Cyrillic that distinguish
1363+
between upper and lowercase letters, the relative height of lowercase
1364+
letters compared to their uppercase counterparts is a determining factor
1365+
of legibility. This is commonly referred to as the <a class=index-def
1366+
href="#aspect0" id=aspect title="aspect value"><dfn id=aspect0>aspect
1367+
value</dfn></a>. Precisely defined, it is equal to the x-height of a font
1368+
divided by the font size.
1369+
1370+
<p>In situations where font fallback occurs, fallback fonts may not share
1371+
the same aspect ratio as the desired font family and will thus appear less
1372+
readable. The font-size-adjust property is a way to preserve the
13711373
readability of text when font fallback occurs. It does this by adjusting
1372-
the font-size so that the x-height of the fallback font matches the
1373-
x-height of the intended font.
1374+
the font-size so that the x-height is the same irregardless of the font
1375+
used.
13741376

13751377
<div class=example>
13761378
<p>The style defined below defines Verdana as the desired font family, but
@@ -1430,11 +1432,11 @@ <h3 id=relative><span class=secno>3.7 </span>Relative sizing: the &lsquo;<a
14301432

14311433
<p>This value applies to any font that is selected but in typical usage
14321434
it should be based on the aspect value of the first font in the
1433-
font-family list. If this is specified accurately, the (a/a') term in
1434-
the formula above is effectively 1 for the first font and no adjustment
1435-
occurs. If the value is specified inaccurately, text rendered using the
1436-
first font in the family list will display differently in older user
1437-
agents that don't support font-size-adjust.</p>
1435+
font-family list. If this is specified accurately, the <tt>(a/a')</tt>
1436+
term in the formula above is effectively 1 for the first font and no
1437+
adjustment occurs. If the value is specified inaccurately, text rendered
1438+
using the first font in the family list will display differently in
1439+
older user agents that don't support font-size-adjust.</p>
14381440
</dl>
14391441

14401442
<p>Authors can calculate the aspect value for a given font by comparing
@@ -1473,6 +1475,9 @@ <h3 id=relative><span class=secno>3.7 </span>Relative sizing: the &lsquo;<a
14731475
aspect value of this font is something less than 0.5. Adjust the value
14741476
until the boxes align.</p>
14751477
</div>
1478+
1479+
<p class=issue>Hmm, so what should happen for scripts with no
1480+
upper/lowercase distinction (e.g. CJK, Arabic, Hebrew)?</p>
14761481
<!-- prop: font -->
14771482

14781483
<h3 id=shorthand><span class=secno>3.8 </span>Shorthand font property: the
@@ -1647,8 +1652,6 @@ <h3 id=shorthand><span class=secno>3.8 </span>Shorthand font property: the
16471652
shorthand property.</p>
16481653
</div>
16491654

1650-
<p class=issue>These are only supported by IE. Eliminate?
1651-
16521655
<p>The following values refer to <a name=x27><span class=index-def
16531656
id=system title="system fonts">system fonts</span></a>:
16541657

0 commit comments

Comments
 (0)