-
Notifications
You must be signed in to change notification settings - Fork 16
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
Remove #textOrientation-sideways-LR and related semantics (#980). #981
Merged
skynavga
merged 3 commits into
master
from
issue-0980-remove-text-orientation-sideways-lr
Sep 9, 2018
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1781,9 +1781,8 @@ active time interval of the feature.</p> | |
<label>[text orientation]</label> | ||
<def> | ||
<p>A characterization of the orientation of a <loc href="#terms-glyph-area">glyph area</loc> in terms of degrees of rotation, where | ||
0° designates an <code>upright</code> orientation, | ||
90°, i.e, 90 degrees clockwise, designates a <code>sidewaysRight</code> orientation, and | ||
270°, i.e, 90 degrees counter-clockwise, designates a <code>sidewaysLeft</code> orientation, | ||
0° designates an <code>upright</code> orientation and | ||
90°, i.e, 90 degrees clockwise, designates a <code>sideways</code> orientation, | ||
about which see also <specref ref="style-attribute-textOrientation"/>.</p> | ||
</def> | ||
</gitem> | ||
|
@@ -13377,8 +13376,6 @@ by content flowed into a region to which a vertical writing mode applies.</p> | |
<td> | ||
<code>"mixed"</code> | | ||
<code>"sideways"</code> | | ||
<code>"sidewaysLeft"</code> | | ||
<code>"sidewaysRight"</code> | | ||
<code>"upright"</code> | ||
</td> | ||
</tr> | ||
|
@@ -13417,22 +13414,16 @@ property has no effect.</p> | |
they are rotated or not rotated in vertical writing modes, where this determination is made in accordance with the <code>Vertical_Orientation</code> | ||
of each content character as determined by <bibref ref="utr50"/>.</p> | ||
<p>If the value of this attribute is <code>mixed</code>, then rotated <loc href="#terms-glyph-area">glyph areas</loc> are set sideways | ||
and non-rotated <loc href="#terms-glyph-area">glyph areas</loc> are set upright, where <emph>sideways</emph> means rotated either 90° clockwise | ||
or 90° count-clockwise, respectively, in accordance with whether the applicable block progression direction is right-to-left or left-to-right, | ||
and non-rotated <loc href="#terms-glyph-area">glyph areas</loc> are set upright, where <emph>sideways</emph> means rotated 90° clockwise, | ||
and where <emph>upright</emph> means not rotated.</p> | ||
<note role="clarification"> | ||
<p>According to <bibref ref="utr50"/>, visual rotation of a <loc href="#terms-glyph-area">glyph areas</loc> may occur through either the substitution | ||
of a rotated <loc href="#terms-glyph-area">glyph areas</loc> or by performing an affine rotation transformation on the | ||
<loc href="#terms-glyph-area">glyph areas</loc>'s outline (or raster image), | ||
where the determination of which of these applies depends on the specific font used during presentation processing.</p> | ||
</note> | ||
<p>If the value of this attribute is <code>sidewaysLeft</code>, then rotated <loc href="#terms-glyph-area">glyph areas</loc> | ||
are rotated 90° counter-clockwise.</p> | ||
<p>If the value of this attribute is <code>sidewaysRight</code>, then rotated <loc href="#terms-glyph-area">glyph areas</loc> | ||
<p>If the value of this attribute is <code>sideways</code>, then all <loc href="#terms-glyph-area">glyph areas</loc> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Noting this is a change to the definition of |
||
are rotated 90° clockwise.</p> | ||
<p>If the value of this attribute is <code>sideways</code>, then rotated <loc href="#terms-glyph-area">glyph areas</loc> | ||
are rotated either 90° clockwise or 90° count-clockwise, respectively, | ||
in accordance with whether the applicable block progression direction is right-to-left or left-to-right.</p> | ||
<p>If the value of this attribute is <code>upright</code>, then all characters are considered | ||
to have a vertical orientation of <code>U</code>, in which case no | ||
<loc href="#terms-glyph-area">glyph areas</loc> are rotated. In this case the | ||
|
@@ -13459,7 +13450,6 @@ example.</p> | |
<p region="vertical"> | ||
<span <phrase role="strong">tts:textOrientation="mixed"</phrase>>A</span> | ||
<span <phrase role="strong">tts:textOrientation="upright"</phrase>>B</span> | ||
<span <phrase role="strong">tts:textOrientation="sidewaysLeft"</phrase>>C</span> | ||
</p> | ||
</eg> | ||
</td> | ||
|
@@ -22322,21 +22312,6 @@ attribute.</p> | |
for the <loc | ||
href="#style-attribute-textOrientation"><att>tts:textOrientation</att></loc> | ||
attribute.</p> | ||
<p>Notwithstanding the above, support for the <code>#textOrientation</code> feature does not require support for the | ||
<loc href="#feature-textOrientation-sideways-LR"><code>#textOrientation-sideways-LR</code></loc> feature.</p> | ||
</div3> | ||
<div3 id="feature-textOrientation-sideways-LR"> | ||
<head>#textOrientation-sideways-LR</head> | ||
<p>A TTML <loc href="#terms-transformation-processor">transformation processor</loc> supports the | ||
<code>#textOrientation-sideways-LR</code> feature if it recognizes and is capable of | ||
transforming the <code>sidewaysLeft</code> and <code>sidewaysRight</code> values of the <loc | ||
href="#style-attribute-textOrientation"><att>tts:textOrientation</att></loc> | ||
attribute.</p> | ||
<p>A TTML <loc href="#terms-presentation-processor">presentation processor</loc> supports the | ||
<code>#textOrientation-sideways-LR</code> feature if it implements presentation semantic support | ||
for the <code>sidewaysLeft</code> and <code>sidewaysRight</code> values of the <loc | ||
href="#style-attribute-textOrientation"><att>tts:textOrientation</att></loc> | ||
attribute.</p> | ||
</div3> | ||
<div3 id="feature-textOutline"> | ||
<head>#textOutline</head> | ||
|
@@ -23986,12 +23961,6 @@ is optional (O), for a TTML <loc href="#terms-content-processor">content process | |
<td css="text-align:center;">O</td> | ||
</tr> | ||
<tr> | ||
<td><loc href="#feature-textOrientation-sideways-LR"><code>#textOrientation-sideways-LR</code></loc></td> | ||
<td css="text-align:center;">2</td> | ||
<td css="text-align:center;">O</td> | ||
<td css="text-align:center;">O</td> | ||
</tr> | ||
<tr> | ||
<td><loc href="#feature-textOutline"><code>#textOutline</code></loc></td> | ||
<td css="text-align:center;">1</td> | ||
<td css="text-align:center;">O</td> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note for a potential editorial tweak at some point in the future: we define sideways in relation to
mixed
independently of the keywordsideways
even though both have exactly the same definition, rotate 90º clockwise, so potentially we could make them both reference the same definition and define the behaviour in one place rather than two. Very minor point!