W3C home > Mailing lists > Public > public-css-archive@w3.org > February 2018

Re: [csswg-drafts] [css-inline] Consistent vertical positioning of large and medium-sized text across OSs

From: Dave Cramer via GitHub <sysbot+gh@w3.org>
Date: Fri, 16 Feb 2018 17:34:00 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-366304099-1518802439-sysbot+gh@w3.org>
In case it's helpful, here are the font metrics (via FontForge and the OS/2 table) for two of your examples:

 font name | em size | typo ascent | typo descent | win ascent |win descent | cap height 
------------ | ------------- | ------------- | ------------- | ------------- | ------------- | -------------
Frankfurter | 1000 | 976 | -24 | 1143 | 35 | 667
Hetilica-Bold | 2048 | 1536 | -512 | 1953 | 326 | 1415 

Does this happen for all fonts? Do you get better results with line-height: normal or with less mixing of units?



-- 
GitHub Notification of comment by dauwhe
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2228#issuecomment-366304099 using your GitHub account
Received on Friday, 16 February 2018 17:34:01 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:24 UTC