Ruby and emphasis marks
It’s possible to add emphasis marks to text using
-ah-text-emphasis-style. The space from the base character, font and size of the emphasis marks can be specified. Emphasis marks can be applied only to the script of Latn, Cyrl, Grek and Zyyy besides CJK. Emphasis marks can be put on the base characters of ruby, but they cannot be put on ruby characters.
Style of Emphasis marks
You can specify the style of emphasis marks with dot, circle, double-circle, triangle and sesame. You can also specify filled to fill the emphasis marks or open to make them outlined. Additionally, you can specify any text as an emphasis mark.
Using ruby and emphasis marks together
Ruby and emphasis marks can be used together. When the ruby and emphasis marks are put on the same side, emphasis marks will be put outside of ruby.
Using ruby and emphasis marks together (Align emphasis marks)
Emphasis marks can be aligned by the setting of -ah-text-emphasis-offset.
Placement of emphasis marks
With
-ah-text-emphasis-position, you can specify where to place emphasis marks. When ‘before’ is specified, emphasis marks will be placed on the before side of its base character, and when ‘after’ is specified, emphasis marks will be placed on the after side of its base character.
Skipping emphasis marks
With ‘axf:text-emphasis-skip’, you can specify to which characters you do not apply emphasis marks. You can skip emphasis marks with spaces, punctuation, symbols and narrow (half-width letters, etc.).