Skip to content

Commit 5a3d3bf

Browse files
author
John Daggett
committed
add ruby variant example
1 parent ca945b9 commit 5a3d3bf

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

css3-fonts/Fonts.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3916,11 +3916,15 @@ <h3 id=font-variant-alternates-prop><span class=secno>6.8 </span>Alternates
39163916
<dl>
39173917
<dt><dfn id=ruby>ruby</dfn>
39183918

3919-
<dd>Enables display of ruby glyphs (OpenType feature: <code>ruby</code>).
3920-
This value only selects a glyph for use in ruby text, it does not affect
3921-
font scaling.
3919+
<dd>Enables display of ruby variant glyphs (OpenType feature:
3920+
<code>ruby</code>). This value only selects a glyph for use in ruby text,
3921+
it does not affect font scaling. The red ruby text below is shown with
3922+
default glyphs (top) and with ruby variant glyphs (bottom). Note the
3923+
slight difference in stroke thickness.
39223924
</dl>
39233925

3926+
<div class=featex><img alt="ruby variant example" src=rubyshinkansen.png></div>
3927+
39243928
<h3 id=font-feature-values><span class=secno>6.9 </span>Defining font
39253929
specific alternates: the @font-feature-values rule</h3>
39263930

css3-fonts/rubyshinkansen.png

21.9 KB
Loading

0 commit comments

Comments
 (0)