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

Adjusted baseline upwards #21

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

johnsonjzhou
Copy link

Adjusted baseline upwards by changing the the ratio between the Ascender and Descender.

I did this because the ready built fonts had baselines that rendered too low in multiple browsers on Windows, causing inline vertical alignment issues and descenders being clipped.

The fonts used on the league website (rev 2.0) did not have these issues and rendered perfectly in the middle of the line-height.

Upon comparison of the metrics, it seems that rev2.0 has an ascender to descender ratio of 18:7. Applied this ratio and seems to do the trick. Tested ok in browsers and Adobe suite on Windows.

so cap height is vertically aligned in the middle,
when rendered in the browser.
ascender to descender ratio should is 18/7
@alerque
Copy link
Member

alerque commented Jul 31, 2020

Thanks for taking the time to contribute!

I'll be reviewing this and getting the original designer to check it as well. In the mean time we have a number of pending changes to the way the repository is organized that need to be merged before this. I'm converting the PR to a draft for now just so it doesn't accidentally get merged before the other changes. As soon as the others go through (and pending designer approval) I'll handle the merge issues and update this for inclusion.

@alerque alerque marked this pull request as draft July 31, 2020 14:31
@johnsonjzhou
Copy link
Author

Hello!
Yes sure thing.
If there's a better way to adjust the baseline for web browsers, please let me know as well.

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