Implement the font-optical-sizing property
Implement the CSS fonts property font-optical-sizing [1]. Typographic optical sizing means that a font has slight variations in glyph contrast to better optimize for legibility at different font sizes: The glyph shapes vary between for example a headline font size and a body text font size. The CSS font-optical-sizing property with its default value of auto exists to automatically apply the current font size value to a variable font's 'opsz' axis. This means, if a variable font supports the 'opsz' axis and optical sizing, the right value is automatically applied without the need for an explicit font-variation-settings styling. Intend to implement and ship: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/Y3lhEykjfV0 Chromestatus entry: https://www.chromestatus.com/feature/5685958032752640 [1] https://drafts.csswg.org/css-fonts-4/#font-optical-sizing-def Bug: 773697 Change-Id: Ifa4b6e042204a3fbf172b8cfe232821d8691283b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1795244 Commit-Queue: Dominik Röttsches <drott@chromium.org> Reviewed-by:Robert Sesek <rsesek@chromium.org> Reviewed-by:
Koji Ishii <kojii@chromium.org> Reviewed-by:
Emil A Eklund <eae@chromium.org> Reviewed-by:
Chris Harrelson <chrishtr@chromium.org> Cr-Commit-Position: refs/heads/master@{#697197}
Showing
No preview for this file type
Please register or sign in to comment