githubnext / monaspace

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

[Request] Static TTF #61

Open MrJmpl3 opened 11 months ago

MrJmpl3 commented 11 months ago

Hi! Awesome project.

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

Thanks

bjchavez commented 11 months ago

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

joshukraine commented 11 months ago

Same here 😬 Really love the font! 🥰

joshukraine commented 11 months 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 11 months 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.