tonsky / FiraCode

Free monospaced font with programming ligatures
SIL Open Font License 1.1
76.03k stars 3.07k forks source link

Floor symbos are swapped. #1559

Open jfab20 opened 7 months ago

jfab20 commented 7 months ago

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.

cormullion commented 7 months ago

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

jfab20 commented 7 months ago

@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 commented 7 months ago

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.