rohit-px2/nvui

Fontconfig error: Cannot load default config file

Closed this issue · 4 comments

I wanted to try this out, but I get the above error and it doesn't use my font

my font is FiraCode Nerd Font:h11. This works for alacritty/kitty/neovide etc

I can reproduce this issue on Ubuntu 20.04.
Can you try setting FONTCONFIG_PATH manually?
e.g. export FONTCONFIG_PATH=/etc/fonts
Also, have you set the font using :set guifont?

with the environment variable set it works, I had set guifont already

I've added a change to set this environment variable if it hasn't been set, could you check back in 10 minutes and see if the latest build solves your problem?

The latest build works