skynav / ttt

Timed Text Toolkit
BSD 2-Clause "Simplified" License
75 stars 15 forks source link

implement presentation semantics for tts:rubyOffset #173

Closed dae-kim closed 6 years ago

dae-kim commented 8 years ago
...
<styling>
<style xml:id="s3" tts:ruby="container" tts:rubyOffset="100px"/>
<style xml:id="s4" tts:ruby="base"/>
<style xml:id="s5" tts:ruby="text"/>
</styling>
<layout>
<region xml:id="horizontal" tts:displayAlign="after" tts:extent="80vw 30vh" tts:position="center bottom 10vh"/>
<region xml:id="vertical" tts:extent="30vh 80vh" tts:position="right 10vw center" tts:writingMode="tbrl"/>
</layout>
</head>
<body xml:space="preserve">
<div>
<p begin="00:00:01:00" end="00:00:02:00" region="horizontal"><span style="s3" tts:rubyOffset="0px"><span style="s4">十</span><span style="s5">一</span></span><span style="s3" tts:rubyOffset="5px"><span style="s4">人</span><span style="s5">二</span></span><span style="s3" tts:rubyOffset="10px"><span style="s4">十</span><span style="s5">三</span></span><span style="s3" tts:rubyOffset="15px"><span style="s4">色</span><span style="s5">四</span></span></p>
...

ttpi000001

skynavga commented 6 years ago

no longer in (ttml2) specification