ISSUE-232: Bottom-to-top text direction

Bottom-to-top text direction

Bottom-to-top text direction

State:
CLOSED
Product:
TTML2
Raised by:
Pierre-Anthony Lemieux
Opened on:
2013-05-30
Description:
[The following is extracted from the liaison received from SMPTE at https://lists.w3.org/Archives/Member/w3c-archive/2012Sep/0214.html]

See Section 6.3.5 at ST 428-7 and Section 8.2.24 at TTML.

It shall be possible to specify bottom-to-top progression direction. When text is vertically rendered, each individual character shall retain its horizontal orientation - the placement of the subsequent character shall be vertically positioned in relation to it.
Related Actions Items:
No related actions
Related emails:
  1. Format for TTML2 Branch Names (from glenn@skynav.com on 2017-03-26)
  2. Re: [ttml2] Action-369 Action-382 - draft dispositions flattened thread incorporating changes (from nigel.megitt@bbc.co.uk on 2015-03-19)
  3. Re: [ttml2] Action-369 - collate smpte issues and draft dispositions (from nigel.megitt@bbc.co.uk on 2015-03-18)
  4. Re: [ttml2] Action-369 - collate smpte issues and draft dispositions (from glenn@skynav.com on 2015-03-05)
  5. Re: [ttml2] Action-369 - collate smpte issues and draft dispositions (from nigel.megitt@bbc.co.uk on 2015-03-05)
  6. Re: [ttml2] Action-369 - collate smpte issues and draft dispositions (from glenn@skynav.com on 2015-03-04)
  7. Re: [ttml2] Action-369 - collate smpte issues and draft dispositions (from nigel.megitt@bbc.co.uk on 2015-03-04)
  8. Re: [ttml2] Action-369 - collate smpte issues and draft dispositions (from nigel.megitt@bbc.co.uk on 2015-02-25)
  9. [ttml2] Action-369 - collate smpte issues and draft dispositions (from nigel.megitt@bbc.co.uk on 2015-02-06)
  10. TTML Agenda for 19/09/13 (from Sean.Hayes@microsoft.com on 2013-09-19)
  11. No Meeting today 12-09-13 (from Sean.Hayes@microsoft.com on 2013-09-12)
  12. Minutes for 05/09/13 (from nigel.megitt@bbc.co.uk on 2013-09-05)
  13. Agenda for 05/09/13 (from glenn@skynav.com on 2013-09-04)
  14. RE: TTML Agenda for 29/08/13 (from mdolan@newtbt.com on 2013-08-28)
  15. TTML Agenda for 29/08/13 (from glenn@skynav.com on 2013-08-28)
  16. TTML Agenda for 15/08/13 (from Sean.Hayes@microsoft.com on 2013-08-15)
  17. Re: TML Agenda for 06/08/13 (from glenn@skynav.com on 2013-08-08)
  18. Re: TML Agenda for 06/08/13 (from pal@palemieux.com on 2013-08-08)
  19. TML Agenda for 06/08/13 (from Sean.Hayes@microsoft.com on 2013-08-08)
  20. [minutes] Timed Text 20130725 (from plh@w3.org on 2013-07-25)
  21. TTML Agenda for 25/07/13 (from Sean.Hayes@microsoft.com on 2013-07-25)
  22. ISSUE-232 (Bottom-to-top text direction): Bottom-to-top text direction [TTML.next] (from sysbot+tracker@w3.org on 2013-05-30)

Related notes:

It isn't clear whether this is asking for BIDI support in vertical lines or truly bottom to top vertical lines (as the primary inline progression direction).

If the former, then this is already supported in TTML by using writing-mode='tbrl' or 'tblr' in combination with BIDI content.

If the latter, then this would have an XSL-FO mapping, using the 'bt-rl' and 'bt-lr' writing modes, however, in an HTML/CSS mapping, direct support for bottom-to-top inline progression is not supported; rather, a combination of CSS3 Writing Mode's writing-mode: vertical-rl|vertical-lr would have to be paired with the unicode-bidi: bidi-override and direction: rtl. [I'm not sure this has been tested in using CSS3 WM, but I can check.]

Glenn Adams, 30 May 2013, 20:30:58

Here's some relevant text from Section 6.3.5 of ST 428-7:

"""
[...]
Bottom-to-top. The Unicode Bidirectional Algorithm shall not be used.
[...]

When bidirectional text is present in vertically rendered text, the Unicode Bidirectional Algorithm shall not be used and the characters shall be rendered in the order in which they appear in the Text element (when reading its content from left to right), in the direction specified by this Direction attribute’s value. When text is vertically rendered, each individual character shall retain its horizontal orientation - the placement of the subsequent character shall be vertically positioned in relation to it.

Note: The underlying thinking behind the above Direction attribute’s values definition is to determine the horizontal rendering direction using the Unicode Bidirectional Algorithm only, without breaking legacy implementations that do not support it at the time this standard was revised. It is expected that horizontal rendering direction would be determined by this algorithm usage only in the future.
"""

Pierre-Anthony Lemieux, 25 Jul 2013, 15:18:42

428-7 appears to mistakenly assume that the use of vertical text layout concurrently causes text from horizontal writing systems to be set upright rather than sideways (rotated clockwise). However, this is not the default semantics for text-orientation (see [1] and [2]).

Furthermore, 428-7 appears to be in error in proscribing the use of BIDI in vertical text, which *does* apply in the default orientation of Arabic/Hebrew when set in vertical lines (where text is set sideways by default).

In any case, I still am not finding a use case for bottom-to-top writing mode. Except for this mode, CSS will be able to accommodate 428-7, but I fear that a bottom-to-top mode will not be supportable in an HTML/CSS mapping.

[1] http://dev.w3.org/csswg/css-writing-modes/#intro-text-layout
[2] http://dev.w3.org/csswg/css-writing-modes/#text-orientation0

Glenn Adams, 25 Jul 2013, 18:26:28

> In any case, I still am not finding a use case for bottom-to-top writing mode.

The latest editor's draft of ST 428-7 shows bottom-to-top direction as deprecated. I suggest we put this issue on hold until ST 428-7 reaches Draft Publication.

Pierre-Anthony Lemieux, 15 Aug 2013, 03:48:00

WONTFIX. There is no support for bottom-to-top writing mode in CSS, so would not be able to map to HTML/CSS.

Glenn Adams, 28 Aug 2013, 19:43:10

Display change log ATOM feed


David Singer <singer@apple.com>, Nigel Megitt <nigel.megitt@bbc.co.uk>, Chairs, Thierry Michel <tmichel@w3.org>, Philippe Le Hégaret <plh@w3.org>, Atsushi Shimono <atsushi@w3.org>, Staff Contacts
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: 232.html,v 1.1 2019/11/12 10:06:15 carcone Exp $