Skip to content

Commit

Permalink
Specify that font selection strategy is used by line height algorithm (
Browse files Browse the repository at this point in the history
  • Loading branch information
skynavga committed May 31, 2019
1 parent baaf935 commit 624ce62
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions spec/ttml2.xml
Expand Up @@ -10057,7 +10057,7 @@ by content flowed into a region.</p>
further described in <specref ref="style-value-generic-family-name"/> below.</p>
</note>
<p>In addition to applying to <loc href="#content-vocabulary-span"><el>span</el></loc>, the computed value of this property
on a <loc href="#content-vocabulary-span"><el>p</el></loc> element is used to resolve the <code>normal</code> value of the
on a <loc href="#content-vocabulary-p"><el>p</el></loc> element is used to resolve the <code>normal</code> value of the
style property associated with the <loc href="#style-attribute-lineHeight">tts:lineHeight</loc> attribute as specified in
<specref ref="style-attribute-lineHeight"/>.</p>
<p>If a computed value of the property associated with this attribute is not supported, then a
Expand Down Expand Up @@ -10239,6 +10239,10 @@ where the set of selection criteria are extended to include the following proper
<p>When selecting among font resources that satisfy the font selection criteria, font resources that are referenced
by a <loc href="#embedded-content-vocabulary-font"><el>font</el></loc> element have priority over application or system supplied
font resources.</p>
<p>In addition to applying to <loc href="#content-vocabulary-span"><el>span</el></loc>, the computed value of this property
on a <loc href="#content-vocabulary-p"><el>p</el></loc> element is used to resolve the <code>normal</code> value of the
style property associated with the <loc href="#style-attribute-lineHeight">tts:lineHeight</loc> attribute as specified in
<specref ref="style-attribute-lineHeight"/>.</p>
<p>If a computed value of the property associated with this attribute is not supported,
then a <loc href="#terms-presentation-processor">presentation processor</loc> must use the value <code>auto</code>.</p>
<p>The <att>tts:fontSelectionStrategy</att> style is illustrated by the following
Expand Down Expand Up @@ -10479,7 +10483,7 @@ which resolves to (24px,24px). However, if <code>tts:fontSize="1em 1em"</code> i
then this is equivalent to specifying <code>100% 100%</code> which resolves to (18px,24px).</p>
</note>
<p>In addition to applying to <loc href="#content-vocabulary-span"><el>span</el></loc>, the computed value of this property
on a <loc href="#content-vocabulary-span"><el>p</el></loc> element is used to resolve the <code>normal</code> value of the
on a <loc href="#content-vocabulary-p"><el>p</el></loc> element is used to resolve the <code>normal</code> value of the
style property associated with the <loc href="#style-attribute-lineHeight">tts:lineHeight</loc> attribute as specified in
<specref ref="style-attribute-lineHeight"/>.</p>
<p>If a computed value of the property associated with this attribute is not supported,
Expand Down Expand Up @@ -10604,7 +10608,7 @@ by this specification.</p>
denotes a shear transformation (at an unspecified
angle) in the inline progression direction.</p>
<p>In addition to applying to <loc href="#content-vocabulary-span"><el>span</el></loc>, the computed value of this property
on a <loc href="#content-vocabulary-span"><el>p</el></loc> element is used to resolve the <code>normal</code> value of the
on a <loc href="#content-vocabulary-p"><el>p</el></loc> element is used to resolve the <code>normal</code> value of the
style property associated with the <loc href="#style-attribute-lineHeight">tts:lineHeight</loc> attribute as specified in
<specref ref="style-attribute-lineHeight"/>.</p>
<p>If a computed value of the property associated with this attribute is not supported,
Expand Down Expand Up @@ -10688,7 +10692,7 @@ of typographic glyph variants.</p>
</tbody>
</table>
<p>In addition to applying to <loc href="#content-vocabulary-span"><el>span</el></loc>, the computed value of this property
on a <loc href="#content-vocabulary-span"><el>p</el></loc> element is used to resolve the <code>normal</code> value of the
on a <loc href="#content-vocabulary-p"><el>p</el></loc> element is used to resolve the <code>normal</code> value of the
style property associated with the <loc href="#style-attribute-lineHeight">tts:lineHeight</loc> attribute as specified in
<specref ref="style-attribute-lineHeight"/>.</p>
<p>If a computed value of the property associated with this attribute is not supported,
Expand Down Expand Up @@ -10775,7 +10779,7 @@ by this specification.</p>
</tbody>
</table>
<p>In addition to applying to <loc href="#content-vocabulary-span"><el>span</el></loc>, the computed value of this property
on a <loc href="#content-vocabulary-span"><el>p</el></loc> element is used to resolve the <code>normal</code> value of the
on a <loc href="#content-vocabulary-p"><el>p</el></loc> element is used to resolve the <code>normal</code> value of the
style property associated with the <loc href="#style-attribute-lineHeight">tts:lineHeight</loc> attribute as specified in
<specref ref="style-attribute-lineHeight"/>.</p>
<p>If a computed value of the property associated with this attribute is not supported,
Expand Down Expand Up @@ -11071,9 +11075,10 @@ Let <emph>FS</emph> be the computed value of the <loc href="#style-attribute-fon
<item><p>
Let <emph>F0</emph> be the first font obtained when sequentially mapping each font family in <emph>FF</emph> to a set of available fonts,
where this set of available fonts is constrained as needed to satisfy the computed values of the
<loc href="#style-attribute-fontStyle"><att>tts:fontSelectionStrategy</att></loc>,
<loc href="#style-attribute-fontStyle"><att>tts:fontStyle</att></loc>,
<loc href="#style-attribute-fontWeight"><att>tts:fontWeight</att></loc>, and
<loc href="#style-attribute-fontVariant"><att>tts:fontVariant</att></loc>
<loc href="#style-attribute-fontVariant"><att>tts:fontVariant</att></loc>,
style properties of <emph>P</emph>.
</p></item>
<item><p>
Expand Down

0 comments on commit 624ce62

Please sign in to comment.