Leif160519的blog Leif160519的blog

——————

目录
树莓派安装字体
/    

树莓派安装字体

1、下载字体

wget http://font.ubuntu.com/download/ubuntu-font-family-0.80.zip

或者复制字体到linux上

2、用命令将要的字体复制到 /usr/share/fonts/TrueType 目录下

sudo cp -r ubuntu-font-family-0.80/ /usr/share/fonts/truetype/

3、修改字体权限,使root以外的用户可以使用这些字体。

sudo chmod 755 /usr/share/fonts/truetype/ubuntu-font-family-0.80/ -R

4、建立字体缓存,命令:cd /usr/share/fonts/TrueType

mkfontscale
mkfontdir 
fc-cache -fv 

5、重启,即可使用。


“The first 90% of the code accounts for the first 90% of the development time. The remaining 10% of the code accounts for the other 90% of the development time.” – Tom Cargill

标  题树莓派安装字体
作  者Leif160519
出  处https://github.icu/articles/2019/08/27/1566889848431.html
关于博主:坐标南京,运维工程师,如有问题探讨可以直接下方留言。
声援博主:如果您觉得文章对您有帮助,可以评论、订阅、收藏。您的鼓励是博主的最大动力!