Fontconfig warning"/etc/fonts/conf.d/50-user.conf"

Then I start GUI app from console I have this warning

Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated

How to fix it?

I think I’ve found the solution
mkdir -p ~/.config/fontconfig/
mv -i ~/.fonts.conf ~/.config/fontconfig/fonts.conf