subframe7536 / maple-font

[try V7!] Maple Mono: Open source monospace font with round corner, ligatures and Nerd-Font for IDE and command line. 带连字和控制台图标的圆角等宽字体,中英文宽度完美2:1
SIL Open Font License 1.1
4.6k stars 66 forks source link

Why this character is shown in Neovim #199

Closed RicardoRamirezR closed 3 months ago

RicardoRamirezR commented 4 months ago

Hi there,

Does anyone have an idea why this 契 appears in Neovim and what it says?

Screenshot 2024-06-05 at 10 20 01 AM

subframe7536 commented 4 months ago

If you are using Maple Mono NF, there is no glyph on 契(\u5951) in the font

subframe7536 commented 4 months ago

What the symbol in this position was supposed to be? The collapse icon?

atauzki commented 4 months ago

maybe your configuration is using nerd font v2,but it is outdated and conflicts with some chinese chars,and maple uses nerd font v3

RicardoRamirezR commented 4 months ago

Hi @subframe7536 with JetBrainsMono Nerd Font

JetBrainsMono Nerd Font
RicardoRamirezR commented 4 months ago

Hi @atauzki, i'm using nvim-tree/nvim-web-devicons which uses Nerd Font 3

subframe7536 commented 4 months ago

Hi @subframe7536 with JetBrainsMono Nerd Font

JetBrainsMono Nerd Font

What is the unicode of the icon? Is it still \u5951 ?

atauzki commented 4 months ago

So there is another possibility. This character's codepoint is U+F909. https://www.compart.com/en/unicode/U+F909

But it's marked as removed in nerd font cheetsheet, you should use U+f040a instead. image

subframe7536 commented 3 months ago

It seems that there is no wrong with the font, so close it.