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

LigaSFMonoNerdFont-Regular did not appear in "Fixed Width" on macOS #2

Open
markhu opened this issue Jan 8, 2022 · 7 comments
Open

Comments

@markhu
Copy link

markhu commented Jan 8, 2022

I'm running macOS Big Sur version 11.6.2 and I was able to install LigaSFMonoNerdFont-Regular.otf fine, but it wasn't categorized as Fixed Width. Is this a known issue? Or does it have a known workaround?

@shaunsingh
Copy link
Owner

Thanks for bringing this to my attention, I'll take a look

BTW, does this cause an issues I should be aware of?

@docwhat
Copy link

docwhat commented Jun 12, 2022

Yes, it stops working in the Kitty terminal program.

@ejuarezg
Copy link

ejuarezg commented Jul 31, 2022

I don't know if this is related, but the font weights do not show up properly in the kitty terminal when listing them with the kitty +list-fonts command. All I get is the following:

Liga SFMono Nerd Font
    Liga SFMono Nerd Font
    Liga SFMono Nerd Font
    Liga SFMono Nerd Font
    Liga SFMono Nerd Font
    Liga SFMono Nerd Font
    Liga SFMono Nerd Font
    Liga SFMono Nerd Font
    Liga SFMono Nerd Font
    Liga SFMono Nerd Font
    Liga SFMono Nerd Font
    Liga SFMono Nerd Font
    Liga SFMono Nerd Font

Other fonts show their various weights properly, for example:

Liberation Mono
    Liberation Mono
    Liberation Mono Bold
    Liberation Mono Bold Italic
    Liberation Mono Italic

@flamedmg
Copy link

flamedmg commented Jan 12, 2023

Still not working in kitty & alacritty on macos 13.1

Update: i don't see it using kitty list-fonts command, but alacritty is able to use

 family: "Liga SFMono Nerd Font"
 style: Light

@shaunsingh
Copy link
Owner

The font works for me in foot and alacritty but doesn't work in kitty as you two have experienced

Seems like either the ligature or nerd font parser stripped a bit of the metadata, I'll see if I can add back the proper weights and mark it correctly as monospace

@dxmh
Copy link

dxmh commented Mar 1, 2023

It seems macOS does not consider this a monospace font and therefore kitty terminal will not use it according to the kitty FAQ:

If your font is not listed in kitty +list-fonts it means that it is not monospace or is a bitmapped font

According to https://apple.stackexchange.com/a/166359, macOS uses Panose > Proportion: Monospaced (9) to determine fixed width fonts.

@shaunsingh Did you have any luck finding out what might be stripping this metadata and if it can be added back?

@zoltan-magyar
Copy link

This is also an issue in Blink shell on iOS/iPadOS.

Fonts install successfully with a tool like iFonts, but it's also clear there that there is no Trait and Style options provided.

Blink shell only shows Monospaced fonts, so it does not work currently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants