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

Floor symbos are swapped. #1559

Open
jfab20 opened this issue Nov 28, 2023 · 3 comments
Open

Floor symbos are swapped. #1559

jfab20 opened this issue Nov 28, 2023 · 3 comments

Comments

@jfab20
Copy link

jfab20 commented Nov 28, 2023

See neovim/neovim#26261.

I have alacritty and FiraCode NerdFont as my terminal font.

In neovim, when using the conceal feature (it displays symbols instead of the actual text), the symbols for left floor and right floor are swapped.
image
image

The problem disappears if I change to DejaVu Sans Mono.

@cormullion
Copy link
Contributor

cormullion commented Nov 28, 2023

I don't think FiraCode has defined these glyphs (U+230A and U+230B) - at least, I can't see them in the source. So it's interesting that you're getting them from another font.

But which font has them defined this way? Is it possible that the 'nerd-ization' has added them? But FiraCodeNerdFont-Light doesn't have these characters either... I can only find one font that has them reversed - FreeSans.

A Source Code Pro user raised the same issue - adobe-fonts/source-code-pro#295 - but that font doesn't have the glyphs either.... 🤔

@jfab20
Copy link
Author

jfab20 commented Nov 28, 2023

@cormullion the FiraCode font (without Nerd Fonts) also has this problem, so that's not it. Source Code Pro also has this issue. DejaVu Sans Mono works as intended.

@alexeyten
Copy link

FiraCode and Source Code Pro do not contain U+230A/U+230B glyphs. That means that neovim shows you glyph from some other fallback font. Check your other fonts.

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

3 participants