googlefonts / googlefonts/fontations

[skrifa] Expose x-height and stem width (and more?) computation

Open
#1,405 0 comments 0 reactions 1 assignee Claimed by @dfrg View on GitHub
enhancement
Dominant language
Rust
Stars
826
Forks
75
Avg merge
22h 33m
Merged PRs (30d)
75

Description

It would be useful to be able to easily access _at least_ x-height, and ideally other things (stem width, etc) that are computed as part of autohinting.

Per IM this could be exposed as something like an `outline::topology` module.

For context, and potentially to inform API design, intended use isn't in direct text rendering path but might want to process many fonts at once. Doesn't have to be _fast_, though it would be nice if it doesn't result in excessive API hostility.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.