您的位置:首页 > Web前端 > JavaScript

phantomjs字体设置(Ubuntu)

2017-08-21 00:00 851 查看
摘要: phantomjs字体设置(Ubuntu)

导入字体

//拷贝windows字体(C:\Windows\Fonts)至/usr/share/fonts/Windows-Fonts

chmod 644 /usr/share/fonts/Windows-Fonts/*
cd /usr/share/fonts/Windows-Fonts
mkfontscale
mkfontdir
fc-cache


phantomjs访问字体设置

ln -s /usr/share/fonts/Windows-Fonts /usr/lib/x86_64-linux-gnu/fonts
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: