W3C home > Mailing lists > Public > public-tt@w3.org > July 2016

[ttml-webvtt-mapping] tts:origin to VTTCue position/line looks backwards

From: Joey Parrish via GitHub <sysbot+gh@w3.org>
Date: Fri, 08 Jul 2016 23:58:29 +0000
To: public-tt@w3.org
Message-ID: <issues.opened-164637603-1468022307-sysbot+gh@w3.org>
joeyparrish has just created a new issue for 
https://github.com/w3c/ttml-webvtt-mapping:

== tts:origin to VTTCue position/line looks backwards ==
This text in the mapping spec looks backward to me:

> To convert tts:origin to WebVTT cue settings:
> ...
> - If the block progression direction is top to bottom:
>   - The value of the "line" cue setting is the percentage value for 
the second coordinate of the origin attribute.
>   - The value of the "position" cue setting is the percentage value 
for the first coordinate of the origin attribute.
> - If the block progression direction is left to right:
>   - The value of the "line" cue setting is the percentage value for 
the first coordinate of the origin attribute.
>   - The value of the "position" cue setting is the percentage value 
for the second coordinate of the origin attribute.

The VTT spec says:

> The position defines the indent of the cue box in the direction 
defined by the writing direction.

For horizontal text (left to right), the x coordinate (first 
coordinate) should be used to indent the text horizontally.  Therefore
 the first coordinate should set position, not line.

Is this a mistake, or do I misunderstand the specs?

Please view or discuss this issue at 
https://github.com/w3c/ttml-webvtt-mapping/issues/25 using your GitHub
 account
Received on Friday, 8 July 2016 23:58:37 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 5 October 2017 18:24:29 UTC