Request for position on @font-face descriptors ascent/descent/line-gap-override to override font metrics
Hi webkit-dev, I'd like to request an official position on @font-face descriptors `ascent-override`, `descent-override` and `line-gap-override` for overriding the default font metrics. Explainer: https://gist.github.com/xiaochengh/da1fa52648d6184fd8022d7134c168c1 Spec: https://drafts.csswg.org/css-fonts-4/#font-metrics-override-desc Chromestatus: https://www.chromestatus.com/feature/5651198621253632 Other information: These descriptors are newly added into CSS Fonts Level [1], following a recent resolution [2]. Chromium has already implemented them in M86 behind a flag [3]. [1] https://github.com/w3c/csswg-drafts/pull/5521 [2] https://github.com/w3c/csswg-drafts/issues/4792#issuecomment-693528301 [3] https://chromium-review.googlesource.com/q/hashtag:%22font-metrics-override%... Thanks, Xiaocheng
I’m on record in that csswg-drafts issue as being positive on these descriptors. Myles
On Sep 18, 2020, at 12:55 PM, Xiaocheng Hu <xiaochengh@chromium.org> wrote:
Hi webkit-dev,
I'd like to request an official position on @font-face descriptors `ascent-override`, `descent-override` and `line-gap-override` for overriding the default font metrics.
Explainer: https://gist.github.com/xiaochengh/da1fa52648d6184fd8022d7134c168c1 Spec: https://drafts.csswg.org/css-fonts-4/#font-metrics-override-desc Chromestatus: https://www.chromestatus.com/feature/5651198621253632
Other information:
These descriptors are newly added into CSS Fonts Level [1], following a recent resolution [2]. Chromium has already implemented them in M86 behind a flag [3].
[1] https://github.com/w3c/csswg-drafts/pull/5521 [2] https://github.com/w3c/csswg-drafts/issues/4792#issuecomment-693528301 [3] https://chromium-review.googlesource.com/q/hashtag:%22font-metrics-override%...
Thanks, Xiaocheng _______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev
participants (2)
-
Myles C. Maxfield
-
Xiaocheng Hu