akiyosi / goneovim

A GUI frontend for neovim.
MIT License
2.41k stars 63 forks source link

Add support manual font fallback #510

Closed akiyosi closed 11 months ago

akiyosi commented 12 months ago

This PR allows font fallback on a per character basis rather than per font-family basis. This feature is enabled by the following settings

[Editor]
#...
ManualFontFallback = true
bfulop commented 12 months ago

Hello @akiyosi ,

Does it mean we will no longer have to patch our fonts to display icons? 🎉 🥹

akiyosi commented 12 months ago

@bfulop Yes. It is possible to supply a character missing from the first font family with the second font family by specifying the following comma separated value of guifont.

set guifont=Hack:h14,JetBrainsMonoNL_Nerd_Font_Mono:h14,Apple_Color_Emoji:h14
bfulop commented 11 months ago

Excellent, thank you @akiyosi !