google / google/fonts

Support descent-override, ascent-override

Open
#6,739 3 comments 4 reactions 0 assignees View on GitHub
-- Needs Eng team opinion -- Needs manager's opinion I API / Website / Platform I Request
Dominant language
HTML
Stars
20.5k
Forks
2.9k
Avg merge
1d 21h
Merged PRs (30d)
95

Description

**Describe the issue**

Font supports a couple of interesting features: https://web.dev/css-size-adjust/#ascent-override: descent-override, ascent-override however the Google Font API doesn't allow to take advantage of them.

**To Reproduce**

See how in https://developers.google.com/fonts/docs/css2 there are no options.

**Context**

The Roboto font usually doesn't feel vertically aligned under its default setting, e.g. https://github.com/mui/material-ui/issues/29965. It can need descent-override.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.