Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cap height fallback #170

Merged
merged 3 commits into from
Sep 25, 2024
Merged

Cap height fallback #170

merged 3 commits into from
Sep 25, 2024

Conversation

benoitkugler
Copy link
Contributor

This PR adds a fallback required to retrieve cap-height and x-height values for older fonts (having a 'OS/2' table with version older than 2).

(The implementation follows x/image/font and harfbuzz references.)

For #169.

@whereswaldon
Copy link
Member

Since this is a straighforward bugfix, it should only need one approval. Merging.

@whereswaldon whereswaldon merged commit bceaf9b into main Sep 25, 2024
20 checks passed
@whereswaldon whereswaldon deleted the cap-height-fallback branch September 25, 2024 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants