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

Re: WebVTT Horizontal writing direction

From: Glenn Adams <glenn@skynav.com>
Date: Tue, 10 Feb 2015 08:09:41 -0700
Message-ID: <CACQ=j+eBAnVXvjvSo545qJbKuqrj0rFdvXmufCdi255RPwUMWg@mail.gmail.com>
To: Philip Jägenstedt <philipj@opera.com>
Cc: Dae Kim <dakim@netflix.com>, Thierry MICHEL <tmichel@w3.org>, TTWG <public-tt@w3.org>, Silvia Pfeiffer <silviapfeiffer1@gmail.com>
Except in cases where tate chu yoko (horizontal in vertical combination)
applies, Arabic script will follow Latin script behavior, i.e., be rotated
90 degrees clockwise.

On Tue, Feb 10, 2015 at 1:51 AM, Philip Jägenstedt <philipj@opera.com>
wrote:

> That's a good question, Dae.
>
> This will end up doing the same as when mixing &rlm; with vertical
> text in CS. I don't know what that something is, but hope it's well
> defined :)
>
> Philip
>
> On Fri, Feb 6, 2015 at 7:05 AM, Dae Kim <dakim@netflix.com> wrote:
> > Related questions:
> >
> > What is the expected behavior when &rlm; is applied to vertical:rl or
> > vertical:lr text?
> > The BiDi spec defers to "higher-level protocols".
> >
> > When text is written horizontally, it rests along a horizontal baseline
> > (whether it's English alphabet or Japanese characters).
> > When applying a vertical writing direction, should the text remain along
> a
> > horizontal baseline or should it rotate 90 degrees to rest on a vertical
> > baseline?
> > Is the expected behavior consistent whether it's English alphabet or
> > Japanese characters?
> >
> >
> > -Dae
> >
> > Dae Kim | Video Engineer | Encoding Technology
> > 9420 94f4 a834 b038 2920 34b3 38ad b632 3738 942c 942f
> >
> > On Wed, Feb 4, 2015 at 7:11 PM, Philip Jägenstedt <philipj@opera.com>
> wrote:
> >>
> >> To get RTL you simply use a cue text which is RTL according to the
> >> BiDi algorithm, and you can use &lrm; and &rlm; to where necessary in
> >> mixed-directionality text.
> >>
> >> Note, however, that the equivalent to vertical:rl for horizontal text
> >> would be control over which direction additional lines of texts grow,
> >> up or down. We don't have explicit control over that, even though the
> >> cue placement algorithm does move whole cues up or down.
> >>
> >> Philip
> >>
> >> On Wed, Feb 4, 2015 at 11:39 PM, Thierry MICHEL <tmichel@w3.org> wrote:
> >> > 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/
> >> >
> >>
> >
>
>
Received on Tuesday, 10 February 2015 15:10:30 UTC

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