googlefonts / rubik

Rubik fonts
SIL Open Font License 1.1
204 stars 46 forks source link

Since the updates from June 2023, line-height:normal is far too big on some devices. #53

Open EliezerB123 opened 1 year ago

EliezerB123 commented 1 year ago

Even since the June 2023 updates, line-height:normal is far too big on some devices. line-height:normal seems closer to 2.2 than 1.2.

More specifically, https://fonts.gstatic.com/s/rubik/v28/iJWKBXyIfDnIV7nBrXw.woff2 is broken (v28) but https://fonts.gstatic.com/s/rubik/v26/iJWKBXyIfDnIV7nBrXw.woff2 works correctly. (v26)

Link: https://fonts.google.com/specimen/Rubik See screenshot: image

Left side: (Normal) Normal 1080p Desktop PC Chrome User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36

Right side: (Too large. Line-height is closer to 2.2 than 1.2) AWS Workspace (Resizable screen) (I'm pretty sure this is a Virtual Machine) Chrome User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36


I'm... having a hard time narrowing down the possible causes, or creating a reproducible test-case, but this seems to be a regression of the font itself:

  1. It doesn't occur the older version of the font.
  2. It doesn't occur with other fonts.
  3. It doesn't occur in Firefox, only in Chrome.
  4. It occurs on the official font website: https://fonts.google.com/specimen/Rubik

I'm... not sure how to provide enough information to create a reproducible test-case, but if I can provide any more information, I'll be more than happy to. (I... don't THINK it's a problem with Windows 10's font scaling, but I can't figure out what else might be different.)