ISSUE-228: Ruby text support

Ruby text

Ruby text support

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.5 at ST 428-7 and Ruby Annotation at http://www.w3.org/TR/Ruby/.

A Ruby element shall consist of two sequences of characters: a base character sequence and an associated Ruby character sequence, as illustrated in Figure 1. It shall be considered an inline block for formatting and flow.

Figure 1. Ruby text examples.

Note: Ruby text is typically used with logographic characters such as Chinese or Japanese as pronunciation guides for characters that are likely to be unfamiliar to the reader.

The baseline of a Ruby text shall be the baseline of its base sequence.

All style parameters applicable to <span> shall be applicable to both the base and Ruby sequences individually. The following additional style parameters shall be applicable to the Ruby sequence.

Position
--------

It shall be possible to specify the position of the Ruby sequence relative to the base sequence.

A position of "before" shall indicate that the Ruby characters are rendered above the base characters for horizontal progression, or to the right of the base characters for vertical progression.

A position of "after" shall indicate that the Ruby characters are rendered below the base characters for horizontal progression, or to the left of the base characters for vertical progression.

Offset
------

It shall be possible to specify the offset, in em, between the rendered Ruby and base sequences. The permissible negative offset shall be no less than -1.0em.
Related Actions Items:
No related actions
Related emails:
  1. Re: [ttml2] Action-369 Action-382 - draft dispositions flattened thread incorporating changes (from nigel.megitt@bbc.co.uk on 2015-03-19)
  2. Re: [ttml2] Action-369 - collate smpte issues and draft dispositions (from nigel.megitt@bbc.co.uk on 2015-03-18)
  3. Re: [ttml2] Action-369 - collate smpte issues and draft dispositions (from glenn@skynav.com on 2015-03-05)
  4. Re: [ttml2] Action-369 - collate smpte issues and draft dispositions (from nigel.megitt@bbc.co.uk on 2015-03-05)
  5. Re: [ttml2] Action-369 - collate smpte issues and draft dispositions (from glenn@skynav.com on 2015-03-04)
  6. Re: [ttml2] Action-369 - collate smpte issues and draft dispositions (from nigel.megitt@bbc.co.uk on 2015-03-04)
  7. Re: [ttml2] Action-369 - collate smpte issues and draft dispositions (from nigel.megitt@bbc.co.uk on 2015-02-25)
  8. [ttml2] Action-369 - collate smpte issues and draft dispositions (from nigel.megitt@bbc.co.uk on 2015-02-06)
  9. {minutes} TTWG Meeting 2015-01-22 (from nigel.megitt@bbc.co.uk on 2015-01-22)
  10. Re: {minutes} TTWG Meeting 9/10/2014 (from silviapfeiffer1@gmail.com on 2014-10-10)
  11. {minutes} TTWG Meeting 9/10/2014 (from nigel.megitt@bbc.co.uk on 2014-10-09)
  12. {agenda} TTWG Meeting 9/10/2014 (from nigel.megitt@bbc.co.uk on 2014-10-08)
  13. Re: {minutes} TTWG Meeting 2/10/2014 (from glenn@skynav.com on 2014-10-02)
  14. [css-ruby] how to specify offset of ruby annotation box from ruby base box? (from glenn@skynav.com on 2014-10-02)
  15. {minutes} TTWG Meeting 2/10/2014 (from nigel.megitt@bbc.co.uk on 2014-10-02)
  16. {agenda} TTWG Meeting 2/10/2014 (from nigel.megitt@bbc.co.uk on 2014-10-01)
  17. Re: [TTML2] Issue-228: Ruby text support (from glenn@skynav.com on 2014-09-25)
  18. Re: [TTML2] Issue-228: Ruby text support (from nigel.megitt@bbc.co.uk on 2014-09-25)
  19. Re: [TTML2] Issue-228: Ruby text support (from glenn@skynav.com on 2014-09-25)
  20. [TTML2] Issue-228: Ruby text support (from nigel.megitt@bbc.co.uk on 2014-09-25)
  21. {agenda} TTWG Meeting 25/9/2014 (from nigel.megitt@bbc.co.uk on 2014-09-24)
  22. {minutes} TTML Meeting of 24/10/13 (from glenn@skynav.com on 2013-10-24)
  23. RE: TTML Agenda for 24/10/13 (from mdolan@newtbt.com on 2013-10-23)
  24. TTML Agenda for 24/10/13 (from nigel.megitt@bbc.co.uk on 2013-10-23)
  25. ISSUE-228 (Ruby text): Ruby text support [TTML.next] (from sysbot+tracker@w3.org on 2013-05-30)

Related notes:

This needs to be aligned with the current proposed approach for Ruby in HTML5, which differs from the referenced Ruby Annotation spec.

Glenn Adams, 30 May 2013, 19:49:27

http://www.w3.org/TR/html-ruby-extensions/

PAL: P2

Philippe Le Hégaret, 24 Oct 2013, 15:41:18

See also https://lists.w3.org/Archives/Member/member-tt/2007Apr/0010.html for a workaround in TTML1.

Glenn Adams, 19 Feb 2014, 21:31:44

Addressed in https://dvcs.w3.org/hg/ttml/rev/6dcc85afb4f8 except for requested mechanism to specify offset between ruby base and text boxes. It may be possible that specifying after padding on the ruby text annotation span can satisfy this requirement, but it needs some investigation to determine what is done with CSS Ruby.

Glenn Adams, 21 Sep 2014, 02:02:32

Remove interCharacter value due to (1) lack of requirements, and (2) relative complexity.

https://dvcs.w3.org/hg/ttml/rev/3879885151e0

Glenn Adams, 24 Sep 2014, 19:20:37

Alignment with the proposed approach for Rubys in HTML5 has been achieved semantically but not syntactically with the current draft proposal. One of the impacts of this is that, in order to support Rubys, processors must also support #nested-span. Another is that an extra level of translation is needed to create an HTML5 equivalent ISD including Rubys.

Nigel Megitt, 25 Sep 2014, 09:47:02

Add definition of tts:rubyOffset https://dvcs.w3.org/hg/ttml/rev/c62837d89619 . In addition, add constraints that translate to content model employed by Ruby Annotations [1].

[1] http://www.w3.org/TR/2001/REC-ruby-20010531/#abstract-def

Glenn Adams, 2 Oct 2014, 21:43:59

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: 228.html,v 1.1 2019/11/12 10:06:12 carcone Exp $