You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Former Editor: Myles C. Maxfield, Formerly of Apple Inc., mmaxfield@apple.com, w3cid 77180
14
14
Editor: Chris Lilley, W3C, https://svgees.us/, w3cid 1438
15
15
Abstract: This specification defines modifications to the existing <a href="https://drafts.csswg.org/css-fonts-4/">CSS Fonts 4</a> specification along with additional features.
16
+
Ignored terms: cssText
16
17
Repository: w3c/csswg-drafts
17
18
Inline Github Issues: title
18
19
Default Highlight: css
@@ -405,7 +406,7 @@ Issue(8792):
405
406
Note how small text remains relatively legible across each row in the lower half.
406
407
407
408
<figure>
408
-
<img alt="text with and without 'font-size-adjust'" src="images/fontsizeadjust.png" >
<figcaption>Futura with an <a>aspect value</a> of 0.5</figcaption>
478
479
</figure>
479
480
@@ -482,10 +483,10 @@ Issue(8792):
482
483
</div>
483
484
484
485
Note: If the specified metric has been overridden in ''@font-face'',
485
-
e.g. by 'size-adjust',
486
+
e.g. by 'size-adjust!!descriptor',
486
487
then the overridden metric will be used in the 'font-size-adjust' calculation.
487
-
Consequently, applying 'font-size-adjust' and 'size-adjust' together
488
-
means that 'size-adjust' appears to have no effect.
488
+
Consequently, applying 'font-size-adjust' and 'size-adjust!!descriptor' together
489
+
means that 'size-adjust!!descriptor' appears to have no effect.
489
490
490
491
<h2 id="font-resources">
491
492
Font Resources</h2>
@@ -497,7 +498,7 @@ The <dfn id="at-font-face-rule">''@font-face''</dfn> rule</h3>
497
498
Multiple fonts can be used within an individual element
498
499
e.g. for characters not supported by the [=first available font=].
499
500
500
-
<h3 id="src-desc">Font reference: the 'src' descriptor</h3>
501
+
<h3 id="src-desc">Font reference: the 'src!!descriptor' descriptor</h3>
501
502
502
503
503
504
<!-- same as CSS Fonts 4, keep the two in sync -->
@@ -592,7 +593,7 @@ For: @font-face
592
593
593
594
<h3 id="size-adjust-desc">
594
595
Glyph Size Multiplier:
595
-
the 'size-adjust' descriptor</h3>
596
+
the 'size-adjust!!descriptor' descriptor</h3>
596
597
597
598
<pre class='descdef'>
598
599
Name: size-adjust
@@ -601,7 +602,7 @@ the 'size-adjust' descriptor</h3>
601
602
Initial: 100%
602
603
</pre>
603
604
604
-
The 'size-adjust' descriptor defines a multiplier
605
+
The 'size-adjust!!descriptor' descriptor defines a multiplier
605
606
for glyph outlines and metrics associated with this font,
606
607
to allow the author to harmonize the designs of various fonts
607
608
when rendered at the same 'font-size!!property'.
@@ -620,7 +621,7 @@ the 'size-adjust' descriptor</h3>
620
621
such as ''em'' units, percentages in 'text-underline-offset', etc.)
621
622
remains unaffected.
622
623
623
-
Note: The 'size-adjust' descriptor functions similarly to
624
+
Note: The 'size-adjust!!descriptor' descriptor functions similarly to
624
625
the 'font-size-adjust' property,
625
626
which essentially calculates an adjustment per font by matching ex heights,
626
627
but likewise does not affect the [=computed value|computed=]'font-size!!property'.
@@ -636,7 +637,7 @@ the 'size-adjust' descriptor</h3>
636
637
637
638
<h3 id="font-metrics-override-desc">
638
639
Line Height Font Metrics Overrides:
639
-
the 'ascent-override', 'descent-override', and 'line-gap-override' descriptors</h3>
640
+
the 'ascent-override!!descriptor', 'descent-override!!descriptor', and 'line-gap-override!!descriptor' descriptors</h3>
640
641
641
642
<pre class='descdef'>
642
643
Name: ascent-override
@@ -659,7 +660,7 @@ the 'ascent-override', 'descent-override', and 'line-gap-override' descriptors</
659
660
Initial: normal
660
661
</pre>
661
662
662
-
The 'ascent-override', 'descent-override', and 'line-gap-override' descriptors specify the
663
+
The 'ascent-override!!descriptor', 'descent-override!!descriptor', and 'line-gap-override!!descriptor' descriptors specify the
663
664
<a spec="CSS-INLINE-3">ascent metric</a>,
664
665
<a spec="CSS-INLINE-3">descent metric</a>, and
665
666
<a spec="CSS-INLINE-3">line gap metric</a>
@@ -690,10 +691,10 @@ the 'ascent-override', 'descent-override', and 'line-gap-override' descriptors</
690
691
metrics-override-normal-keyword.html
691
692
</wpt>
692
693
693
-
The 'font-size-adjust' property is applied after the 'size-adjust' descriptor.
694
+
The 'font-size-adjust' property is applied after the 'size-adjust!!descriptor' descriptor.
694
695
695
-
Note: The consequence of applying 'font-size-adjust' after 'size-adjust' is that
696
-
'size-adjust' appears to have no effect.
696
+
Note: The consequence of applying 'font-size-adjust' after 'size-adjust!!descriptor' is that
697
+
'size-adjust!!descriptor' appears to have no effect.
697
698
698
699
Note: None of these descriptors affect the [=computed value|computation=] of
699
700
'font-size!!property', 'line-height', or [=font-relative lengths=].
@@ -756,7 +757,7 @@ the 'ascent-override', 'descent-override', and 'line-gap-override' descriptors</
756
757
757
758
<h3 id="font-sup-sub-override-desc">
758
759
Superscript and subscript metrics overrides:
759
-
the 'superscript-position-override', 'subscript-position-override','superscript-size-override' and 'subscript-size-override' descriptors</h3>
760
+
the 'superscript-position-override!!descriptor', 'subscript-position-override!!descriptor','superscript-size-override!!descriptor' and 'subscript-size-override!!descriptor' descriptors</h3>
760
761
761
762
<pre class='descdef'>
762
763
Name: superscript-position-override
@@ -786,8 +787,8 @@ the 'superscript-position-override', 'subscript-position-override','superscript-
786
787
Initial: normal
787
788
</pre>
788
789
789
-
The 'superscript-position-override', 'subscript-position-override',
790
-
'superscript-size-override', and 'subscript-size-override' descriptors
790
+
The 'superscript-position-override!!descriptor', 'subscript-position-override!!descriptor',
791
+
'superscript-size-override!!descriptor', and 'subscript-size-override!!descriptor' descriptors
791
792
specify the superscript offset, subscript offset, superscript size, and subscript size
792
793
metrics of the font, respectively,
793
794
which are used to synthesize glyphs when required by 'font-variant-position'.
@@ -855,7 +856,7 @@ Color Font Support</h2>
855
856
856
857
This section expands upon [[css-fonts-4#font-tech-definitions]].
857
858
858
-
The 'avar2' tech refers to support for version 2 of OpenType axis variations [[!avar2]],
859
+
The <dfn value for="<font-features-tech>">avar2</dfn> tech refers to support for version 2 of OpenType axis variations [[!avar2]],
859
860
for flexible variation axis remapping.
860
861
861
862
<div class="example" id="ex-avar2">
@@ -897,7 +898,7 @@ for flexible variation axis remapping.
897
898
<h3 id="om-fontface">
898
899
The <code id="cssfontfacerule2">CSSFontFaceRule</code> interface</h3>
899
900
900
-
The <dfn id="cssfontfacerule-interface">CSSFontFaceRule</dfn> interface represents a <<@font-face>> rule.
901
+
The <dfn export id="cssfontfacerule-interface">CSSFontFaceRule</dfn> interface represents a <<@font-face>> rule.
0 commit comments