- From: Sean Hayes <Sean.Hayes@microsoft.com>
- Date: Mon, 4 Feb 2013 19:00:49 +0000
- To: David Ronca <dronca@netflix.com>, "public-tt@w3.org" <public-tt@w3.org>
So assuming the video is 1080 x 609; then the top left of the drawn region will be 108, 60.9 The absolute pixel position of the first character will depend somewhat on the font selected, but it will be offset from that origin. However that answer is not really picking up on my point that the region should be cantered; and to do that in an aspect ratio agnostic manner requires a central anchor point on regions, which we don't currently have - but which has been proposed. -----Original Message----- From: David Ronca [mailto:dronca@netflix.com] Sent: 04 February 2013 10:15 To: public-tt@w3.org Subject: RE: RE: RE: Re: Re: TTML and aspect ratio Here is the scenario: 1) no extent specified on root container 2) 1080p video 3) Region with origin = "10%,10%", and extent = "50%,15.33%", and tts:textAlign="Left" What will be the absolute pixel position of the first character in this region? From: Sean Hayes <Sean.Hayes@microsoft.com> Date: Mon, 4 Feb 2013 18:00:16 +0000 To: David Ronca dronca@netflix.com Yes please explain. Since the root container is an invisible rectangle; you can tell what tis width and height is. The drawn regions by contrast you can tell. If the drawn region is centered and drawn 32 characters wide, then this solves the problem in 16:9, 4:3, 22:10 or anything else.
Received on Monday, 4 February 2013 19:01:44 UTC