Re: WebVTT Text Positioning

For 608 captions, the line height should be (display_height - safe_area)  /
15.  The font size should be such that a monospaced letter will fill one
cell.  How does WebVTT handle this?

Thanks,
David



On Tue, Jun 25, 2013 at 6:03 PM, Silvia Pfeiffer
<silviapfeiffer1@gmail.com>wrote:

> On Wed, Jun 26, 2013 at 10:42 AM, David Ronca <dronca@netflix.com> wrote:
> > If I want to position CEA608 text at row 10, column 10 the cue might look
> > like this:
> >
> > Cue-8 00:00:52.000 --> 00:00:54.000 position:35% line:58* align:left
> > size:25% Tis a test
> >
> > There are 10 characters so the size is 10* cell width (2.5%). Wondering
> if I
> > also need to specify the height, which would be one row (5.33%), but I
> see
> > no way to do this with the WebVTT spec. Is line height baked into the
> > implementation?
>
> Line height is set by CSS automatically based on font size, and there
> is no cue setting for it because there shouldn't be a need to change
> it. However, you can always set line-height through CSS.
>
> Silvia.
>

Received on Wednesday, 26 June 2013 03:02:24 UTC