使用画图软件gunplot出现的问题和解决办法
================================================================================================
【问题一】使用gunplot画出,将terminal设置为png时出现以下问题
Could not find/open font when opening font "arial", using internal non-scalable font
【错误原因】缺少windows字体arial
【解决办法】
第一步:先下载需要的字体
http://www.my-guides.net/en/p_w_picpaths/stories/fedora12/
或者
http://download.youkuaiyun.com/detail/jichl/6856221
第二步:安装
[root@MPI_EXERCISE tools]# rpm -ivh msttcore-fonts-2.0-3.noarch.rpm
第三步:设置环境变量
设置临时环境变量:
# export GDFONTPATH="/usr/share/fonts/msttcore"、
# export GNUPLOT_DEFAULT_GDFONT="arial"
【更新地址】http://doublelinux.blog.51cto.com/12300166/1967636
转载于:https://blog.51cto.com/doublelinux/1967636