-
Notifications
You must be signed in to change notification settings - Fork 475
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
material-nf
: net
block is printed in reverse order when loopback device is used
#1206
Comments
Did you ever figure out what was going on here? |
No, it's still happening. |
Also happens with the |
Terminal output is correct, right? |
So one updatable pkg prints |
Is it backwards no matter what software you paste it into? Also, try searching on the nerdfonts bug tracker as well because surely others have come across this too |
The issue is the glyph 0xfbae. The string is not reversed when it's missing. |
I'mma hazard a wild guess and say that's because |
Especially because apparently when @freswa pasted it into their browser it resulted in |
Loopback is 0xfbe9 - same problem. |
I think adding a 0x200e at the end should do the trick: " ﮮ 2 + 0 " |
Apparently there is an issue that the glyphs are not PUA conform: ryanoasis/nerd-fonts#365 |
Garbage. The LTR marker needs to be right behind the "arabic" glyph, like " ﮮ 2 + 0 ". Works here in github, but not for us: @MaxVerevkin Can you try setting |
NerdFonts has one big issue. They overwrite code points which are reserved for chinese and arabic letters (range 0xf500-0xfd46). While overwriting chinese letters is bad, they are LTR glyphs and print "normally". `net_loopback` and `update` used to be symbols that usually map to arabic letters which make pango print those strings RTL. I tried to fix this with the LTR marker 0x200e in greshake#1206 but it failed. This PR replaces the symbols with similar ones that don't map to the arabic charset. nerd-font issue: ryanoasis/nerd-fonts#365 fixes greshake#1206
No, it doesn't fix everything. However, if if prepend it with any ASCII text, it works... While net_loopback = "\ufbe9\u200e" # nf-mdi-loop net_loopback = "a\ufbe9\u200e" # nf-mdi-loop |
What happens if you prepend it with a zero-width space? |
No effect. |
Output in the terminal seems OK.
Config
Video
for-gh.mp4
The text was updated successfully, but these errors were encountered: