-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
some fonts do not support some utf symbols #1798
Comments
The neovim star is codepoint The symbols (mis)used in btop is Braille. Both are not part of the Nerd Font icon set, and thus are not added to the fonts. If one font has them (Iosevka) it had them already before patching. The Braille implementation in Iosevka is ... optimized for graphics output and renders them useless for their original purpose - you can not read that Braille anymore. See discussion in the PR mentioned above. I font fallback not working in Alacritty? Did you try some more user friendly (less speed optimized) terminal? Would be interesting if Ghostty supports font fallback 🤔 |
https://github.com/aristocratos/btop#notice-text-rendering-issues So the question remains why font fallback is (seems to be) not working in Alacritty. I would check some other terminal ;-) |
A quick search looks like Alacritty should probably support font fallback. Ghostty (which is also fast 😉) does, I guess. 😀 To solve your problem I would try to get font fallback running on your system and follow the fallback font advice given with Adding Braille, as you see in the PR, is a bit problematic, because - especially how it is optimized for misuse in Iosevka - it is unclear what we want and what we are prepared for to break. After the CJK Compatibility Forms and Arabic Presentation Forms-B debacle I am rather hesitant to be non-unicode-conformant (and that is what Iosevka does 😬) |
If you use lazy plugin manager, type |
Hmm, but that is the non-Braille mode of btop 🤔 If the stars (also) do not font-fallback, maybe the fallback is not working correctly. |
$ fc-list :charset=2605
|
So fontconfig finds the glyph (in all the Iosevkas), somehow fallback is not working (in Alacritty) |
Requirements
Experienced Behavior
Most fonts do not support some symbols (eg the symbol for the graph in btop). I tried JetBrainsMono and SauceCodePro, but the only font that supports these symbols is Iosevka. I also tried this package on arch linux ttf-nerd-fonts-symbols but it doesn't work either. Here is the difference between JetBrainsMono and Iosevka
Expected Behavior
No response
Example Symbols or Text
btop: ⣀⣄⣀⣠⣀⣦⣀
neovim: ★
Font Used
JetBrainsMono, SauceCodePro, ttf-nerd-fonts-symbols
Source of Font File
https://archlinux.org/packages/extra/any/ttf-jetbrains-mono-nerd/, https://archlinux.org/packages/extra/any/ttf-sourcecodepro-nerd/, https://archlinux.org/packages/extra/any/ttf-nerd-fonts-symbols/
Terminal Emulator (and the title of the terminal window)
alacritty
Operating System and Version
Arch Linux
Screenshots
The text was updated successfully, but these errors were encountered: