Skip to content

Commit 066ddd5

Browse files
committed
Add Vertical Orientations section and vosimple.txt
1 parent 7f80974 commit 066ddd5

3 files changed

Lines changed: 516 additions & 2 deletions

File tree

css3-writing-modes/Overview.html

Lines changed: 42 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,10 @@ <h2 class="no-num no-toc" id=Contents> Table of Contents</h2>
240240
Text: the ‘<code class=property>text-orientation</code>
241241
property</a>
242242
<ul class=toc>
243-
<li><a href="#vertical-font-features"><span class=secno>5.1.1. </span>
243+
<li><a href="#vertical-orientations"><span class=secno>5.1.1. </span>
244+
Vertical Orientations</a>
245+
246+
<li><a href="#vertical-font-features"><span class=secno>5.1.2. </span>
244247
Vertical Typesetting and Font Features</a>
245248
</ul>
246249
</ul>
@@ -1887,7 +1890,44 @@ <h3 id=text-orientation><span class=secno>5.1. </span> Orienting Text: the
18871890
some guidance on the orientation of characters is given in <a
18881891
href="#vertical-typesetting-details">Appendix C</a>.
18891892

1890-
<h4 id=vertical-font-features><span class=secno>5.1.1. </span> Vertical
1893+
<h4 id=vertical-orientations><span class=secno>5.1.1. </span> Vertical
1894+
Orientations</h4>
1895+
1896+
<p><a href="https://bitbucket.org/kojiishi/ucd/raw/tip/vosimple.txt">This
1897+
data file</a> defines two properties in UCD format <a href="#UAX44"
1898+
rel=biblioentry>[UAX44]<!--{{!UAX44}}--></a>:
1899+
1900+
<dl>
1901+
<dt><dfn id=mvosimple>MVOsimple</dfn>
1902+
1903+
<dd>This property defines character orientations for ‘<a
1904+
href="#mixed-right"><code class=css>mixed-right</code></a>’.
1905+
1906+
<dt><dfn id=svosimple>SVOsimple</dfn>
1907+
1908+
<dd>This property defines character orientations for ‘<a
1909+
href="#upright"><code class=css>upright</code></a>’.
1910+
</dl>
1911+
1912+
<p>The UA should render a character in upright if the value is ‘<code
1913+
class=css>U</code>’, or in sideways if ‘<code class=css>R</code>’.
1914+
1915+
<div class=note>These two properties are derived properties using the
1916+
pseudo-algorithm shown below:
1917+
<pre>
1918+
if ((HO = "L") and (VO = "U")) then
1919+
VOsimple := "R"
1920+
else if (VO in ["U", "T", "Tu", "Tr"]) then
1921+
VOsimple := "U"
1922+
else if (VO = "R") then
1923+
VOsimple := "R"</pre>
1924+
1925+
<p>from draft #5 of <a href="#UTR50"
1926+
rel=biblioentry>[UTR50]<!--{{UTR50}}--></a> with a few changes that were
1927+
discussed with UTC.</p>
1928+
</div>
1929+
1930+
<h4 id=vertical-font-features><span class=secno>5.1.2. </span> Vertical
18911931
Typesetting and Font Features</h4>
18921932

18931933
<p>When typesetting text in vertical writing modes:

css3-writing-modes/Overview.src.html

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1322,6 +1322,31 @@ <h3 id="text-orientation">
13221322
some guidance on the orientation of characters is given in
13231323
<a href="#vertical-typesetting-details">Appendix C</a>.
13241324

1325+
<h4 id=vertical-orientations>
1326+
Vertical Orientations</h4>
1327+
1328+
<p><a href="https://bitbucket.org/kojiishi/ucd/raw/tip/vosimple.txt">This data file</a>
1329+
defines two properties in UCD format [[!UAX44]]:</p>
1330+
<dl>
1331+
<dt><dfn>MVOsimple</dfn></dt>
1332+
<dd>This property defines character orientations for ''mixed-right''.</dd>
1333+
<dt><dfn>SVOsimple</dfn></dt>
1334+
<dd>This property defines character orientations for ''upright''.</dd>
1335+
</dl>
1336+
<p>The UA should render a character in upright if the value is ''U'',
1337+
or in sideways if ''R''.</p>
1338+
<div class="note">These two properties are derived properties
1339+
using the pseudo-algorithm shown below:
1340+
<pre>
1341+
if ((HO = "L") and (VO = "U")) then
1342+
VOsimple := "R"
1343+
else if (VO in ["U", "T", "Tu", "Tr"]) then
1344+
VOsimple := "U"
1345+
else if (VO = "R") then
1346+
VOsimple := "R"</pre>
1347+
<p>from draft #5 of [[UTR50]] with a few changes that were discussed with UTC.</p>
1348+
</div>
1349+
13251350
<h4 id=vertical-font-features>
13261351
Vertical Typesetting and Font Features</h4>
13271352

0 commit comments

Comments
 (0)