Skip to content

Comments

Add x-height, cap-height to RunMetrics#523

Open
elbaro wants to merge 1 commit intolinebender:mainfrom
elbaro:main
Open

Add x-height, cap-height to RunMetrics#523
elbaro wants to merge 1 commit intolinebender:mainfrom
elbaro:main

Conversation

@elbaro
Copy link

@elbaro elbaro commented Jan 22, 2026

Close #514

Copy link
Member

@xorgy xorgy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Might make sense at some point to just copy the metrics in whole, since there are other lines that are of interest (ideographic/em under/over)

@nicoburns
Copy link
Collaborator

nicoburns commented Jan 22, 2026

Looks good. Might make sense at some point to just copy the metrics in whole, since there are other lines that are of interest (ideographic/em under/over)

Yeah, I'm definitely interested in a lot of the baselines as well. Exposing these is a pre-requisite for implementing vertical alignment. My only concern is the increased memory usage considering this is stored per-run.

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.

cap-height and x-height

3 participants