githubnext / monaspace

An innovative superfamily of fonts for code
https://monaspace.githubnext.com
SIL Open Font License 1.1
14.44k stars 248 forks source link

[Request] Static TTF #61

Open MrJmpl3 opened 1 year ago

MrJmpl3 commented 1 year ago

Hi! Awesome project.

Please, add static TTF because some programs have problems to render OTF Fonts or TTF variable

Thanks

bjchavez commented 1 year ago

I have the same problem. I use neovim in kitty terminal and it doesn't recognized OTF fonts.

joshukraine commented 1 year ago

Same here 😬 Really love the font! 🥰

joshukraine commented 1 year ago

Quick update here on using Monaspace in Kitty. I've been playing around with my config, and I've got it displaying just fine. FWIW, I installed the font via Homebrew as suggested in the README, and I'm on macOS Sonoma using Kitty 0.31.0.

Here is my config from kitty.conf:

font_family      Monaspace Argon Var Light
italic_font      Monaspace Argon Var Light Italic
bold_font        Monaspace Argon Var Bold
bold_italic_font Monaspace Argon Var Bold Italic

font_features MonaspaceArgonVar-Light       calt ss01 ss02 ss03 ss04 ss05 ss08
font_features MonaspaceArgonVar-LightItalic calt ss01 ss02 ss03 ss04 ss05 ss08
font_features MonaspaceArgonVar-Bold        calt ss01 ss02 ss03 ss04 ss05 ss08
font_features MonaspaceArgonVar-BoldItalic  calt ss01 ss02 ss03 ss04 ss05 ss08

font_size 16.0
modify_font cell_height +6px

Per the README, I started out by also adding the liga and dlig sets but this seems to enable all the ligature sets and won't let me turn any off. (I don't want ss06 or ss07, for example.) The config above gives me just the groups listed. I actually made a full sample set of ligatures based on the README image so I could test individual groups. So far it's working great!

chmielcode commented 1 year ago

I used https://github.com/fonttools/fonttools/blob/main/Snippets/otf2ttf.py on static OTF files to create static TTFs and make this font render readable in e.g. DBeaver on Windows. I find Radon variant fantastic, so thank you for your work :) Still it looks jaggy in SAS Enterprise Guide and ttfautohint could probably fix it, but I didn't use it, since I (thank God) don't have to use this app all too often recently.