[ttml2] add tts:textOrientation styling attribute (issue 159)
authorGlenn Adams <glenn@skynav.com>
Sat, 24 Aug 2013 18:36:50 -0600
changeset 484 0fb03f916ea7
parent 483 5e031732a4cb
child 485 2e99e17920ff
[ttml2] add tts:textOrientation styling attribute (issue 159)
ttml2/spec/entitiesedcopy.dtd
ttml2/spec/profiles/dfxp-full.xml
ttml2/spec/profiles/dfxp-presentation.xml
ttml2/spec/profiles/dfxp-transformation.xml
ttml2/spec/rnc/schema.zip
ttml2/spec/rnc/ttml2-datatypes.rnc
ttml2/spec/rnc/ttml2-styling-attribs.rnc
ttml2/spec/ttml2-changes.html
ttml2/spec/ttml2.xml
ttml2/spec/xsd/schema.zip
ttml2/spec/xsd/ttml2-datatypes.xsd
ttml2/spec/xsd/ttml2-styling-attribs.xsd
--- a/ttml2/spec/entitiesedcopy.dtd	Sat Aug 24 17:19:09 2013 -0600
+++ b/ttml2/spec/entitiesedcopy.dtd	Sat Aug 24 18:36:50 2013 -0600
@@ -19,7 +19,7 @@
 
 <!ENTITY w3c-designation "&prefix;.html">
 
-<!ENTITY w3c.tr.latest  "http://dvcs.w3.org/hg/ttml/raw-file/tip/ttml2/spec">
+<!ENTITY w3c.tr.latest  "http://dvcs.w3.org/hg/ttml/raw-file/default/ttml2/spec">
 
 <!-- Latest version links. don't touch -->
 <!ENTITY latest "&w3c.tr.latest;/&w3c-designation;?content-type=text/html;charset=utf-8">
--- a/ttml2/spec/profiles/dfxp-full.xml	Sat Aug 24 17:19:09 2013 -0600
+++ b/ttml2/spec/profiles/dfxp-full.xml	Sat Aug 24 18:36:50 2013 -0600
@@ -91,6 +91,7 @@
     <feature value="required">#textDecoration-through</feature>
     <feature value="required">#textDecoration-under</feature>
     <feature value="required">#textDecoration</feature>
+    <feature value="required">#textOrientation</feature>
     <feature value="required">#textOutline-blurred</feature>
     <feature value="required">#textOutline-unblurred</feature>
     <feature value="required">#textOutline</feature>
--- a/ttml2/spec/profiles/dfxp-presentation.xml	Sat Aug 24 17:19:09 2013 -0600
+++ b/ttml2/spec/profiles/dfxp-presentation.xml	Sat Aug 24 18:36:50 2013 -0600
@@ -94,6 +94,7 @@
     <feature value="optional">#textDecoration-through</feature>
     <feature value="optional">#textDecoration-under</feature>
     <feature value="optional">#textDecoration</feature>
+    <feature value="optional">#textOrientation</feature>
     <feature value="optional">#textOutline-blurred</feature>
     <feature value="optional">#textOutline-unblurred</feature>
     <feature value="optional">#textOutline</feature>
--- a/ttml2/spec/profiles/dfxp-transformation.xml	Sat Aug 24 17:19:09 2013 -0600
+++ b/ttml2/spec/profiles/dfxp-transformation.xml	Sat Aug 24 18:36:50 2013 -0600
@@ -95,6 +95,7 @@
     <feature value="optional">#textDecoration-through</feature>
     <feature value="optional">#textDecoration-under</feature>
     <feature value="optional">#textDecoration</feature>
+    <feature value="optional">#textOrientation</feature>
     <feature value="optional">#textOutline-blurred</feature>
     <feature value="optional">#textOutline-unblurred</feature>
     <feature value="optional">#textOutline</feature>
Binary file ttml2/spec/rnc/schema.zip has changed
--- a/ttml2/spec/rnc/ttml2-datatypes.rnc	Sat Aug 24 17:19:09 2013 -0600
+++ b/ttml2/spec/rnc/ttml2-datatypes.rnc	Sat Aug 24 18:36:50 2013 -0600
@@ -244,6 +244,11 @@
   "overline underline lineThrough" |
   "overline lineThrough underline"
 
+TTAF.TextOrientation.datatype =
+  "mixed" |
+  "sideways" |
+  "upright"
+
 TTAF.TextOutline.datatype =
   string
 
--- a/ttml2/spec/rnc/ttml2-styling-attribs.rnc	Sat Aug 24 17:19:09 2013 -0600
+++ b/ttml2/spec/rnc/ttml2-styling-attribs.rnc	Sat Aug 24 18:36:50 2013 -0600
@@ -46,6 +46,8 @@
   = attribute tts:textAlign { TTAF.TextAlign.datatype }?
 TTAF.textDecoration.attrib
   = attribute tts:textDecoration { TTAF.TextDecoration.datatype }?
+TTAF.textOrientation.attrib
+  = attribute tts:textOrientation { TTAF.TextOrientation.datatype }?
 TTAF.textOutline.attrib
   = attribute tts:textOutline { TTAF.TextOutline.datatype }?
 TTAF.unicodeBidi.attrib
@@ -86,6 +88,7 @@
   TTAF.showBackground.attrib,
   TTAF.textAlign.attrib,
   TTAF.textDecoration.attrib,
+  TTAF.textOrientation.attrib,
   TTAF.textOutline.attrib,
   TTAF.unicodeBidi.attrib,
   TTAF.visibility.attrib,
--- a/ttml2/spec/ttml2-changes.html	Sat Aug 24 17:19:09 2013 -0600
+++ b/ttml2/spec/ttml2-changes.html	Sat Aug 24 18:36:50 2013 -0600
@@ -50,6 +50,8 @@
 
 * In 8.2, add tts:border styling attribute.
 
+* In 8.2, add tts:textOrientation styling attribute.
+
 * In 8.2.1, add 'set' element to enumeration of element types to which 'style'
   attribute applies.
 
@@ -69,7 +71,11 @@
 * In Appendix C, remove contents for mediate type registration, since registration
   has (will have) already occurred (by the time TTML2 goes to FPWD).
 
-* In D.1, add #border feature designator.
+* In Appendix D, add #border and #textOutline feature designators.
+
+* In Appendix F, add #border and #textOutline feature designators in standard profiles.
+
+* In Appendix J, add derivation of tts:border and tts:textOutline attributes.
 
 * In Appendix O, change appendix designation to normative, effectively changing
   the informative concrete encoding recommendation to a normative recommendation.
@@ -79,14 +85,7 @@
 
 <span class="strong">Editorial Changes</span>
 
-* In 8.2.4, correct typo where "initial" value was written, but "computed" value
-  intended.
-
-* In 8.2.13, correct typo where "initial" value was written, but "computed" value
-  intended.
-
-* In 8.2.14, correct typo where "initial" value was written, but "computed" value
-  intended.
+* In Appendix H, add (non-normative) reference to CSS Writing Modes Level 3.
 </pre>
 </div>
 </div>
--- a/ttml2/spec/ttml2.xml	Sat Aug 24 17:19:09 2013 -0600
+++ b/ttml2/spec/ttml2.xml	Sat Aug 24 18:36:50 2013 -0600
@@ -33,6 +33,7 @@
 <!ENTITY real "&#x211c;">
 <!ENTITY prop "&#x221d;">
 <!ENTITY not "&#x00ac;">
+<!ENTITY deg "&#x00b0;">
 <!ENTITY ttml-ex1 SYSTEM "./examples/ex1.xml.esc">
 <!ENTITY ttml-ex1-x-0 SYSTEM "./examples/ex1-x-0.xml.esc">
 <!ENTITY ttml-ex1-p-0 SYSTEM "./examples/ex1-p-0.xml.esc">
@@ -1675,6 +1676,7 @@
 <loc href="#style-attribute-showBackground">tts:showBackground</loc>,
 <loc href="#style-attribute-textAlign">tts:textAlign</loc>,
 <loc href="#style-attribute-textDecoration">tts:textDecoration</loc>,
+<loc href="#style-attribute-textOrientation">tts:textOrientation</loc>,
 <loc href="#style-attribute-textOutline">tts:textOutline</loc>,
 <loc href="#style-attribute-unicodeBidi">tts:unicodeBidi</loc>,
 <loc href="#style-attribute-visibility">tts:visibility</loc>,
@@ -3500,6 +3502,7 @@
 <item><p><specref ref="style-attribute-showBackground"/></p></item>
 <item><p><specref ref="style-attribute-textAlign"/></p></item>
 <item><p><specref ref="style-attribute-textDecoration"/></p></item>
+<item><p><specref ref="style-attribute-textOrientation"/></p></item>
 <item><p><specref ref="style-attribute-textOutline"/></p></item>
 <item><p><specref ref="style-attribute-unicodeBidi"/></p></item>
 <item><p><specref ref="style-attribute-visibility"/></p></item>
@@ -5556,6 +5559,87 @@
 &sect; 7.17.4.</p>
 </note>
 </div3>
+<div3 id="style-attribute-textOrientation">
+<head>tts:textOrientation</head>
+<p>The <att>tts:textOrientation</att> attribute is used to specify a style property that
+defines a text orientation to apply to glyphs that are selected for glyph areas generated
+by content flowed into a region to which a vertical writing mode applies.</p>
+<p>This attribute may be specified by any
+element type
+that permits use of attributes in the TT Style Namespace; however, this attribute applies
+as a style property only to those element types indicated in the following table.</p>
+<table id="style-property-details-textOrientation" role="common">
+<col width="25%"/>
+<col/>
+<tbody>
+<tr>
+<td><emph>Values:</emph></td>
+<td>
+<code>mixed</code> |
+<code>upright</code> |
+<code>sideways</code>
+</td>
+</tr>
+<tr>
+<td><emph>Initial:</emph></td>
+<td><code>mixed</code></td>
+</tr>
+<tr>
+<td><emph>Applies to:</emph></td>
+<td>
+<loc href="#content-vocabulary-span"><el>span</el></loc>
+</td>
+</tr>
+<tr>
+<td><emph>Inherited:</emph></td>
+<td>yes</td>
+</tr>
+<tr>
+<td><emph>Percentages:</emph></td>
+<td>N/A</td>
+</tr>
+<tr>
+<td><emph>Animatable:</emph></td>
+<td>discrete</td>
+</tr>
+</tbody>
+</table>
+<p>For the purpose of determining applicability of this style property,
+each character child of a <el>p</el> element is considered to be enclosed in an anonymous
+span.</p>
+<p>If the value of this attribute is <code>mixed</code>, then, in vertical writing modes,
+glyphs from horizontal scripts are set sideways, i.e., 90&deg; clockwise from
+their nominal orientation in horizontal text, while glyphs from vertical scripts are not
+affected.</p>
+<p>If the value of this attribute is <code>upright</code>, then, in vertical writing modes,
+glyphs from horizontal scripts are set upright, i.e., using their
+nominal orientation in horizontal text, while glyphs from vertical scripts are not
+affected. In addition, for purposes of bidirectional processing, this value causes all
+affected characters to be treated as strong left-to-right, i.e., to be treated as if
+a <att>tts:direction</att> of <code>ltr</code> and <att>tts:unicodeOverride</att> of
+<code>override</code> were applied.</p>
+<p>If the value of this attribute is <code>sideways</code>, then, in vertical writing modes,
+glyphs from horizontal scripts are set sideways, either 90&deg; clockwise or
+90&deg; counter-clockwise, according to whether the writing mode is
+<code>tbrl</code> or <code>tblr</code>, respectively. Glyphs from vertical scripts are not
+affected.</p>
+<p>If a vertical writing mode does not apply, then this style property has no effect.</p>
+<p>If a specified value of this attribute is not supported,
+then a presentation processor must interpret the attribute as if the
+value <code>mixed</code> were specified.</p>
+<p>The <att>tts:textOrientation</att> style is illustrated by the following
+example.</p>
+<ednote>
+<name>Text Orientation Example</name>
+<date>2013-08-24</date>
+<edtext>Insert example fragment and image of text orientation.</edtext>
+</ednote>
+<note role="derivation">
+<p>The semantics of the style property
+represented by this attribute are based upon that defined by <bibref ref="css3-wm"/>,
+&sect; 5.1.</p>
+</note>
+</div3>
 <div3 id="style-attribute-textOutline">
 <head>tts:textOutline</head>
 <p>The <att>tts:textOutline</att> attribute is used to specify a style property that
@@ -10307,6 +10391,19 @@
 href="#style-attribute-textDecoration"><att>tts:textDecoration</att></loc>
 attribute.</p>
 </div3>
+<div3 id="feature-textOrientation">
+<head>#textOrientation</head>
+<p>A TTML transformation processor supports the
+<code>#textOrientation</code> feature if it recognizes and is capable of
+transforming the <loc
+href="#style-attribute-textOrientation"><att>tts:textOrientation</att></loc>
+attribute.</p>
+<p>A TTML presentation processor supports the
+<code>#textOrientation</code> feature if it implements presentation semantic support
+for the <loc
+href="#style-attribute-textOrientation"><att>tts:textOrientation</att></loc>
+attribute.</p>
+</div3>
 <div3 id="feature-textOutline">
 <head>#textOutline</head>
 <p>A TTML transformation processor supports the
@@ -11162,6 +11259,11 @@
 <td>O</td>
 </tr>
 <tr>
+<td><loc href="#feature-textOrientation"><code>#textOrientation</code></loc></td>
+<td>O</td>
+<td>O</td>
+</tr>
+<tr>
 <td><loc href="#feature-textOutline"><code>#textOutline</code></loc></td>
 <td>O</td>
 <td>O</td>
@@ -11649,6 +11751,10 @@
 <titleref href="http://www.ce.org/">Digital Television (DTV) Closed Captioning</titleref>, CEA Standard,
 Consumer Electronics Association (CEA).
 </bibl>
+<bibl id="css3-wm" key="CSS Writing Modes Level 3">Elika Etamad and Koji Ishii,
+<titleref href="http://dev.w3.org/csswg/css-writing-modes-3/">CSS Writing Modes Level 3</titleref>, W3C Editor's Draft. (See
+<xspecref href="http://dev.w3.org/csswg/css-writing-modes-3/">http://dev.w3.org/csswg/css-writing-modes-3/</xspecref>.)
+</bibl>
 <bibl id="dcmes" key="DCMES 1.1">Dublin Core Metadata Initiative,
 <titleref href="http://dublincore.org/documents/dces/">Dublin Core Metadata Element Set, Version 1.1: Reference Description</titleref>. (See
 <xspecref href="http://dublincore.org/documents/dces/">http://dublincore.org/documents/dces/</xspecref>.)
@@ -12512,7 +12618,11 @@
 <td><loc href="#timing-attribute-timeContainer"><code>timeContainer</code></loc></td>
 <td><code>timeContainer</code></td>
 <td><bibref ref="smil21"/></td>
-<td>-excl, -none; no default attribute value</td>
+<td>
+-<code>excl</code>,
+-<code>none</code>;
+no default attribute value
+</td>
 <td>5</td>
 </tr>
 <tr>
@@ -12610,28 +12720,28 @@
 <td><loc href="#style-attribute-backgroundColor"><code>tts:backgroundColor</code></loc></td>
 <td><code>background-color</code></td>
 <td><bibref ref="xsl11"/></td>
-<td><code>-inherit</code></td>
+<td>-<code>inherit</code></td>
 <td>1,6</td>
 </tr>
 <tr>
 <td><loc href="#style-attribute-border"><code>tts:border</code></loc></td>
 <td><code>border</code></td>
 <td><bibref ref="xsl11"/></td>
-<td><code></code></td>
+<td>-<code>inherit</code></td>
 <td>1,6</td>
 </tr>
 <tr>
 <td><loc href="#style-attribute-color"><code>tts:color</code></loc></td>
 <td><code>color</code></td>
 <td><bibref ref="xsl11"/></td>
-<td><code>-inherit</code></td>
+<td>-<code>inherit</code></td>
 <td>6</td>
 </tr>
 <tr>
 <td><loc href="#style-attribute-direction"><code>tts:direction</code></loc></td>
 <td><code>direction</code></td>
 <td><bibref ref="xsl11"/></td>
-<td><code>-inherit</code></td>
+<td>-<code>inherit</code></td>
 <td></td>
 </tr>
 <tr>
@@ -12645,7 +12755,7 @@
 <td><loc href="#style-attribute-displayAlign"><code>tts:displayAlign</code></loc></td>
 <td><code>display-align</code></td>
 <td><bibref ref="xsl11"/></td>
-<td><code>-inherit</code></td>
+<td>-<code>inherit</code></td>
 <td>1</td>
 </tr>
 <tr>
@@ -12659,42 +12769,42 @@
 <td><loc href="#style-attribute-fontFamily"><code>tts:fontFamily</code></loc></td>
 <td><code>font-family</code></td>
 <td><bibref ref="xsl11"/></td>
-<td><code>-inherit</code>, extends generic family names</td>
+<td>-<code>inherit</code>, extends generic family names</td>
 <td>1</td>
 </tr>
 <tr>
 <td><loc href="#style-attribute-fontSize"><code>tts:fontSize</code></loc></td>
 <td><code>font-size</code></td>
 <td><bibref ref="xsl11"/></td>
-<td><code>-inherit</code></td>
+<td>-<code>inherit</code></td>
 <td>1,7</td>
 </tr>
 <tr>
 <td><loc href="#style-attribute-fontStyle"><code>tts:fontStyle</code></loc></td>
 <td><code>font-style</code></td>
 <td><bibref ref="xsl11"/></td>
-<td><code>-inherit</code>, <code>-backslant</code></td>
+<td>-<code>inherit</code>, -<code>backslant</code></td>
 <td>1</td>
 </tr>
 <tr>
 <td><loc href="#style-attribute-fontWeight"><code>tts:fontWeight</code></loc></td>
 <td><code>font-weight</code></td>
 <td><bibref ref="xsl11"/></td>
-<td><code>-inherit</code>, <code>-bolder</code>, <code>-lighter</code>, <code>-&lt;number&gt;</code></td>
+<td>-<code>inherit</code>, -<code>bolder</code>, -<code>lighter</code>, -<code>&lt;number&gt;</code></td>
 <td>1</td>
 </tr>
 <tr>
 <td><loc href="#style-attribute-lineHeight"><code>tts:lineHeight</code></loc></td>
 <td><code>line-height</code></td>
 <td><bibref ref="xsl11"/></td>
-<td><code>-inherit</code>, <code>-&lt;number&gt;</code>, <code>-&lt;space&gt;</code></td>
+<td>-<code>inherit</code>, -<code>&lt;number&gt;</code>, -<code>&lt;space&gt;</code></td>
 <td>1</td>
 </tr>
 <tr>
 <td><loc href="#style-attribute-opacity"><code>tts:opacity</code></loc></td>
 <td><code>opacity</code></td>
 <td><bibref ref="css3-color"/></td>
-<td><code>-inherit</code></td>
+<td>-<code>inherit</code></td>
 <td></td>
 </tr>
 <tr>
@@ -12708,77 +12818,100 @@
 <td><loc href="#style-attribute-overflow"><code>tts:overflow</code></loc></td>
 <td><code>overflow</code></td>
 <td><bibref ref="xsl11"/></td>
-<td><code>-inherit</code>, <code>-auto</code>, <code>-error-if-overflow</code></td>
+<td>-<code>inherit</code>, -<code>auto</code>, -<code>error-if-overflow</code></td>
 <td>8</td>
 </tr>
 <tr>
 <td><loc href="#style-attribute-padding"><code>tts:padding</code></loc></td>
 <td><code>padding</code></td>
 <td><bibref ref="xsl11"/></td>
-<td><code>-inherit</code></td>
+<td>-<code>inherit</code></td>
 <td>9</td>
 </tr>
 <tr>
 <td><loc href="#style-attribute-showBackground"><code>tts:showBackground</code></loc></td>
 <td><code>showBackground</code></td>
 <td><bibref ref="smil21"/></td>
-<td><code>-inherit</code></td>
+<td>-<code>inherit</code></td>
 <td></td>
 </tr>
 <tr>
 <td><loc href="#style-attribute-textAlign"><code>tts:textAlign</code></loc></td>
 <td><code>text-align</code></td>
 <td><bibref ref="xsl11"/></td>
-<td><code>-inherit</code></td>
+<td>-<code>inherit</code></td>
 <td>1</td>
 </tr>
 <tr>
 <td><loc href="#style-attribute-textDecoration"><code>tts:textDecoration</code></loc></td>
 <td><code>text-decoration</code></td>
 <td><bibref ref="xsl11"/></td>
-<td><code>-inherit</code></td>
+<td>-<code>inherit</code></td>
 <td>1,10,13</td>
 </tr>
 <tr>
+<td><loc href="#style-attribute-textOrientation"><code>tts:textOrientation</code></loc></td>
+<td><code>text-orientation</code></td>
+<td><bibref ref="css3-wm"/></td>
+<td>
+-<code>inherit</code>,
+-<code>sideways-left</code>,
+-<code>sideways-right</code>,
+-<code>use-glyph-orientation</code>
+</td>
+<td>1</td>
+</tr>
+<tr>
 <td><loc href="#style-attribute-textOutline"><code>tts:textOutline</code></loc></td>
 <td><code>text-shadow</code></td>
 <td><bibref ref="xsl11"/></td>
-<td><code>-inherit</code></td>
+<td>-<code>inherit</code></td>
 <td>11,13</td>
 </tr>
 <tr>
 <td><loc href="#style-attribute-unicodeBidi"><code>tts:unicodeBidi</code></loc></td>
 <td><code>unicode-bidi</code></td>
 <td><bibref ref="xsl11"/></td>
-<td><code>-inherit</code></td>
+<td>-<code>inherit</code></td>
 <td>1</td>
 </tr>
 <tr>
 <td><loc href="#style-attribute-visibility"><code>tts:visibility</code></loc></td>
 <td><code>visibility</code></td>
 <td><bibref ref="xsl11"/></td>
-<td><code>-inherit</code>, <code>-collapse</code></td>
+<td>-<code>inherit</code>, -<code>collapse</code></td>
 <td></td>
 </tr>
 <tr>
 <td><loc href="#style-attribute-wrapOption"><code>tts:wrapOption</code></loc></td>
 <td><code>wrap-option</code></td>
 <td><bibref ref="xsl11"/></td>
-<td><code>-inherit</code></td>
+<td>-<code>inherit</code></td>
 <td>1</td>
 </tr>
 <tr>
 <td><loc href="#style-attribute-writingMode"><code>tts:writingMode</code></loc></td>
 <td><code>writing-mode</code></td>
 <td><bibref ref="xsl11"/></td>
-<td><code>-inherit</code>, <code>+tblr</code></td>
+<td>
+-<code>inherit</code>,
+-<code>bt-lr</code>,
+-<code>bt-rl</code>,
+-<code>lr-bt</code>,
+-<code>rl-bt</code>,
+-<code>lr-alternating-rl-bt</code>,
+-<code>lr-alternating-rl-tb</code>,
+-<code>lr-inverting-rl-bt</code>,
+-<code>lr-inverting-rl-tb</code>,
+-<code>tb-lr-in-lr-pairs</code>
+</td>
 <td>1</td>
 </tr>
 <tr>
 <td><loc href="#style-attribute-zIndex"><code>tts:zIndex</code></loc></td>
 <td><code>z-index</code></td>
 <td><bibref ref="xsl11"/></td>
-<td><code>-inherit</code></td>
+<td>-<code>inherit</code></td>
 <td>1</td>
 </tr>
 <tr>
Binary file ttml2/spec/xsd/schema.zip has changed
--- a/ttml2/spec/xsd/ttml2-datatypes.xsd	Sat Aug 24 17:19:09 2013 -0600
+++ b/ttml2/spec/xsd/ttml2-datatypes.xsd	Sat Aug 24 18:36:50 2013 -0600
@@ -331,6 +331,13 @@
       <xs:enumeration value="overline lineThrough underline"/>
     </xs:restriction>
   </xs:simpleType>
+  <xs:simpleType name="textOrientation">
+    <xs:restriction base="xs:token">
+      <xs:enumeration value="mixed"/>
+      <xs:enumeration value="sideways"/>
+      <xs:enumeration value="upright"/>
+    </xs:restriction>
+  </xs:simpleType>
   <xs:simpleType name="textOutline">
     <xs:annotation>
       <xs:documentation>none | length | length length | color length | color length length</xs:documentation>
--- a/ttml2/spec/xsd/ttml2-styling-attribs.xsd	Sat Aug 24 17:19:09 2013 -0600
+++ b/ttml2/spec/xsd/ttml2-styling-attribs.xsd	Sat Aug 24 18:36:50 2013 -0600
@@ -24,6 +24,7 @@
   <xs:attribute name="showBackground" type="ttd:showBackground"/>
   <xs:attribute name="textAlign" type="ttd:textAlign"/>
   <xs:attribute name="textDecoration" type="ttd:textDecoration"/>
+  <xs:attribute name="textOrientation" type="ttd:textOrientation"/>
   <xs:attribute name="textOutline" type="ttd:textOutline"/>
   <xs:attribute name="unicodeBidi" type="ttd:unicodeBidi"/>
   <xs:attribute name="visibility" type="ttd:visibility"/>
@@ -50,6 +51,7 @@
     <xs:attribute ref="tts:showBackground"/>
     <xs:attribute ref="tts:textAlign"/>
     <xs:attribute ref="tts:textDecoration"/>
+    <xs:attribute ref="tts:textOrientation"/>
     <xs:attribute ref="tts:textOutline"/>
     <xs:attribute ref="tts:unicodeBidi"/>
     <xs:attribute ref="tts:visibility"/>