FiraCode icon indicating copy to clipboard operation
FiraCode copied to clipboard

Floor symbos are swapped.

Open jfab20 opened this issue 8 months ago • 3 comments

See https://github.com/neovim/neovim/issues/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.

jfab20 avatar Nov 28 '23 02:11 jfab20

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 - https://github.com/adobe-fonts/source-code-pro/issues/295 - but that font doesn't have the glyphs either.... 🤔

cormullion avatar Nov 28 '23 09:11 cormullion

@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.

jfab20 avatar Nov 28 '23 15:11 jfab20

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.

alexeyten avatar Nov 28 '23 15:11 alexeyten