在/usr/share/fonts/truetype下建立文件夹myfonts
复制ttf、ttc字体到/usr/share/fonts/truetype/myfonts文件夹下
代码:
chmod 755 /usr/share/fonts/truetype/myfonts/*
cd /usr/share/fonts/truetype/myfonts/
mkfontscale
mkfontdir
fc-cache /usr/share/fonts/truetype/myfonts/
dpkg-reconfigure fontconfig
阅读(582) | 评论(0) | 转发(0) |