Octave Fontconfig error

徘徊边缘 提交于 2019-12-02 20:31:20

Actually, it's not an issue of Octave, but of its complicated setup and misconfiguration of other utilities (especially fontconfig).

For proper work you need to set manually path for fontconfig, so it wouldn't look for fonts in inappropriate directory (/etc/fonts works for Linux installations, but OS X XQuartz goes to different place).

You should run command export FONTCONFIG_PATH=/opt/X11/lib/X11/fontconfig to setup fontconfig proper way. Also you can add line export FONTCONFIG_PATH=/opt/X11/lib/X11/fontconfig to your ~/.bash_profile and restart your terminal, so you don't need to run this command anymore.

Gabiden

try

brew uninstall fontconfig

brew install fontconfig --universal

if you don't have or don't want to use xquartz, you can use qt

brew uninstall gnuplot

brew install gnuplot --with-qt
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!