Skip to content

Commit 1cb3035

Browse files
committed
[css-writing-modes] Clarify fullwidth transformation
--HG-- extra : rebase_source : cfc5b509f51e0812cd1c258ff47b62c08306a660
1 parent 3baabae commit 1cb3035

2 files changed

Lines changed: 22 additions & 28 deletions

File tree

css-writing-modes/Overview.html

Lines changed: 20 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -3372,16 +3372,16 @@ <h3 id=text-combine-horizontal><span class=secno>9.1. </span>
33723372

33733373
<p>In order to preserve typographic color when compressing the text to 1em,
33743374
when the combined text consists of more than one <a
3375-
href="#character"><i>character</i></a>, then any full-width characters
3376-
must first be converted to their proportional variants. (See ‘<code
3377-
class=css>text-transform: full-width</code><a href="#CSS3TEXT"
3378-
rel=biblioentry>[CSS3TEXT]<!--{{!CSS3TEXT}}--></a> for details of this
3379-
transformation.) Also, a <code class=property>font-variant</code>
3380-
value of ‘<code class=css>full-width</code>’ must be ignored in such
3381-
cases: whether applied via ‘<code class=css>@font-face</code>
3382-
descriptor or property declaration, within the combined text this value
3383-
does not not cause the UA to enable that font feature. <a
3384-
href="#CSS3-FONTS" rel=biblioentry>[CSS3-FONTS]<!--{{!CSS3-FONTS}}--></a>
3375+
href="#character"><i>character</i></a>, then any full-width <a
3376+
href="#character"><i>characters</i></a> must first be converted to their
3377+
non-full-width equivalents by reversing the algorithm defined for ‘<code
3378+
class=css>text-transform: full-width</code>’ in [[!CSS3-TEXT]]. Also, a
3379+
<code class=property>font-variant</code> value of ‘<code
3380+
class=css>full-width</code>’ must be ignored in such cases: whether
3381+
applied via ‘<code class=css>@font-face</code> descriptor or property
3382+
declaration, within the combined text this value does not not cause the UA
3383+
to enable that font feature. <a href="#CSS3-FONTS"
3384+
rel=biblioentry>[CSS3-FONTS]<!--{{!CSS3-FONTS}}--></a>
33853385

33863386
<div class=example>
33873387
<p>For example, an author might apply both ‘<code
@@ -3448,10 +3448,6 @@ <h3 id=text-combine-horizontal><span class=secno>9.1. </span>
34483448
text as follows:
34493449

34503450
<ol>
3451-
<li>Convert full-width codepoints to their default equivalents by
3452-
reversing the algorithm defined for ‘<code class=css>text-transform:
3453-
full-width</code>’ in [[!CSS3-TEXT]].
3454-
34553451
<li>Enable 1/<var>n</var>-width glyphs for combined text of <var>n</var>
34563452
<a href="#character"><i>characters</i></a>. (I.e. Use OpenType
34573453
<code>hwid</code> for 2 <a href="#character"><i>characters</i></a>,
@@ -4111,16 +4107,6 @@ <h3 class=no-num id=normative-references> Normative references</h3>
41114107
</dd>
41124108
<!---->
41134109

4114-
<dt id=CSS3TEXT>[CSS3TEXT]
4115-
4116-
<dd>Elika J. Etemad; Koji Ishii. <a
4117-
href="http://www.w3.org/TR/2012/WD-css3-text-20121113/"><cite>CSS Text
4118-
Module Level 3.</cite></a> 13 November 2012. W3C Working Draft. (Work in
4119-
progress.) URL: <a
4120-
href="http://www.w3.org/TR/2012/WD-css3-text-20121113/">http://www.w3.org/TR/2012/WD-css3-text-20121113/</a>
4121-
</dd>
4122-
<!---->
4123-
41244110
<dt id=RFC2119>[RFC2119]
41254111

41264112
<dd>S. Bradner. <a href="http://www.ietf.org/rfc/rfc2119.txt"><cite>Key
@@ -4257,6 +4243,16 @@ <h3 class=no-num id=other-references> Other references</h3>
42574243
</dd>
42584244
<!---->
42594245

4246+
<dt id=CSS3TEXT>[CSS3TEXT]
4247+
4248+
<dd>Elika J. Etemad; Koji Ishii. <a
4249+
href="http://www.w3.org/TR/2012/WD-css3-text-20121113/"><cite>CSS Text
4250+
Module Level 3.</cite></a> 13 November 2012. W3C Working Draft. (Work in
4251+
progress.) URL: <a
4252+
href="http://www.w3.org/TR/2012/WD-css3-text-20121113/">http://www.w3.org/TR/2012/WD-css3-text-20121113/</a>
4253+
</dd>
4254+
<!---->
4255+
42604256
<dt id=HTML401>[HTML401]
42614257

42624258
<dd>Dave Raggett; Arnaud Le Hors; Ian Jacobs. <a

css-writing-modes/Overview.src.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2514,8 +2514,8 @@ <h3 id="text-combine-horizontal">
25142514

25152515
<p>In order to preserve typographic color when compressing the text to 1em,
25162516
when the combined text consists of more than one <i>character</i>,
2517-
then any full-width characters must first be converted to their proportional variants.
2518-
(See ''text-transform: full-width'' [[!CSS3TEXT]] for details of this transformation.)
2517+
then any full-width <i>characters</i> must first be converted to their non-full-width equivalents
2518+
by reversing the algorithm defined for ''text-transform: full-width'' in [[!CSS3-TEXT]].
25192519
Also, a 'font-variant' value of ''full-width'' must be ignored in such cases:
25202520
whether applied via ''@font-face'' descriptor or property declaration,
25212521
within the combined text this value does not not cause the UA to enable that font feature. [[!CSS3-FONTS]]
@@ -2570,8 +2570,6 @@ <h3 id="text-combine-horizontal">
25702570
<div class="example">
25712571
<p>For example, a simple OpenType-based implementation might compress the text as follows:
25722572
<ol>
2573-
<li>Convert full-width codepoints to their default equivalents
2574-
by reversing the algorithm defined for ''text-transform: full-width'' in [[!CSS3-TEXT]].
25752573
<li>Enable 1/<var>n</var>-width glyphs for combined text of <var>n</var> <i>characters</i>.
25762574
(I.e. Use OpenType <code>hwid</code> for 2 <i>characters</i>, <code>twid</code> for 3 <i>characters</i>, etc.)
25772575
Note that the number of <i>characters</i> &ne; number of Unicode codepoints!

0 commit comments

Comments
 (0)