Skip to content
This repository was archived by the owner on Sep 8, 2023. It is now read-only.

Conversation

@eliheuer
Copy link

@eliheuer eliheuer commented Oct 13, 2021

The typoDescender (UPM * 1.2 - CapsHeight) / 2) formula doesn't produce a negative number, so I thought this might be less confusing: (UPM * 1.2 - CapsHeight) / -2)

This is subjective and there might be some reason to leave it as is I don't know about, so please close or ignore this PR if that is the case, this just makes more sense to me. Thanks!

@RosaWagner
Copy link
Contributor

I am thinking maybe we could make it even more explanatory like:

interval = (UPM * 1.2 - CapsHeight)/2 is the space that you want above and under your capital letters

typoAscender = interval + CapsHeight
typoDescender = -interval

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants