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

Add bold weight #79

Closed
matype opened this issue Jul 26, 2024 · 16 comments
Closed

Add bold weight #79

matype opened this issue Jul 26, 2024 · 16 comments

Comments

@matype
Copy link
Member

matype commented Jul 26, 2024

What

Try to make bold weight experimentally.

ref: #8 (comment)

@mcchrish
Copy link

Thank for considering! And I really like this font so far. It's the only font that got me out of Iosevka.

@matype
Copy link
Member Author

matype commented Aug 12, 2024

I've finished making the Roman (non-italicised) Bold all the way through!

image

And this is a display confirmation in VS Code. if and function, etc. are Bold.

image

The current 0xProto Bold .otf file is attached for you to try if you are interested.

0xProto-Bold-beta-1.otf.zip

@matype
Copy link
Member Author

matype commented Aug 12, 2024

By the way, I will not be making a Bold Italic for 0xProto.

Because 0xProto is a programming font, and while Bold or Italic is necessary as a means of highlighting other than by color, wouldn't a Bold and Italic family be fine without it?

I know that it is not a problem to have. But I have a lot of other projects I want to do besides 0xProto, and I don't want to add as many things as possible that I need to keep maintaining.

@jastko
Copy link

jastko commented Aug 13, 2024

Under Linux, in Konsole - KDE's Terminal Emulator, Bold weight has different line spacing than Regular.

protofontbold-2024-08-13_08.23.07.mp4

FontForge shows different metrics for Regular(left)/Bold(right) wieghts.
protoboldfont_20240813_080930

Font version: 2.100 Regular/Beta-1 for Bold

@matype
Copy link
Member Author

matype commented Aug 13, 2024

@jastko Thanks for the feedback!

I've fixed it and you can check it with the font file here. 0xProto-Bold-beta-2.zip

image

I also checked this .otf in the tool I use and the metrics in the OS/2 Table are the same.

@jastko
Copy link

jastko commented Aug 13, 2024

Line spacing has been fixed, but now Konsole doesn't distinguish between Regular and Bold weight.

protofontbold-2024-08-13_17.26.10.mp4

It's probably caused, by incorrectly set weight. FontForge shows, that WeihgtClass is set to 400.
protoboldfont_weightclass_20240813_175203

In previous version(Beta-1), WeightClass was set to 700.

@distefam
Copy link

distefam commented Aug 13, 2024

This is great, thank you! I've been experimenting with using a colorscheme called Zenbones that relies on font styles more than colors. I can confirm that the new beta 2 version doesn't distinguish between regular and bold weights correctly.

@matype
Copy link
Member Author

matype commented Aug 13, 2024

@distefam Thank you for the feedback.

I can confirm that the new beta 2 version doesn't distinguish between regular and bold weights correctly.

Probably for the same reason as #79 (comment)

@matype
Copy link
Member Author

matype commented Aug 13, 2024

Fixed in beta-3! I think this will work well now. (I won't post a screenshot, but I have checked the OS/2 table for the generated font files.)

0xProto-Bold-beta-3.zip

@distefam
Copy link

I just tried beta 3, and I can say that the bold and regular fonts both render correctly and have proper baseline alignment. Thank you!

@distefam
Copy link

Actually, I may have spoken too soon. It appears that now the Italic variant, which I had retained from the last release, displays with a different baseline:
image

@matype
Copy link
Member Author

matype commented Aug 13, 2024

I think the metrics changed when the bold was added, so using v2.100 italic and beta regular/ bold would cause the baseline to be misaligned.

I will try to align them in the official release of Bold, so until then please use v2.100 Regular.

@jastko
Copy link

jastko commented Aug 13, 2024

I can confirm. Regular/Bold(ttf/otf) font metrics have changed back to those from Beta 1. VendorID has also changed, so there are now two instances of 0xProto. Beta3 fonts have VendorID set to UKWN.

Picture below.

proto_beta3_vendorid_20240813_214214

@matype
Copy link
Member Author

matype commented Aug 14, 2024

Great.

here are now two instances of 0xProto. Beta3 fonts have VendorID set to UKWN.

I was concerned that the achVendID in the OS/2 table was "0xTy" instead of 0xType, so I checked and found that it was the Vendor ID registered with Microsoft and not 0xType, which I intentionally removed in Beta 3.

@arjpar
Copy link

arjpar commented Aug 29, 2024

wouldn't a Bold and Italic family be fine without it?

@matype While Bold Italic is rare, I think it would be good to have it as the default styles/weights operations you can do is Bold, Italicize, and the combination of the 2 (Bold Italic). Some themes probably use Bold Italic, but it's rare I think. I still think it would be good to have Bold Italic as it would make 0xProto feature complete in that sense, but it doesn't have to be immediate.

@matype
Copy link
Member Author

matype commented Sep 1, 2024

Finally released! https://github.com/0xType/0xProto/releases/tag/2.200

@arjpar If I ever create a Bold Italic family, I'll create another issue at that time.

@matype matype closed this as completed Sep 1, 2024
This was referenced Sep 2, 2024
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

5 participants