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
[[!OPENTYPE]] to calculate the size and offset of the synthesized substitutes.
3048
-
</p>
3043
+
synthesized ones that would not align correctly. In the case of OpenType
3044
+
fonts that lack subscript or superscript glyphs for a given character,
3045
+
user agents must synthesize appropriate subscript and superscript
3046
+
glyphs.</p>
3049
3047
3050
3048
<divclass="figure"><imgalt="alternate superscripts vs. glyphs synthesized using superscript metrics" src="superscript-alt-synth.png" /><pclass="caption">Superscript alternate glyph (left), synthesized superscript glyphs (middle), and incorrect mixture of the two (right)</p></div>
3051
3049
@@ -3061,6 +3059,22 @@ <h3 id="font-variant-position-prop">Subscript and superscript forms: the <a href
3061
3059
older user agents will still render subscripts and superscripts via
3062
3060
the older mechanism.</p>
3063
3061
3062
+
<p>Because <code>font-size: smaller</code> is often used for these
3063
+
elements, the effective scaling factor applied to subscript and
3064
+
superscript text varies depending upon the size. For larger text, the
3065
+
font size is often reduced by a third but for smaller text sizes, the
3066
+
reduction can be much less. This allows subscripts and superscripts to
3067
+
remain readable even within elements using small text sizes. User agents
3068
+
should consider this when deciding how to synthesize subscript and
3069
+
superscript glyphs.</p>
3070
+
3071
+
<pclass="note">The OpenType font format defines subscript and
0 commit comments