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:
- Re: [ttml2] Action-369 Action-382 - draft dispositions flattened thread incorporating changes (from nigel.megitt@bbc.co.uk on 2015-03-19)
- Re: [ttml2] Action-369 - collate smpte issues and draft dispositions (from nigel.megitt@bbc.co.uk on 2015-03-18)
- Re: [ttml2] Action-369 - collate smpte issues and draft dispositions (from glenn@skynav.com on 2015-03-05)
- Re: [ttml2] Action-369 - collate smpte issues and draft dispositions (from nigel.megitt@bbc.co.uk on 2015-03-05)
- Re: [ttml2] Action-369 - collate smpte issues and draft dispositions (from glenn@skynav.com on 2015-03-04)
- Re: [ttml2] Action-369 - collate smpte issues and draft dispositions (from nigel.megitt@bbc.co.uk on 2015-03-04)
- Re: [ttml2] Action-369 - collate smpte issues and draft dispositions (from nigel.megitt@bbc.co.uk on 2015-02-25)
- [ttml2] Action-369 - collate smpte issues and draft dispositions (from nigel.megitt@bbc.co.uk on 2015-02-06)
- {minutes} TTWG Meeting 2015-01-22 (from nigel.megitt@bbc.co.uk on 2015-01-22)
- Re: {minutes} TTWG Meeting 9/10/2014 (from silviapfeiffer1@gmail.com on 2014-10-10)
- {minutes} TTWG Meeting 9/10/2014 (from nigel.megitt@bbc.co.uk on 2014-10-09)
- {agenda} TTWG Meeting 9/10/2014 (from nigel.megitt@bbc.co.uk on 2014-10-08)
- Re: {minutes} TTWG Meeting 2/10/2014 (from glenn@skynav.com on 2014-10-02)
- [css-ruby] how to specify offset of ruby annotation box from ruby base box? (from glenn@skynav.com on 2014-10-02)
- {minutes} TTWG Meeting 2/10/2014 (from nigel.megitt@bbc.co.uk on 2014-10-02)
- {agenda} TTWG Meeting 2/10/2014 (from nigel.megitt@bbc.co.uk on 2014-10-01)
- Re: [TTML2] Issue-228: Ruby text support (from glenn@skynav.com on 2014-09-25)
- Re: [TTML2] Issue-228: Ruby text support (from nigel.megitt@bbc.co.uk on 2014-09-25)
- Re: [TTML2] Issue-228: Ruby text support (from glenn@skynav.com on 2014-09-25)
- [TTML2] Issue-228: Ruby text support (from nigel.megitt@bbc.co.uk on 2014-09-25)
- {agenda} TTWG Meeting 25/9/2014 (from nigel.megitt@bbc.co.uk on 2014-09-24)
- {minutes} TTML Meeting of 24/10/13 (from glenn@skynav.com on 2013-10-24)
- RE: TTML Agenda for 24/10/13 (from mdolan@newtbt.com on 2013-10-23)
- TTML Agenda for 24/10/13 (from nigel.megitt@bbc.co.uk on 2013-10-23)
- 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:27http://www.w3.org/TR/html-ruby-extensions/
PAL: P2
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:44Addressed 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:32Remove interCharacter value due to (1) lack of requirements, and (2) relative complexity.
https://dvcs.w3.org/hg/ttml/rev/3879885151e0
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:02Add 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
Display change log