Upon invoking emacs, it report errrors:

Fontconfig error: "/etc/fonts/conf.d/90-synthetic.conf", line 6: invalid attribute 'version'
Fontconfig error: Cannot load config file from /etc/fonts/fonts.conf

Consult with the answer: 14.04 - Fontconfig error: cannot load default config file - Ask Ubuntu


Unfortunately, it still does not work

How could solve the problem?


If you run the command

dpkg -l | grep fontconfig

I suspect that you find that the listed packages are not of the same version, which they should be. In that case the obvious solution is to update your system to the most recent packages:

sudo apt update
sudo apt upgrade

I suppose you are on 18.10, btw. This problem shouldn't show up on 19.04; see this bug report:


|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.