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

Font weights incorrect causing issues when changing from bold/italic to regular #50

Open
mutantant opened this issue Jan 2, 2021 · 3 comments
Assignees

Comments

@mutantant
Copy link

@mutantant mutantant commented Jan 2, 2021

The bold and bold/italic fonts have incorrect weight information under the OS/2 metadata. Instead of being set to "Bold" they are set to "Regular".

What this means is when changing from regular to bold or italic, and then back again, it will select bold as the "default" (other issues currently open mention this behavior). This is likely due to the font name for bold being alphabetically before the font name for regular so since we have multiple fonts listed as "regular" weight, it's just defaulting to the first in the list.

Screen Shot 2021-01-02 at 5 44 11 PM

Changing this to "bold" for both bold and bold/italic makes these fonts behave as intended. I did so using FontForge, and after generating the fonts with these changes, everything works as intended. However, I'm no font expert, and have no idea if generating them from FontForge is changing anything else, and I have no idea what font program you used to generate them in the first place.

But as it stands, this repo contains great fonts that in this state are impossible to use as they will change to bold in an unexpected manner in a way most users cannot understand.

This is for Quattro — the other fonts I checked seem fine, at least for the static versions.

@mrtzwlkr
Copy link

@mrtzwlkr mrtzwlkr commented Jun 2, 2021

I have a similar issue:
After Upgrading to Big Sur all my e-mails are BOLD seems to have todo with the incorrect style linking. I tried editing the TTFs with Glyphs and managed to add the correct weight of 700 to Bold but since they are not together as Masters/Instances the re-exported files don’t link correctly, I presume.

It kinda works now (Regular is at the top) but MacOS still seems to be confused and is sorting the weights wrong (compared to the duospace versions):

Screenshot_2021-06-03_at_00_39_06
Screenshot_2021-06-03_at_00_39_02

@bschlagel
Copy link

@bschlagel bschlagel commented Sep 16, 2021

Just ran into this issue, confirming this metadata bug is still there, and the fix in OP worked. But would be great if the font files could be updated at the source, simple fix and could save others some trouble.

Also noting it looks like this is a duplicate of #38

@timjore
Copy link

@timjore timjore commented Jan 3, 2022

The bold and bold/italic fonts have incorrect weight information under the OS/2 metadata. Instead of being set to "Bold" they are set to "Regular"...
This is for Quattro — the other fonts I checked seem fine, at least for the static versions.

I did the same in FontForge, changing the base font weight for the Bold and BoldItalic from "400 Regular" to "700 Bold" and then re-exported the TTF files for both. They appear to be working as expected now.

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

Successfully merging a pull request may close this issue.

None yet
5 participants