Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 14 additions & 6 deletions css-fonts-5/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -149,21 +149,21 @@ the 'ascent-override', 'descent-override', 'line-gap-override', and 'size-adjust

<pre class='descdef'>
Name: ascent-override
Value: normal | <<percentage>>
Value: [ normal | <<percentage>> ]{1,2}
For: @font-face
Initial: normal
</pre>

<pre class='descdef'>
Name: descent-override
Value: normal | <<percentage>>
Value: [ normal | <<percentage>> ]{1,2}
For: @font-face
Initial: normal
</pre>

<pre class='descdef'>
Name: line-gap-override
Value: normal | <<percentage>>
Value: [ normal | <<percentage>> ]{1,2}
For: @font-face
Initial: normal
</pre>
Expand All @@ -180,6 +180,11 @@ The 'ascent-override', 'descent-override', and 'line-gap-override' descriptors d
<a spec="CSS-INLINE-3">line gap metric</a> of the font, respectively. The `size-adjust`
descriptor defines a scalar by which glyph outlines and metrics from this font are multiplied.

Both values accepted by 'ascent-override', 'descent-override', and 'line-gap-override' measure
distance in the block direction. When the text is <a href="#typeset-sideways">typeset sideways</a>,
Comment thread
litherum marked this conversation as resolved.
the first value is used. When the text is <a href="#typeset-upright">typeset upright</a>, the
second value is used if it is present, and if it isn't present, then the first value is used.

When the descriptor value is 'normal', the corresponding metric value is obtained as-if the
descriptor was absent from the <code>@font-face</code> block.

Expand Down Expand Up @@ -274,14 +279,14 @@ Issue(5518):

<pre class='descdef'>
Name: superscript-position-override
Value: normal | <<percentage>>
Value: [ normal | <<percentage>> ]{1,2}
For: @font-face
Initial: normal
</pre>

<pre class='descdef'>
Name: subscript-position-override
Value: normal | <<percentage>>
Value: [ normal | <<percentage>> ]{1,2}
For: @font-face
Initial: normal
</pre>
Expand All @@ -300,7 +305,10 @@ Issue(5518):
Initial: normal
</pre>


Both values accepted by 'superscript-position-override' and 'subscript-position-override' measure
distance in the block direction. When the text is <a href="#typeset-sideways">typeset sideways</a>,
the first value is used. When the text is <a href="#typeset-upright">typeset upright</a>, the
second value is used if it is present, and if it isn't present, then the first value is used.

<h2 id="font-rend-props">
Font Feature Properties</h2>
Expand Down