W3C home > Mailing lists > Public > public-css-archive@w3.org > September 2020

Re: [csswg-drafts] Interoperable font metrics via explicit font metrics overrides (#4792)

From: 一丝 via GitHub <sysbot+gh@w3.org>
Date: Wed, 23 Sep 2020 09:27:29 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-697246842-1600853247-sysbot+gh@w3.org>
![2020-09-23 16_18_47](https://user-images.githubusercontent.com/2784308/93990704-0522c600-fdbe-11ea-9fcf-7f6fe2fe0a29.gif)
How to solve the punctuation marks, I tried to use unicode-range to cover the punctuation marks individually, and found that line-gap-override will take effect for the entire font. Advance-override can only control the right width of characters. Is this a bug in Chrome?

Demo: https://codepen.io/yisi/pen/xxVmzOM

@font-face {
  font-family: 'STSongti-SC-Regular-punctuation';
  advance-override: -0.4; 
  src: local(STSongti-SC-Regular);
  unicode-range: U+b7;


GitHub Notification of comment by yisibl
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4792#issuecomment-697246842 using your GitHub account

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 23 September 2020 09:27:32 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:17 UTC