Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added one note about line breaks and two-step for Jukugo-ruby (C-46-7-8) #75

Merged
merged 1 commit into from
Apr 19, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
16 changes: 14 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ <h3 id="matters-considered-by-the-placement-rules">Considerations for simple pl
and will use the same logic in either case.
Specifically, the center of the ruby string and of the base character
string are aligned in the inline direction for mono-ruby.</li>
<li id="l20200529009">Processing is done in two steps.
<li id="l20200529009"><p>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.
In the second step, layout processing decides the position of the <a title="ruby block">ruby block</a> in the line, taking into consideration the preceding and
Expand All @@ -220,7 +220,19 @@ <h3 id="matters-considered-by-the-placement-rules">Considerations for simple pl
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.
To summarise, the relative positions decided in the first step are not
modified by the second step at all.</li>
modified by the second step at all.</p>
<aside class="note" title="Line breake and two-step processing for Jukugo-ruby" id="n20211124001">
Line breaks are allowed inside Jukugo-ruby.
When line breaks are inserted inside Jukugo-ruby,
relative positions of the ruby annotation and its base text are changed compaired to ones before line breaks inserted.
For example, Jukugo-ruby whose base text is consisted of three characters,
three cases are possible with considering line breaks, three characters as one block, two blocks with one character and following two characters,
and two blocks with two characters and following one character.
For all of three cases,
relative positions of the ruby annotation and its base text are decided within each block without any relationship to surrounding characters.
Therefore, two-step processing method is applicable for Jukugo-ruby after line breaks inserted.
</aside>
</li>
<li id="l20200529010">Although there are cases where [[JLREQ]]
and [[JISX4051]] list multiple ways of positioning ruby, this document only describes one method, based on
the policies described above.
Expand Down