[ttml2] add sideways{Left,Right} values to tts:textOrientation
authorGlenn Adams <glenn@skynav.com>
Thu, 05 Dec 2013 13:32:56 -0700
changeset 582 45150fa4ecd2
parent 581 37c179cee73d
child 583 e17f7862b826
[ttml2] add sideways{Left,Right} values to tts:textOrientation
ttml2/spec/rnc/schema.zip
ttml2/spec/rnc/ttml2-datatypes.rnc
ttml2/spec/ttml2.xml
ttml2/spec/xsd/schema.zip
ttml2/spec/xsd/ttml2-datatypes.xsd
Binary file ttml2/spec/rnc/schema.zip has changed
--- a/ttml2/spec/rnc/ttml2-datatypes.rnc	Wed Nov 20 07:22:47 2013 +0800
+++ b/ttml2/spec/rnc/ttml2-datatypes.rnc	Thu Dec 05 13:32:56 2013 -0700
@@ -294,6 +294,8 @@
 TTAF.TextOrientation.datatype =
   "mixed" |
   "sideways" |
+  "sidewaysLeft" |
+  "sidewaysRight" |
   "upright"
 
 TTAF.TextOutline.datatype =
--- a/ttml2/spec/ttml2.xml	Wed Nov 20 07:22:47 2013 +0800
+++ b/ttml2/spec/ttml2.xml	Thu Dec 05 13:32:56 2013 -0700
@@ -5989,8 +5989,10 @@
 <td><emph>Values:</emph></td>
 <td>
 <code>mixed</code> |
-<code>upright</code> |
-<code>sideways</code>
+<code>sideways</code> |
+<code>sidewaysLeft</code> |
+<code>sidewaysRight</code> |
+<code>upright</code>
 </td>
 </tr>
 <tr>
@@ -6024,6 +6026,15 @@
 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>sidewaysLeft</code>, then, in vertical writing modes,
+glyphs from horizontal scripts are set sideways with 90&deg; counter-clockwise rotation.</p>
+<p>If the value of this attribute is <code>sidewaysRight</code>, then, in vertical writing modes,
+glyphs from horizontal scripts are set sideways with 90&deg; clockwise rotation.</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 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
@@ -6031,11 +6042,6 @@
 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 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>mixed</code>.</p>
Binary file ttml2/spec/xsd/schema.zip has changed
--- a/ttml2/spec/xsd/ttml2-datatypes.xsd	Wed Nov 20 07:22:47 2013 +0800
+++ b/ttml2/spec/xsd/ttml2-datatypes.xsd	Thu Dec 05 13:32:56 2013 -0700
@@ -480,6 +480,8 @@
     <xs:restriction base="xs:token">
       <xs:enumeration value="mixed"/>
       <xs:enumeration value="sideways"/>
+      <xs:enumeration value="sidewaysLeft"/>
+      <xs:enumeration value="sidewaysRight"/>
       <xs:enumeration value="upright"/>
     </xs:restriction>
   </xs:simpleType>