When performing ruby layout in Japanese,
the following factors need to be considered
@@ -195,14 +195,16 @@
The Difficulties of Ruby Processing
-
Matters considered by the placement rules
+
Considerations for simple placement rules
-
Here are the fundamental assumptions underlying the simple placement rules.
+
Here are the fundamental assumptions underlying the simple placement rules. In this document we refer to the ruby
+annotation and its base text, collectively, as the ruby block.
-
Ruby is used to display the reading or the meaning of the base characters.
+
+
Ruby is used to display the reading or the meaning of the base characters.
Therefore, the number one priority here is to avoid misreadings.
Specifically, this method does not allow a ruby annotation which is wider than its base text to overhang the characters preceding or
- following, whether they are kanji or kana characters.
+ following the ruby block, whether they are kanji or kana characters.
Processing is done in two steps.
In the first step, processing of layout only considers the relative positions of the ruby
- annotation and its base text (we refer to these, collectively, in this document as the ruby-block).
- In the second step, layout processing decides the position of the ruby
- base text in the line, taking into consideration the preceding and
- following characters.
- In other words, the relative positions of the ruby annotation and its base text as decided in the first step are not modified
- in the light of any preceding and following characters.
- Also, when the base text is placed at
+ annotation and its base text.
+ In the second step, layout processing decides the position of the ruby block in the line, taking into consideration the preceding and
+ following characters. On the other hand, relative positions of the ruby annotation and its base text as decided in the first step are not modified
+ in the light of any characters preceding and following the ruby block.
+ Also, when the ruby block is placed at
the line head or the line end the method used in this document does not align the first or last
character of the base text to the line head or the line
end by modifying the relative positions of the ruby annotation and its base text.