deepin安装字体
Tofloor
poster avatar
myTTYY
deepin
2016-06-22 19:16
Author
本帖最后由 myTTYY 于 2016-6-22 11:21 编辑

deepin安装字体(PS:deepin下自带的字体,看久了会很累,反正我写代码时有这种感觉)
1.下载或者从Windows /mac拷贝字体,放在任意目录(这里我为方便,把 雅黑字体msyh.ttf 放在了 /home/myttyy 下面)
2.建立字体目录
  1. sudo mkdir -p /usr/share/fonts/myfonts
Copy the Code
3.复制字体文件到新建目录
  1. cp /home/myttyy/msyh.ttf /usr/share/fonts/myfonts
Copy the Code
4.赋予字体文件可读权限
  1. sudo chmod -R 666 /usr/share/fonts/myfonts/msyh.ttf
Copy the Code
5.打开字体目录
  1. cd /usr/share/fonts/myfonts
Copy the Code
6.安装字体
  1. sudo mkfontscale
Copy the Code
  1. sudo mkfontdir
Copy the Code
  1. sudo fc-cache -fv
Copy the Code
最后出现:fc-cache:succeeded            
说明安装成功!  可到 设置->个性化->字体->标准 中选择使用新安装的字体


Reply Favorite View the author
All Replies
avatar
Lyvnee
deepin
2016-06-22 19:19
#1
能不能把帖子重新编辑一下
Reply View the author
avatar
myTTYY
deepin
2016-06-22 19:20
#2
这样不会摊上大事吧??个人建议,还是去找那些免费的字体用,毕竟字体也是有版权的,莫用盗版,我上面仅仅是一个教程案例!
Reply View the author
avatar
myTTYY
deepin
2016-06-22 19:20
#3
本帖最后由 myTTYY 于 2016-6-22 11:22 编辑
https://bbs.deepin.org/post/40840
能不能把帖子重新编辑一下

好吧,重新编辑了,论坛这编辑器有毒!
Reply View the author
avatar
jingle
deepin
2016-06-22 19:28
#4
https://bbs.deepin.org/post/40840
这样不会摊上大事吧??个人建议,还是去找那些免费的字体用,毕竟字体也是有版权的,莫用盗版,我上面仅仅 ...

只要不上传盗版非法文件,教程可以的
Reply View the author
avatar
myTTYY
deepin
2016-06-22 19:38
#5
https://bbs.deepin.org/post/40840
只要不上传盗版非法文件,教程可以的

好的。。。。。。。。。。
Reply View the author
avatar
satrong
deepin
2016-07-31 19:08
#6
谢谢,已成功安装字体
Reply View the author
avatar
think-wang
deepin
2016-08-01 00:33
#7
默认的就很好看
Reply View the author
avatar
jyehc
deepin
2016-08-01 05:28
#8
6666666666666666666666666666666666666666666
Reply View the author
avatar
zoeblow
deepin
2016-08-01 05:55
#9
666666666666666666666666
Reply View the author
avatar
myTTYY
deepin
2016-08-01 06:29
#10
https://bbs.deepin.org/post/40840
6666666666666666666666666666666666666666666

哈哈哈
Reply View the author
avatar
myTTYY
deepin
2016-08-01 06:30
#11
https://bbs.deepin.org/post/40840
谢谢,已成功安装字体

很高兴能帮到你
Reply View the author
avatar
myTTYY
deepin
2016-08-01 06:32
#12
https://bbs.deepin.org/post/40840
默认的就很好看

哈哈,在2k上,自带的字体即使调到14号还是看起来有些难受,所以就换了种字体,看起来好一点
Reply View the author
avatar
myTTYY
deepin
2016-08-01 06:32
#13
https://bbs.deepin.org/post/40840
666666666666666666666666

小教程而已
Reply View the author
avatar
cyx980622
deepin
2016-08-01 16:51
#14
Mark一下留着备用,虽然我都是直接跑进windows的Fonts文件夹点开字体文件进行安装
Reply View the author
avatar
slg1984
deepin
2017-07-04 17:32
#15
这下子wps终于好一点了,谢谢lz的教程
Reply View the author
avatar
libgdx
deepin
2017-10-08 21:24
#16
直接双击就能安装啊
Reply View the author
avatar
jiahao334
deepin
2017-12-01 03:52
#17
成功安装,感谢版主。
Reply View the author
avatar
y5284037
deepin
2017-12-03 06:25
#18
我安装了苹果字体为啥没有选项啊。
Reply View the author
avatar
151******51
deepin
2017-12-21 04:42
#19
为什么我输入sudo mkdir -p /usr/share/fonts/myfonts,然后输入密码,不会创建目录呢?
Reply View the author
avatar
kingskill
deepin
2018-03-08 23:59
#20
马克。。。这才是正确安装并在控制面板显示字体的教程~~!
Reply View the author