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

Add support for subscripts and superscripts #585

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
29 changes: 28 additions & 1 deletion imsc1/spec/ttml-ww-profiles.html
Original file line number Diff line number Diff line change
Expand Up @@ -1100,6 +1100,17 @@ <h2>Supported Features and Extensions</h2>
<td><span class="prohibited label">prohibited</span></td>
</tr>

<tr>
<td>
<a href="https://www.w3.org/TR/2018/REC-ttml2-20181108/#feature-fontVariant"><code>#fontVariant</code></a>
</td>

<td><span class="permitted label">permitted</span><br>
<small>Section <a href="#font-variant-constraints"></a> specifies additional constraints.</small></td>

<td><span class="prohibited label">prohibited</span></td>
</tr>

<tr>
<td>
<a href="https://www.w3.org/TR/2018/REC-ttml2-20181108/#feature-fontWeight"><code>#fontWeight</code></a>
Expand Down Expand Up @@ -3518,7 +3529,19 @@ <h4>Slanted Japanese-language text</h4>
(b) Japanese-language slanted vertical text consists of characters slanted in the vertical direction (and not
in the horizontal direction), it is recommended that <code>tts:shear</code> be specified to slant Japanese-language text
– instead of specifying <code>tts:fontStyle="italic"</code> or <code>tts:fontStyle="oblique"</code>.</p>
</section>
</section>

<section id="font-variant-constraints">
<h4><code>#fontVariant</code></h4>

<p>The computed value of the <code>tts:fontVariant</code> attribute SHALL be one of the
following:</p>
<ul class="short-list">
<li><code>normal</code>;</li>
<li><code>sub</code>; or</li>
<li><code>super</code>.</li>
</ul>
</section>
</section>
</section>

Expand Down Expand Up @@ -5083,6 +5106,10 @@ <h4>Added Features</h4>
<tr>
<td style="text-align:center"><em>Relative to the TT Feature namespace</em></td>
</tr>
<tr>
<tr>
<td><code>#fontVariant</code></td>
</tr>
</tbody>
</table>
</section>
Expand Down