Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added informative note on using tts:shear instead of italic #514

Merged
merged 5 commits into from
Dec 22, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
24 changes: 20 additions & 4 deletions imsc1/spec/ttml-ww-profiles.html
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,10 @@
"publisher":"W3C",
"id":"ttml1-20181108",
"date":"8 November 2018"
}
},
"CSS2": {
aliasOf: "CSS2-20110607"
}
}
};
</script>
Expand Down Expand Up @@ -1056,7 +1059,8 @@ <h2>Supported Features and Extensions</h2>
<a href="https://www.w3.org/TR/2018/REC-ttml2-20181108/#feature-fontStyle-italic"><code>#fontStyle-italic</code></a>
</td>

<td><span class="permitted label">permitted</span></td>
<td><span class="permitted label">permitted</span><br>
<small>Section <a href="#text-italic-shear-oblique"></a> provides additional information.</small></td>

<td><span class="prohibited label">prohibited</span></td>
</tr>
Expand All @@ -1066,7 +1070,8 @@ <h2>Supported Features and Extensions</h2>
<a href="https://www.w3.org/TR/2018/REC-ttml2-20181108/#feature-fontStyle-oblique"><code>#fontStyle-oblique</code></a>
</td>

<td><span class="permitted label">permitted</span></td>
<td><span class="permitted label">permitted</span><br>
<small>Section <a href="#text-italic-shear-oblique"></a> provides additional information.</small></td>

<td><span class="prohibited label">prohibited</span></td>
</tr>
Expand Down Expand Up @@ -1601,7 +1606,8 @@ <h2>Supported Features and Extensions</h2>
<a href="https://www.w3.org/TR/2018/REC-ttml2-20181108/#feature-shear"><code>#shear</code></a>
</td>

<td><span class="permitted label">permitted</span></td>
<td><span class="permitted label">permitted</span><br>
<small>Section <a href="#text-italic-shear-oblique"></a> provides additional information.</small></td>

<td><span class="prohibited label">prohibited</span></td>
</tr>
Expand Down Expand Up @@ -3466,6 +3472,16 @@ <h4><code>ebutts:multiRowAlign</code></h4>
<p class='note'>In contrast to this specification, [[EBU-TT-D]] specifies that the attribute
<code>ebutts:multiRowAlign</code> is allowed only on the <code>style</code> element.</p>
</section>

<section id="text-italic-shear-oblique" class="informative">
<h4><code>#fontStyle-italic</code>, <code>#fontStyle-oblique</code> and <code>#shear</code></h4>

<p>As described at [[CSS2]], specifying <code>tts:fontStyle="italic"</code> selects an <em>italic</em>
typeface if one exists. If one does not exist, as is often the case with Japanese fonts, for example, an <em>oblique</em>
typeface is either selected or generated by slanting a normal font by an unspecified amount.</p>

<p>The author can specify an explicit slant angle using <code>tts:shear</code>.</p>
</section>
</section>
</section>

Expand Down