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

Missing glyph '\udb80\ude56 ' #33

Closed
yusiwen opened this issue Oct 12, 2024 · 4 comments
Closed

Missing glyph '\udb80\ude56 ' #33

yusiwen opened this issue Oct 12, 2024 · 4 comments

Comments

@yusiwen
Copy link

yusiwen commented Oct 12, 2024

image
The glyph is viewable on nerd font homepage, but is not in the font.

@jonz94
Copy link
Owner

jonz94 commented Oct 12, 2024

Hi, the material glyph (nf-md-*) was removed from version 1.0.20 as a patch for the problem that we hit the 65,535 glyph limit.

Ref 1: ryanoasis/nerd-fonts#587 (comment)
Ref 2: https://github.com/jonz94/Sarasa-Gothic-Nerd-Fonts/blob/main/CHANGELOG.md#v1020-0-2024-09-14

@yusiwen
Copy link
Author

yusiwen commented Oct 14, 2024

@jonz94 Thanks for reply. I should find a workaround then.

@yusiwen yusiwen closed this as completed Oct 14, 2024
@jonz94
Copy link
Owner

jonz94 commented Oct 14, 2024

Maybe you could try an older version as a workaround.

For example: v1.0.5-0 https://github.com/jonz94/Sarasa-Gothic-Nerd-Fonts/releases/tag/v1.0.5-0

This version does include all glyphs provided by nerd fonts v3.1.1.
(Older Nerd Fonts patches didn't have as many glyphs, so we didn't encounter the 65,535 glyphs limit issue back then.)

However, this comes with some compromises:

  • It lacks certain improvements and bug fixes found in the latest nerd fonts version.
  • Some newer glyphs introduced in later versions might not be available.

I'm still working on finding the perfect solution,
but for now, each method I come up with unfortunately has some drawbacks 😔

@yusiwen
Copy link
Author

yusiwen commented Oct 15, 2024

@jonz94 Thanks for your advice.
I've found another workaround yesterday, by using the fallback font function in some applications, such as WindowsTerminal and Alacritty(on Linux). The primary font is set to vanilla Sarasa font, and the fallback is official nerd font patched Iosevka. By now, this approach works fine to me, the missing material glyphs in neovim statusline and terminal prompt are correctly rendered.

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

2 participants