W3C home > Mailing lists > Public > public-tt@w3.org > December 2008

Re: TextAlign002 and use of textAlign on span elements

From: Glenn A. Adams <gadams@xfsi.com>
Date: Fri, 12 Dec 2008 17:32:20 +0800
To: John Birch <john.birch@screen.subtitling.com>, Philippe Le Hegaret <plh@w3.org>, Public TTWG List <public-tt@w3.org>
Message-ID: <C56850A4.6E6C%gadams@xfsi.com>
Since DFXP does support cell based layout (provided a suitable fixed width
font is used), then you can at least do the same as with teletext.
Otherwise, you would simply use two overlapping regions with no background
color. If you wanted a background under the combination, you could use three
regions, with the back-most being empty except for providing a background
color (and using showBackground=˛always˛).


On 12/11/08 7:35 PM, "John Birch" <john.birch@screen.subtitling.com> wrote:

> OK...
> So in fact, <p> elements do have the 'visual' effect of a CRLF (by virtue of
> creating stacked line areas) even though no CRLF occurs within the line area.
> so 
> <p>This text is above</p>
> <p>This text is below</p>
> would give the same 'visual' effect as:
> <p> This text is above<br/>This text is below</p>
> What I'd like to distribute in DFXP is text that had the following visual
> presentation characteristics.
> Where the two sentences are aligned respectively against the left and right
> 'margins' (region boundaries).
> "This text is left.       This text is right."
> This is because it is quite desirable to have...
> "Hey Joe!                    Yes Fred?"
> ...type of subtitles within fast moving dialogue... the alignment corresponds
> to speaker location on screen.
> [In a Teletext subtitle presentation, this can be achieved using the cell
> based nature of Teletext and the nature of a fixed width space character.]
> regards,
> John
> John Birch | Screen Subtitling Systems Ltd | Strategic Partnerships Manager
> Main Line : +44 (0)1473 831700 | Ext : 270 | Direct Dial : +44 (0)1473 834532
> Mobile : +44 (0)7919 558380 | Fax : +44 (0)1473 830078
> john.birch@screen.subtitling.com | www.screen.subtitling.com
> <http://www.screen.subtitling.com>
> The Old Rectory, Claydon Curch Lane, Claydon,Ipswich,Suffolk,IP6 0EQ,United
> Kingdom
> See us at Broadcast Video Expo - February 17th - 19th 2009, Earls Court 2,
> London, Stand number K56
> P Before printing, think about the environment
> From: Glenn A. Adams [mailto:gadams@xfsi.com]
> Sent: 11 December 2008 10:37
> To: John Birch; Philippe Le Hegaret; Public TTWG List
> Subject: Re: TextAlign002 and use of textAlign on span elements
> Ah, now I understand your question about <p/>, which was not clear before. In
> fact, if you have two <p/>s each containing some content, then there is an
> explicit (not implied) boundary between them, since each would generate a
> non-empty line area, and line areas do no pack (in inline progression
> direction),  but stack (in block progression direction). So what you suggest
> would not work either.
> G.
> On 12/11/08 4:16 PM, "John Birch" <john.birch@screen.subtitling.com> wrote:
>> Thanks Glen,
>> I wasn't seeking to introduce new  reqs. :-)
>> If a p element does not necessarily incur crlf behaviour then  what I need
>> could presumably be achieved using two p elements in par with  different
>> alignment style attributes 'drawing' into the same  region?
> This message may contain confidential and/or privileged information. If you
> are not the intended recipient you must not use, copy, disclose or take any
> action based on this message or any information herein. If you have received
> this message in error, please advise the sender immediately by reply e-mail
> and delete this message. Thank you for your cooperation. Screen Subtitling
> Systems Ltd. Registered in England No. 2596832. Registered Office: The Old
> Rectory, Claydon Church Lane, Claydon, Ipswich, Suffolk, IP6 0EQ
Received on Friday, 12 December 2008 09:33:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 2 November 2009 22:41:39 GMT