Skip to content

Commit 2500b3a

Browse files
author
John Daggett
committed
[css3-fonts] alter wording based on wg feedback
1 parent 4f6e0a0 commit 2500b3a

1 file changed

Lines changed: 37 additions & 26 deletions

File tree

css3-fonts/Fonts.html

Lines changed: 37 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1255,7 +1255,12 @@ <h3 id=font-style-prop><span class=secno>3.4 </span>Font style: the <a
12551255
always lack italic or oblique faces. Fonts that support a mixture of
12561256
scripts will sometimes omit specific scripts such as Arabic from the set
12571257
of glyphs supported in the italic face. User agents should be careful
1258-
about making character map assumptions across faces.</p>
1258+
about making character map assumptions across faces.
1259+
1260+
<p class=issue>For synthetic italics in vertical runs of Chinese, Japanese,
1261+
or Korean text, is there a need to define explicitly the direction of the
1262+
faux oblique for runs that include a mixture of ideographic and Latin
1263+
text?</p>
12591264
<!-- prop: font-size -->
12601265

12611266
<h3 id=font-size-prop><span class=secno>3.5 </span>Font size: the <a
@@ -2889,14 +2894,16 @@ <h3 id=font-family-casing><span class=secno>5.1 </span>Case sensitivity of
28892894
specified by this algorithm uses the case mappings with status field
28902895
<code class=property>C</code>’ or ‘<code class=property>F</code>
28912896
in the CaseFolding.txt file of the Unicode Character Database.
2892-
Implementors should take care to verify that a given caseless string
2893-
comparison implementation uses this precise algorithm and not assume that
2894-
a given platform string matching routine follows it, as many of these have
2895-
locale-specific behavior or use some level of string normalization.
2896-
2897-
<p>For authors this means that font family names are matched case
2898-
insensitively, whether or not those names exist in a platform font or in
2899-
the <code>@font-face</code> rules contained in a stylesheet. Authors
2897+
2898+
<p class=note> Implementors should take care to verify that a given
2899+
caseless string comparison implementation uses this precise algorithm and
2900+
not assume that a given platform string matching routine follows it, as
2901+
many of these have locale-specific behavior or use some level of string
2902+
normalization.
2903+
2904+
<p class=note> For authors this means that font family names are matched
2905+
case insensitively, whether or not those names exist in a platform font or
2906+
in the <code>@font-face</code> rules contained in a stylesheet. Authors
29002907
should take care to normalize the names they use when using combining
29012908
diacritics, since names containing combining diacritics won't match
29022909
equivalent names that use precomposed characters. For example, a family
@@ -3275,23 +3282,25 @@ <h3 id=language-specific-support><span class=secno>6.2
32753282
<div class=featex><img alt="language specific forms, french"
32763283
src=locl-3.png></div>
32773284

3278-
<p>Users agents are required to infer the OpenType language system from the
3279-
value of the ‘<code class=property>lang</code>’ attribute and use that
3280-
when selecting and positioning glyphs using an OpenType font. If the
3281-
<code class=property>lang</code>’ attribute is not defined, the
3282-
default OpenType language system must be used.
3283-
3284-
<p>In some cases it may be necessary to explicitly declare the OpenType
3285-
language to be used, for example when displaying text in a given language
3286-
that uses the typographic conventions of another language, or when the
3287-
font does not explicitly support a given language but supports a language
3288-
that shares common typographic conventions. The ‘<a
3285+
<p>If the content language of the element is known, according to the rules
3286+
of the <a
3287+
href="http://www.w3.org/TR/CSS21/conform.html#doclanguage">document
3288+
language</a>, user agents are required to infer the OpenType language
3289+
system from the content language and use that when selecting and
3290+
positioning glyphs using an OpenType font.
3291+
3292+
<p>For OpenType fonts, in some cases it may be necessary to explicitly
3293+
declare the OpenType language to be used, for example when displaying text
3294+
in a given language that uses the typographic conventions of another
3295+
language or when the font does not explicitly support a given language but
3296+
supports a language that shares common typographic conventions. The ‘<a
32893297
href="#propdef-font-language-override"><code
32903298
class=property>font-language-override</code></a>’ property is used for
32913299
this purpose.
32923300

32933301
<p class=issue>Should user agents be allowed to infer the OpenType language
3294-
or simply use only the default language system?</p>
3302+
or simply use only the default language system? Do we also need a
3303+
normative definition of how the script system is inferred?</p>
32953304
<!-- prop: font-kerning -->
32963305

32973306
<h3 id=font-kerning-prop><span class=secno>6.3 </span>Kerning: the <a
@@ -5645,6 +5654,8 @@ <h3 class=no-num id=recent-changes> Changes from the <a
56455654
<li>Added specification of Unicode caseless matching for font family names
56465655
based on WG resolution
56475656

5657+
<li>Include issue of synthetic oblique angle in CJK vertical text runs
5658+
56485659
<li>Minor editorial tweaks hither and thither
56495660
</ul>
56505661

@@ -5658,11 +5669,11 @@ <h2 class=no-num id=acknowledgments>Acknowledgments</h2>
56585669
and Unicode variation selectors. The idea for supporting font features by
56595670
using font-variant subproperties originated with Håkon Wium Lie, Adam
56605671
Twardoch and Tal Leming. Elika Etemad supplied some of the initial design
5661-
ideas for the <code>@font-feature-values</code> rule along with later
5662-
syntax dithering. Several members of the Google Fonts team provided
5663-
helpful feedback on font load events, as did Boris Zbarsky, Jonas Sicking
5664-
and ms2ger. Thanks also to House Industries for allowing the use of Ed
5665-
Interlock in the discretionary ligatures example.
5672+
ideas for the <code>@font-feature-values</code> rule. Several members of
5673+
the Google Fonts team provided helpful feedback on font load events, as
5674+
did Boris Zbarsky, Jonas Sicking and ms2ger. Thanks also to House
5675+
Industries for allowing the use of Ed Interlock in the discretionary
5676+
ligatures example.
56665677

56675678
<p>A special thanks to Robert Bringhurst for the sublime mind expansion
56685679
that is <em>The Elements of Typographic Style</em>.

0 commit comments

Comments
 (0)