ryanoasis/nerd-fonts

Requesting new font - RedHat Mono

Opened this issue · 2 comments

Requirements

  • I have searched the issues for my request and found nothing related or helpful
  • I have checked the FAQ for help
  • I have reviewed the Wiki for relevant information

Problem Description

I would like to request the addition of the RedHat Mono (and Mono Italic) to the project. It is an OFL 1.1 font so I believe it should be "safe" as far as licensing goes.

https://github.com/RedHatOfficial/RedHatFont/
(that is the entire official font project which includes other non-Monospaced versions; the Mono font is also available through Google Fonts although I can't find a github link to their fork/copy)

Desired Solution

Inclusion of a nice monospace font in the great nerd-fonts repo :)

Alternatives Considered

I have run the script to create my own versions of the font, however, I was somewhat confused as their default download is a "variable-weight" font which seems to make the script choke very hard (it segfaulted python3 on my Mac!)

Once I realized I needed to run the script against each font weight & standard/italic separately, then things seemed to work OK (although I haven't checked yet to see if there are any alignment or spacing problems). I used the -c flag, and nothing else...

Additional Context

No response

Thanks for the suggestion.

Can you describe with a few words what is 'special' about that font and/or why you like it?

a "variable-weight" font ... choke very hard

Hmm, that should not have happened. How did you use it? Docker, fontforge via homebrew, ...?
At least there should have been a warning when you started the script 🤔

Edit: Dont get me wrong, it is not possible to patch VF fonts, but it should show a message and not segfault.

I found the font by going through a visual "looks best" test at CodingFont. I was unaware of it until I saw it on that site, but after running through their "game" it came out on top for me, just from making a lot of visual comparisons between the different fonts presented there.

I think one of my favorite aspects of the font are that braces { } are much more distinct from parenthesis ( ), which can be something of an annoyance at smaller font sizes or when my eyes are starting to get tired at the end of a day...

As far as the patcher crashing - I ran it locally on an Apple Silicon Mac.

I installed fontforge from homebrew, and am using homebrew's copy of Python(3).

I modified the "font-patcher" script - only to have it call python3 instead of python (no python/python2 on my Mac at all). I may have done things wrong because I simply ran the script from the command line when it crashed. I think I saw later that the "preferred" way to call it is to run fontforge with a flag referencing the script file?

I didn't save any output but I can try to reproduce if you want? I was using version 4.16.1 of font-patcher(.py)