W3C home > Mailing lists > Public > www-style@w3.org > May 2015

Re: [css-ruby] ruby offset affected by font?

From: Xidorn Quan <quanxunzhen@gmail.com>
Date: Wed, 20 May 2015 22:48:45 +1200
Message-ID: <CAMdq698EO=JNrF8L8KFvzdoicwf5FD+tyOPdn-vr+SE1sDz1TQ@mail.gmail.com>
To: Shinyu Murakami <murakami@vivliostyle.com>
Cc: www-style list <www-style@w3.org>
On Wed, May 20, 2015 at 8:49 PM, Shinyu Murakami <murakami@vivliostyle.com>

> I guess this gap is caused by the TypoLineGap [1] value of the font
> metrics.
> MS Mincho and IPAMincho's TypoLineGap value is 0 and Meiryo's is 1024 (1/2
> of unitsPerEm 2048).
> This value is "to compute a typographically correct default line spacing"
> [1] and should not used for ruby positioning.

I don't really know what causes the large gap of Meiryo, since I'm not that
familiar with font metrics. But AFAICS, the spacing is not because of

I made a copy of Meiryo with TypoLineGap being 0, but it doesn't seem to
have any difference on the rendering result.

- Xidorn
Received on Wednesday, 20 May 2015 10:49:52 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:54 UTC