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

Requesting new font - RedHat Mono #1776

Open
3 tasks done
ZPrimed opened this issue Jan 4, 2025 · 2 comments
Open
3 tasks done

Requesting new font - RedHat Mono #1776

ZPrimed opened this issue Jan 4, 2025 · 2 comments

Comments

@ZPrimed
Copy link

ZPrimed commented Jan 4, 2025

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

@Finii
Copy link
Collaborator

Finii commented Jan 9, 2025

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.

@ZPrimed
Copy link
Author

ZPrimed commented Jan 11, 2025

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)

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

2 participants