Commit graph

2 commits

Author SHA1 Message Date
8b9c239e56 fontconfig: Switch to nerd fonts patched JetBrains Mono 2021-01-06 10:36:47 +05:30
f2b2bed34a fontconfig: Set up fallback fonts
In case a glyph is absent in the default font, st uses font-config and
tries to find them in font cache first. This also seems to work for all
VTE terminals. However, alacritty relies on system configuration and does
not do the above. To fix this, we need specify a fallback font manually.
This also seems good practice in general otherwise.

For reference, see the below links.
https://st.suckless.org/patches/font2/
https://github.com/alacritty/alacritty/issues/3690
https://wiki.archlinux.org/index.php/Fonts#Fallback_font_order
https://eev.ee/blog/2015/05/20/i-stared-into-the-fontconfig-and-the-fontconfig-stared-back-at-me/

Also our use of galaxyline plugin for neovim requires nvim-web-devicons
which in turn requires a patched font like Nerd font.
2020-11-17 14:26:04 +05:30