ryanoasis / nerd-fonts

Iconic font aggregator, collection, & patcher. 3,600+ icons, 50+ patched fonts: Hack, Source Code Pro, more. Glyph collections: Font Awesome, Material Design Icons, Octicons, & more
https://NerdFonts.com
Other
52.6k stars 3.59k forks source link

Add Serious Shanns font #1650

Closed kaBeech closed 3 weeks ago

kaBeech commented 3 weeks ago

Description

This adds Serious Shanns, a fork of Comic Shanns/Comic Mono I made that improves legibility, mainly by disambiguating the 'a'/'o', '1'/'l', and 'y'/'Y' glyphs, and also adds Light and Italic styles

Requirements / Checklist

What does this Pull Request (PR) do?

Adds the Serious Shanns font

How should this be manually tested?

Ideally, install it for your Terminal/IDE and check it out!

Any background context you can provide?

Font source is Serious Shanns on GitHub

What are the relevant tickets (if any)?

N/A

Screenshots (if appropriate or helpful)

serious_shanns_terminal

serious_shanns_vsc

kaBeech commented 3 weeks ago

@all-contributors please add @kaBeech for code, design

allcontributors[bot] commented 3 weeks ago

@kaBeech

I've put up a pull request to add @kaBeech! :tada:

Finii commented 3 weeks ago

Thanks @kaBeech for suggesting this interesting font!

Some thoughts on the font (superficial review) following. See bottom for comments on the PR.

References

Self intersections everywhere as usual when using for example fontforge's make bolder function. The intersections are tiny but ultimately can cause problems with some font renderers. Missing points at extrema is usually not a bigger problem nowadays.

On the other hand it validates fine in FontBook and Glyphs3.

Screenshot 2024-06-06 at 08 05 19

Reference 1

Screenshot 2024-06-06 at 08 11 21

Reference 2

Screenshot 2024-06-06 at 08 35 03

Reference 3


Regarding the inclusion of Serious Sans to the prepatched Nerd Font set

Although it would "solve" #1393 I am not sure the added weights and styles (Light. Bold, Italic) are hand optimised or just script runs. Furthermore, before Comic Shanns had been included in Nerd Fonts all the free repos of Comic Sans descendants had been checked and Shanns had been chosen as the most active and advanced fork. Going back to a Comic Mono fork (which is a fork of Comic Shanns with just some script run added) feels very strange.

Screenshot 2024-06-06 at 09 01 12

Serious Sans forked Comic Mono, a stale Comic Shanns fork?

I believe this could be a good addition to Comic Shanns Mono instead of a stand alone half-top-of-the-lineage fork. If we add this font to NF users will get some more weights compared to Comic Shanns, but loose all the other good stuff. I literally see Issues pouring in here ;-)

So, while I believe the Italics (to get a full RIBBI set) and more weights (not so much) would be a good addition, this is not really cutting it.

I will add it to the suggested font list in #1095 and close this for now here.

Thank you again!

kaBeech commented 3 weeks ago

Hey @Finii, thanks so much for the review!

  • Why fork and not contribute to some active Comic repo

To be perfectly honest, this came down to 3 main things:

  • Charset very limited, no accents, ... 🤔

Very true. See above for why I chose this fork which lacks the extra characters.

I remember vaguely wondering about this, but I didn't notice any issues when coding in Spanish or Arabic, so I didn't worry too much about it. Looking at my code now I can see that the missing glyphs were substituted in from other fonts 😅

I would like to add more characters in the future but do not have the time to do so currently.

  • Just checked Bold, which seems autogenerated and no tweaking afterwards? Tons of self-intersections 😞

This is probably correct (obviously correct about the self-intersections). I did autogenerate the Bold/Light/Italic styles, and I remember tweaking the Light and Italic styles, but only for the way they looked visually. It's entirely possible that I didn't tweak Bold at all (you might notice that I didn't mention the Bold style at all in my original PR comment).

Honestly I'm still a font n00b and don't know much about which issues need to be fixed vs what is less necessary to address, especially when similar fonts (such as Comic Shanns Mono) display similar errors on validation. My grug brain didn't understand why a line that overlaps with itself but still makes a valid glyph that looks good would be a problem and didn't know how to fix it, so I let it be. I did just spend 5 minutes learning about this and fixed self-intersections for the regular Bold version locally, so I plan to fix them all soon.

[Edit: Fixed all the self-intersections, points missing at extrema, etc. Also opened a PR to fix similar errors in Comic Shanns Mono]

  • Serious Sans as name is already taken, as you point out, not only Serious Sans Pro - and with a font of similar characteristics

I was actually confused about this when originally working on this font. I saw the link you mentioned but I didn't find any actual Serious Sans font that wasn't called Serious Sans Pro.

Point taken though - I renamed to Serious Shanns

  • The version number of the font is strange (forgotten to set?)

Oop, yep, thanks for catching that - fixed!

Regarding the inclusion of Serious Sans to the prepatched Nerd Font set...

All told, I'll look into opening a PR for Comic Shanns Mono. My glyph modifications are the main advantage to me for using Serious Shanns compared with alternatives. I like having the Italic/Light/Bold versions available, but I remember getting them to look good taking way more work than I have time for at the moment and I feel like submitting a PR that adds more styles for the limited charset without touching the other glyphs might be tacky.

As far as I can tell, the only improvements that Comic Shanns Mono has that Serious Shanns does not is the expanded charset (which I plan to incorporate eventually - once that's done it'll likely be simple enough to add the extra styles to Comic Shanns Mono as well), but if there's other good stuff Serious Shanns is missing out on then I'm open to adding it!

Thank you again!

Hey friend, I appreciate all the work you're putting into this project! Nerd Fonts has been extremely helpful for me, both the prepatched font set and the Font Patcher. It's helped me feel empowered to adapt the tools I use for my specific needs. And I really appreciate the quick and thorough PR response! Thank you!