Home | 简体中文 | 繁体中文 | 杂文 | Github | 知乎专栏 | Facebook | Linkedin | Youtube | 打赏(Donations) | About
知乎专栏

178.3. 安装字体

将字体复制到 /usr/share/fonts 目录中,然后执行 fc-cache 命令即可

		
[root@netkiller fonts]# fc-cache
或
[root@netkiller fonts]# fc-cache /usr/share/fonts
		
		

安装中文字体

		
# mkdir -p /usr/share/fonts/zh_CN/TrueType/
# cp -r Fonts/* /usr/share/fonts/zh_CN/TrueType/
# chmod 644 /usr/share/fonts/zh_CN/TrueType/*
# cd /usr/share/fonts/zh_CN/TrueType/
# mkfontscale
# mkfontdir
# fc-cache /usr/share/fonts/zh_CN/TrueType/