W3C home > Mailing lists > Public > public-tt@w3.org > February 2015

Fwd: WebVTT Horizontal writing direction

From: David Singer <singer@apple.com>
Date: Thu, 05 Feb 2015 09:25:20 -0800
To: TTWG <public-tt@w3.org>
Message-id: <C2FD29BA-4A3A-40D4-BD2E-61482FF9047C@apple.com>


> Begin forwarded message:
> 
> To: public-texttracks@w3.org, David Singer <singer@apple.com>
> Date: February 4, 2015 at 23:47:20 PST
> From: Simon Pieters <simonp@opera.com>
> Subject: Re: Fwd: WebVTT Horizontal writing direction
> Archived-At: <http://www.w3.org/mid/op.xtkqk6ffidj3kv@simons-macbook-pro.local>
> Resent-From: public-texttracks@w3.org
> 
> On Wed, 04 Feb 2015 20:34:36 +0100, David Singer <singer@apple.com> wrote:
> 
>> 
>> 
>>> Begin forwarded message:
>>> 
>>> Date: February 4, 2015 at 08:39:58 PST
>>> From: Thierry MICHEL <tmichel@w3.org>
>>> To: public-tt@w3.org, 'Silvia Pfeiffer' <silviapfeiffer1@gmail.com>
>>> Subject: WebVTT Horizontal writing direction
>>> Archived-At: <http://www.w3.org/mid/54D24B5E.7060102@w3.org>
>>> Resent-From: public-tt@w3.org
>>> 
>>> Hi,
>>> 
>>> WebVTT lastest draft [1]
>>> http://www.w3.org/TR/2014/WD-webvtt1-20141113/
>>> specifies the WebVTT vertical text cue setting
>>> 
>>> A WebVTT vertical text cue setting configures the cue to use vertical text layout rather than horizontal text layout. Vertical text layout is sometimes used in Japanese, for example. The default is horizontal layout.
>>> 
>>> vertical values:
>>> - vertical:rl 	writing direction is right to left
>>> - vertical:lr 	writing direction is left to right
>>> 
>>> 
>>> My issue is how can one set writing direction  "right to left" for horizontal text ? (example of arabic lang)
>>> I couldn't find explicit mention in the spec.
>>> like:
>>> - horizontal:rl 	writing direction is right to left
>>> - horizontal:lr 	writing direction is left to right
>>> 
>>> 
>>> Thierry
>>> 
>>> [1] http://www.w3.org/TR/2014/WD-webvtt1-20141113/
> 
> WebVTT determines the direction of a cue using "Unicode Bidirectional Algorithm's Paragraph Level steps".
> 
> http://dev.w3.org/html5/webvtt/#h4_processing-model
> 
> step 14.3.3.
> 
> So arabic should just work. It can also be explicitly set with &lrm; or &rlm; at the start of the cue text.
> 
> -- 
> Simon Pieters
> Opera Software

David Singer
Manager, Software Standards, Apple Inc.
Received on Thursday, 5 February 2015 17:25:52 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 5 October 2017 18:24:20 UTC