请求帮助! 我的系统的字全部是方框!

系统字体配置、中文显示和输入法问题
回复
astro
帖子: 35
注册时间: 2006-10-17 17:28

请求帮助! 我的系统的字全部是方框!

#1

帖子 astro » 2007-05-20 15:33

我本想按照微软的字体,最后使用了 sudo fc -cache -fv 可是重新启动后,所以的字都变成方框了,包括菜单和桌面上的字也都是方框, 急死我了。
有没有办法还原默认的字体。请问该怎么解决?
上次由 astro 在 2007-05-20 18:21,总共编辑 1 次。
头像
xport
帖子: 1277
注册时间: 2006-05-19 21:23
联系:

#2

帖子 xport » 2007-05-20 15:42

老问题了...字体文件的属性有问题!

在命令行中使用 chmod a+r <你的字体文件>,然后Ctrl+Alt+Backspace
其实我是一个演员!-http://blog.csdn.net/xport/
astro
帖子: 35
注册时间: 2006-10-17 17:28

#3

帖子 astro » 2007-05-20 16:20

我不知道字体文件夹在那里怎么办? 能查到么?
头像
xport
帖子: 1277
注册时间: 2006-05-19 21:23
联系:

#4

帖子 xport » 2007-05-20 16:40

astro 写了:我不知道字体文件夹在那里怎么办? 能查到么?
你自己安装的字体文件,却不知道文件夹在哪里???
其实我是一个演员!-http://blog.csdn.net/xport/
astro
帖子: 35
注册时间: 2006-10-17 17:28

#5

帖子 astro » 2007-05-20 17:45

我记得是安装到/usr/share/fonts/turetype/ttf下,是winxp的字体,然后我运行了一下sudo fc-cache -fv 重新启动gnome后系统的字体都变成方框了。

现在 但是我在控制台1上登录我的帐号后。却进不去/turetype这个目录 提示是请求被拒绝。
我运行了sudo chmod a+r /usr/share/fonts/turetype/* 重新启动gnome后还是不行,字体依然是框框。请问怎么才能搞好呀?我不想重新装系统了
头像
xport
帖子: 1277
注册时间: 2006-05-19 21:23
联系:

#6

帖子 xport » 2007-05-20 18:30

这个容易...只不过你那个是turetype还是truetype呀???

代码: 全选

$ sudo chown -R root:root /usr/share/fonts/turetype  #改文件的用户和组别
$ sudo chmod 755 /usr/share/fonts/turetype           #只有给目录增加了x权限才能cd进入,r-xr-xr-x
$ cd /usr/share/fonts/turetype
$ sudo chmod 444 *                                   #字体文件只需要给到 r--r--r-- 好了
$ cd ~
$ sudo fc-cache -fv                                  #刷新字体缓存
其实我是一个演员!-http://blog.csdn.net/xport/
astro
帖子: 35
注册时间: 2006-10-17 17:28

#7

帖子 astro » 2007-05-20 19:29

我现在在winxp下。很感谢你的回复,希望你这个可以用。不知道为什么我运行了一下 fc -cache -fv 就这样了。 这个不是刷新字体的命令了么?
astro
帖子: 35
注册时间: 2006-10-17 17:28

#8

帖子 astro » 2007-05-20 20:01

sorry, it should be truetype, my mistaken.
xport 写了:这个容易...只不过你那个是turetype还是truetype呀???

代码: 全选

$ sudo chown -R root:root /usr/share/fonts/truetype #改文件的用户和组别
$ sudo chmod 755 /usr/share/fonts/truetype           #只有给目录增加了x权限才能cd进入,r-xr-xr-x
$ cd /usr/share/fonts/turetype
$ sudo chmod 444 *                                   #字体文件只需要给到 r--r--r-- 好了
$ cd ~
$ sudo fc-cache -fv                                  #刷新字体缓存
astro
帖子: 35
注册时间: 2006-10-17 17:28

#9

帖子 astro » 2007-05-21 5:30

这样做还是不行 我要晕死了
回复