vercel / geist-font

https://vercel.com/font
SIL Open Font License 1.1
2.13k stars 54 forks source link

The preferred weight for variable fonts should be 400, not 100. #68

Closed chengluyu closed 3 months ago

chengluyu commented 7 months ago

Font Name (Geist Sans/Geist Mono):

Description of the Issue:

The preferred weight of Geist Mono Variable is 100, not 400. As a result, most software uses the incorrect default font weight.

Steps to Reproduce:

  1. In "Icons View" of Finder, the weight used for preview is Thin, rather than Regular. (See ❶ in screenshots.)
  2. In "Font Book" App, the weight used for preview is also Thin, but it's displayed as "Regular". (See ❷) If I open the drop-down menu, I will find that Thin is not listed; instead, Regular appears in its place. (See ❸)
  3. After installing the font, if I set the default font in VSCode to Geist Mono Variable without enabling any other options (such as font weight or variable font settings), the default font weight will also be Thin. (See ❹)
  4. When you open a software that allows font setting, such as Text Edit, you won’t find Regular font weight listed in the macOS system font menu either. (See ❺ and ❻)

Expected Behavior:

In the scenarios mentioned above, the default font weight should be 400.

Screenshots:

Here are screenshots mentioned above.

image image image image image image

Environment (please complete the following information):

Additional Context:

N/A

chengluyu commented 7 months ago

The fix is very simple. In Glyphs 3’s "Font Info" dialog, we can prioritize the Regular weight by drag it to the top.

Before

image

After

image

I’ve already tried it, and the generated font did not have any of the issues mentioned above.

chengluyu commented 6 months ago

I’ve created a release with the fix in my own fork. Feel free to give it a try!