W3C home > Mailing lists > Public > public-css-archive@w3.org > May 2016

Re: [csswg-drafts] [css-fonts] Specifying changes to parameters for fallback fonts

From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
Date: Thu, 26 May 2016 05:17:57 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-221779933-1464239877-sysbot+gh@w3.org>
Sorry, I was taking shortcuts and not explaining them well. 
font-size-adjust does indeed work, but it merely does the objectively 
thing, not the subjectively correct things.

The number you need to use for two fonts to feel the same size isn't 
always the same.

For instance, if you look at this example, preferably on a Mac, or on 
a computer that has a baskerville font with the same metrics 

For those who don't have the right fonts it looks like this 
<img style="display: inline" width="251" alt="screenshot 2016-05-26 14
 03 37" 

The first p has not font-size-adjust, and is obviously terrible.

The second one has font-size-adjust applied with the same value on 
both baskerville and libre baskerville. It's much better, but the two 
fonts, while close, don't feel quite the same. Libre Baskerville has 
comparatively shorter capitals, and due to the shape of the glyphs, 
the lower case letters feels every so slightly shorter as well, even 
if I am sure the metrics do match.

On the third p, I am applying a different font-size-adjust for 
baskerville and libre baskerville, which I think makes them 
subjectively more similar. I can do this here because I am actually 
specifying the fonts separately, but if I had been using fallback 
fonts, there would be no way for me to do that.

In this case, the difference is tiny, and nothing to loose sleep over,
 but the best result isn't the one you can achieve with 
font-size-adjust, and I suspect that as Richard mentioned, things get 
worse with internationalization.

GitHub Notification of comment by frivoal
Please view or discuss this issue at 
using your GitHub account
Received on Thursday, 26 May 2016 05:18:00 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:40:58 UTC