ISSUE-228 (Ruby text): Ruby text support [TTML.next]

ISSUE-228 (Ruby text): Ruby text support [TTML.next]

http://www.w3.org/AudioVideo/TT/tracker/issues/228

Raised by: Pierre-Anthony Lemieux
On product: TTML.next

[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.

Received on Thursday, 30 May 2013 14:21:42 UTC