w3c / clreq

Requirements for Chinese Text Layout
https://www.w3.org/International/clreq/
Other
724 stars 61 forks source link

How to position ruby and emphasis marks #169

Open r12a opened 6 years ago

r12a commented 6 years ago

If both pinyin or other annotations and emphasis marks are applied to the same base characters, how should the relative positioning work?

This question arose from implementers applying the CSS spec, and it would be good to describe the requirements in clreq.

ryukeikun commented 6 years ago

I think it is a rare case, there is no absolute rules for this, and it is difficult for a document as clreq to give instructions to every extreme cases, where house rules should be applied.

e.g. the case shown in the pic below. For automatic type-setting, this is tolerable, but In printing matters, most of designer will think it is not the best answer. Designer usually may avoid pinyin and emphasis marks to appear on the same side of base characters, and may put pinyin/ruby anotations one side and emphasis marks on the other side, a special solution for this part only. text-emphasis-ruby

xfq commented 6 years ago

Are you satisfied with Eric's answer, @r12a? Do you think we should add a line to clreq, or close this issue? (Same question for #168.)

r12a commented 5 years ago

I definitely think we should add something to clreq. Here's some suggested text as a starter. I imagine this would be a new subsection at the end of 3.3 Interlinear Annotations.

Mixing emphasis marks and annotations

If both pinyin and emphasis marks are applied to the same base characters, here are no absolute rules for how to position them relative to each other, or relative to the base characters. The approach adopted often depends on the rules of a particular printing house.

For automatic type-setting, it is tolerable to include both on the same side of the base character (see Fig. XX), but In printing, most designers will usually prefer to avoid that. They may put pinyin annotations one side and emphasis marks on the other side, as a special solution for this situation only (see Fig. YY).