Open Noobslayer123 opened 3 years ago
That's a Fontconfig error. I think the options are either setting the FONTCONFIG_PATH
to the directory containing fonts, or using registerFont()
. (See also e.g. https://stackoverflow.com/questions/41790659/fontconfig-error-cannot-load-default-config-file-on-ubuntu-16-04, https://askubuntu.com/questions/492033/fontconfig-error-cannot-load-default-config-file.)
i tryed using the registerFont() and still got the same error but how do i set the fontconfig path using FONTCONFIG_PATH
I had to install fontconfig as a dependency manually when using node-canvas as a part of a project based on a miniconda3 docker image which was built on debian.
apt install fontconfig
hi, i made a discord leveling system for my community. i made a text label on my canvas and it say 'cannot load default config file'
how can i fix this?