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

On Tue, Apr 24, 2012 at 1:41 AM, Andreas Tai <tai@irt.de> wrote:

>  As in TTML a region has always a predefined size, tt:p- and tt:span
> elements are the better choices to apply a non-transparent background color
> on a subtitle block that dynamically grows and shrinks with the
> corresponding text.
>

I'm not sure I understand what you mean by "has always a predefined size".
If by this you mean the "same" size, then I would not agree. A region's
size (extent) can be changed at any time by using <tt:set>.


> ****
>
> Unfortunately padding cannot be applied to tt:p and tt:span elements and
> the very common use case to have empty space between text and the border of
> a centered "text box" with dynamic width is hard to implement (for an
> illustration of two use cases see the attached images).****
>
> Therefore the EBU-Working group that specifies the TTML subset EBU-TT sees
> the requirements to add padding as an applicable style property for the
> tt:p and tt:span elements.****
>
> Best regards,****
>
> Andreas
>

Received on Tuesday, 24 April 2012 14:24:38 UTC