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

RE: TextAlign002 and use of textAlign on span elements

From: John Birch <john.birch@screen.subtitling.com>
Date: Thu, 11 Dec 2008 11:35:48 -0000
Message-ID: <4476B296B92A4741A49B0BD017590700AA7879@sss-uk-ex-02.screen.subtitling.local>
To: "Glenn A. Adams" <gadams@xfsi.com>, "Philippe Le Hegaret" <plh@w3.org>, "Public TTWG List" <public-tt@w3.org>
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
 
 
 
________________________________

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?
	


John Birch | Screen Subtitling Systems Ltd | Strategic Partnerships Manager
Main Line : +44 (0)1473 831700 | Ext : 270 | Office :  
Mobile: +44 (0)7919 558380 | Fax: +44 (0)1473 830078
john.birch@screen.subtitling.com | www.screen.subtitling.com
The Old Rectory, Claydon Curch Lane, Claydon,Ipswich,IP6 0EQ,United Kingdom


See us at Broadcast Video Expo - February 17th - 19th 2009, Earls Court 2, London, Stand number K56


Before Printing, think about the environment


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 Thursday, 11 December 2008 11:36:31 GMT

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