W3C home > Mailing lists > Public > public-tt@w3.org > April 2012

Re: Padding on tt:p and tt:span elements

From: Glenn Adams <glenn@skynav.com>
Date: Wed, 25 Apr 2012 09:00:38 -0600
Message-ID: <CACQ=j+cDHNqSa8JUZV94Xew8EVjmBHOkprQ0Yszn+smoKKXx1Q@mail.gmail.com>
To: John Birch <John.Birch@screensystems.tv>
Cc: Andreas Tai <tai@irt.de>, public-tt <public-tt@w3.org>
On Wed, Apr 25, 2012 at 5:22 AM, John Birch <John.Birch@screensystems.tv>wrote:

>  In TTML as I understand it(as a result of derivation from xsl:fo?),
> there is no possible mechanism that can *set* the region size as a result
> of a calculation of the *rendered* text size on the display. In contrast
> to broadcast practises, in TTML the text is fitted inside a predefined
> region (or overflows / clips), rather than the region (growing) fitting the
> text.
>

it can, if the size can be determined at authoring time; but that will
depend on font usage; so you are correct that if the font size is unknown,
then you may have to overestimate the size, e.g., by using em or c length
units
Received on Wednesday, 25 April 2012 15:01:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 15:01:27 GMT