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

Size discrepancy between 600 and 500 weights at 12px size (Webfont, WOFF2) #88

Open
adrianfrst opened this issue May 31, 2023 · 1 comment

Comments

@adrianfrst
Copy link

With weights SemiBold 600 and Medium 500 on the same page next to each other, there's a clear difference in size when both are set at 12px. It's like the 500 is a pixel taller:

image

Changing the 500 to 400 and it's fine:

image

It's also fine at other sizes, 13px:

image

Demo: https://codepen.io/adrianfrst/pen/ZEqdygL

Mac OS Ventura 13.4. I'm using Barlow from Google Fonts, but the same happens with WOFF2 files from this repository (both main and 1.5 branches). Same behaviour in Chrome and Safari.

Any ideas? Thanks!

@jpt
Copy link
Owner

jpt commented Jul 18, 2023

I will take a look, sorry for the slow response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants