githubnext / monaspace

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

Add Nerd Fonts #24

Open jsanzdev opened 10 months ago

jsanzdev commented 10 months ago

Can the Nerd Fonts added so we can use these fonts in the terminals?

It would be amazing to have these type of Icons included! image

dbhorst commented 10 months ago

I currently use the MesloLGS NF build from here https://github.com/ryanoasis/nerd-fonts/ It would be great to have nerd fonts already integrated. If this has to be done by ourselves (or in the nerd-font repo), please give a hint.

Edit: There is already an issue over there. Maybe that's the corrects place for this issue: https://github.com/ryanoasis/nerd-fonts/issues/1403

julien-blanchon commented 10 months ago

Yes please đź‘Ť

znmeb commented 10 months ago

Yes! powerlevel10k FTW!

AvidDabbler commented 10 months ago

not ideal but this is my current work around for this in iterm2 image

igbanam commented 10 months ago

This works perfectly, @AvidDabbler — thank you!

znmeb commented 10 months ago

I'll test this in WSL tomorrow! I've got zsh / powerlevel10k configured there and I just need to load Monaspace into Windows.

SalahEddineGhamri commented 10 months ago

Yes, please. this font is the new FiraCode.

moniquelive commented 10 months ago

If you're on Linux here's how to have emojis and nerdfonts with any unpatched font: https://dev.to/moniquelive/using-nerd-font-symbols-and-emoji-with-any-unpatched-font-in-linux-3kdo

idan commented 10 months ago

Update here: alas, because Nerdfont has lots of logos of businesses, this needs some approval from legal, and I have a hard time forecasting how long this is going to take. But the good news is that there might be some work already happening for Cascadia Code (also MSFT) which we might be able to follow in the footsteps of. Stay tuned, just wanted to let you know that we're trying to figure this out!

znmeb commented 10 months ago

Is that why they replaced the Debian "swirl" with an up-arrow? :-)

rollingmoai commented 10 months ago

https://github.com/ryanoasis/nerd-fonts/releases/download/v3.1.1/Monaspace.tar.xz

winstxnhdw commented 9 months ago

https://github.com/ryanoasis/nerd-fonts/releases/download/v3.1.1/Monaspace.tar.xz

Why are the fonts title Monaspice lol

khaneliman commented 9 months ago

https://github.com/ryanoasis/nerd-fonts/releases/download/v3.1.1/Monaspace.tar.xz

Why are the fonts title Monaspice lol

Certain licenses don’t allow modified redistribution of the same name.

idan commented 4 months ago

Now that Cascadia Code has figured out how to do this from a legal perspective, I think we can probably follow in their footsteps!

kalpeshdhotre commented 2 months ago

I found a way to use the Nerd Font Symbols Nerd Font as a fallback font, which works perfectly with all fonts. This eliminates the need to install the Nerd Font version of each specific font.

you can download this font from Nerd font repo https://github.com/ryanoasis/nerd-fonts/releases/download/v3.2.1/NerdFontsSymbolsOnly.zip

settings in vscode as follows "terminal.integrated.fontFamily": "'Monaspace Neon', 'Symbols Nerd Font'"

alternatively if needed, there is script to generate Nerd font also. https://github.com/ryanoasis/nerd-fonts#font-patcher

Hope that solves

awebeer256 commented 2 months ago

That's useful, but not all software supports fallback fonts.

dhruvkb commented 1 month ago

Now that Cascadia Code has figured out how to do this from a legal perspective, I think we can probably follow in their footsteps!

Cascadia's implementation uses the monospaced version of Nerd Fonts which has smaller icons to fit in a single cell. To be honest, I'd rather not have Nerd Fonts inside the font rather than have the smaller sized baked-in which then prevents fallback to "Symbols Nerd Font".