Commit graph

6 commits

Author SHA1 Message Date
ae61dca249 Switch back to JetBrains Mono
To make sure symbols still get rendered properly, we need to install
the ttf-nerd-fonts-symbols package. Then make sure the below symlink
is present to make it work.

ln -s /usr/share/fontconfig/conf.avail/10-nerd-font-symbols.conf /etc/fonts/conf.d/10-nerd-font-symbols.conf
2021-12-28 19:23:18 +05:30
323880ab56 fontconfig: Use Hack as the fallback font 2021-12-16 13:34:27 +05:30
52cc61d9e9 fontconfig: Drop nerd font
We had kept the nerd font for our use of icons in status line in neovim
with nvim-web-devicons but we do not use that anymore.
2021-12-13 13:43:19 +05:30
74b4f194b8 Switch to Victor Mono
The vanilla JetBrains Mono does not render some ligatures like =>
properly which made us use nerd-fonts package. However, the nerd-fonts
jetbrains-mono font seems to sometimes cause problems with kitty not
recognizing it by the standard name. Could be a fontconfig issue as well.

Switch to Victor Mono which also has ligature support and does not seem
to suffer from the problem above. We need the nerd-fonts version as well
due to nvim-web-devicons requiring patched fonts.

Deploying the fontconfig change seems to make the devicons in the
neovim status line render better at least size wise.
2021-07-13 19:52:56 +05:30
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