Fix the line height and font size specs.
authorSilvia Pfeiffer
Fri, 02 Nov 2012 12:13:42 +1100
changeset 15 109f9150faa4
parent 14 494c943a7a0d
child 16 2cc815551051
Fix the line height and font size specs.
608toVTT/608toVTT.html
--- a/608toVTT/608toVTT.html	Fri Nov 02 11:23:17 2012 +1100
+++ b/608toVTT/608toVTT.html	Fri Nov 02 12:13:42 2012 +1100
@@ -192,7 +192,7 @@
           When rendering a WebVTT CEA-608 cue box, their sizes and positions are defined in relation to the size of the video viewport using the features of CEA-608:
         </p>
         <ul>
-          <li>The line height is defined as 5% of the video height, because CEA-608 requires 15 character rows to be rendered on 80% of the video rendering area’s height.</li>
+          <li>The line height is defined as 5.33% of the video height, because CEA-608 requires 15 character rows to be rendered on 80% of the video rendering area’s height.</li>
           <li>The font height is defined from the line height by dividing it by 1.3; this is to make sure there is enough space for the characters in a line.</li>
           <li>The column width is defined as 2.5% of the video width, because CEA-608 requires 32 columns of characters to be rendered on 80% of the video rendering area’s width.</li>
           <li>CEA-608 indent positions are every 10% of the video width, because CEA-68 defines a new indent position every 4 columns/characters.</li>
@@ -783,6 +783,8 @@
 
 /* default values */
 ::cue {
+  line-height: 5.33vh;
+  font-size: 4.1vh;
   font-family: monospace;
   font-style: normal;
   font-weight: normal;