Skip to content

Commit

Permalink
Editorial tweaks (Close #271)
Browse files Browse the repository at this point in the history
  • Loading branch information
palemieux committed Nov 6, 2017
1 parent ae10acb commit b70025d
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 24 deletions.
6 changes: 4 additions & 2 deletions imsc1/spec/examples/fillLineGap-example-2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@
<head>
<styling>
<style xml:id="spanStyle" tts:color="#ffffff" tts:backgroundColor="#000000" />
<style xml:id="paragraphStyleNoGap" tts:fontFamily="monospaceSerif" tts:textAlign="center" tts:fontSize="200%" tts:lineHeight="165%" itts:fillLineGap="true"/>
<style xml:id="paragraphStyle" tts:fontFamily="monospaceSerif" tts:textAlign="center" tts:fontSize="200%" tts:lineHeight="165%" itts:fillLineGap="false"/>
<style xml:id="paragraphStyleNoGap" tts:fontFamily="monospaceSerif" tts:textAlign="center" tts:fontSize="200%"
tts:lineHeight="165%" itts:fillLineGap="true"/>
<style xml:id="paragraphStyle" tts:fontFamily="monospaceSerif" tts:textAlign="center" tts:fontSize="200%"
tts:lineHeight="165%" itts:fillLineGap="false"/>

</styling>
<layout>
Expand Down
43 changes: 22 additions & 21 deletions imsc1/spec/examples/fillLineGap-example.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,26 @@
xml:lang="en"
ttp:cellResolution="50 30"
ttp:profile="http://www.w3.org/ns/ttml/profile/imsc1/text">
<head>
<styling>
<style xml:id="spanStyle" tts:color="#ffffff" tts:backgroundColor="#000000" />
<style xml:id="spanStyleSmall" tts:color="#000000" tts:backgroundColor="#dfbb02" tts:fontSize="50%"/>
<style xml:id="spanStyleBig" tts:color="#ffffff" tts:backgroundColor="#b75800" tts:fontSize="150%"/>
<style xml:id="paragraphStyle" tts:fontFamily="monospaceSerif" tts:textAlign="center" tts:fontSize="200%" tts:lineHeight="165%" itts:fillLineGap="true"/>
</styling>
<layout>
<region xml:id="bottom" tts:origin="10% 10%" tts:extent="80% 80%" tts:displayAlign="after" />
</layout>
</head>
<body>
<div>
<p xml:id="subtitle1" region="bottom" begin="00:00:00.000" end="00:00:30.000" style="paragraphStyle">
<span style="spanStyle">##Line gaps##</span><br/>
<span style="spanStyle">The quick </span><span style="spanStyleBig">brown</span><span style="spanStyle"> fox</span><br/>
<span style="spanStyle">jumps over the </span><span style="spanStyleSmall">lazy</span><span style="spanStyle"> dog</span><br/>
<span style="spanStyle">##Line gaps##</span>
</p>
</div>
</body>
<head>
<styling>
<style xml:id="spanStyle" tts:color="#ffffff" tts:backgroundColor="#000000" />
<style xml:id="spanStyleSmall" tts:color="#000000" tts:backgroundColor="#dfbb02" tts:fontSize="50%"/>
<style xml:id="spanStyleBig" tts:color="#ffffff" tts:backgroundColor="#b75800" tts:fontSize="150%"/>
<style xml:id="paragraphStyle" tts:fontFamily="monospaceSerif" tts:textAlign="center"
tts:fontSize="200%" tts:lineHeight="165%" itts:fillLineGap="true"/>
</styling>
<layout>
<region xml:id="bottom" tts:origin="10% 10%" tts:extent="80% 80%" tts:displayAlign="after" />
</layout>
</head>
<body>
<div>
<p xml:id="subtitle1" region="bottom" begin="00:00:00.000" end="00:00:30.000" style="paragraphStyle">
<span style="spanStyle">##Line gaps##</span><br/>
<span style="spanStyle">The quick </span><span style="spanStyleBig">brown</span><span style="spanStyle"> fox</span><br/>
<span style="spanStyle">jumps over the </span><span style="spanStyleSmall">lazy</span><span style="spanStyle"> dog</span><br/>
<span style="spanStyle">##Line gaps##</span>
</p>
</div>
</body>
</tt>
2 changes: 1 addition & 1 deletion imsc1/spec/ttml-ww-profiles.html
Original file line number Diff line number Diff line change
Expand Up @@ -1058,7 +1058,7 @@ <h4>itts:fillLineGap</h4>
</figure>

<p>Also, as illustrated in the following example, because the line areas of successive <code>p</code> elements are
contiguous, no gap exists between two successive <code>p</code> elements where<code>itts:fillLineGap="true"</code>.</p>
contiguous, no gap exists between two successive <code>p</code> elements where <code>itts:fillLineGap="true"</code>.</p>
<pre class='example' data-include='examples/fillLineGap-example-2.xml' data-include-format='text'>
</pre>

Expand Down

0 comments on commit b70025d

Please sign in to comment.