7.10安装字体的问题

系统错误报告和讨论
回复
bob
帖子: 79
注册时间: 2006-10-19 20:19
送出感谢: 0
接收感谢: 0

7.10安装字体的问题

#1

帖子 bob » 2007-10-19 15:07

用一下命令安装字体失败。
sudo mkfontscale
sudo mkfontdir
sudo fc-cache

不知如何处理。
头像
leeaman
帖子: 30702
注册时间: 2007-02-02 18:14
系统: debian sid
送出感谢: 1 次
接收感谢: 23 次

#2

帖子 leeaman » 2007-10-19 15:13

前面两个要在字体所在的目录执行吧,第三个要加 -fv参数吧,装什么字体?
一般执行

代码: 全选

sudo fc-cache -fv 
就可以了
醉了星星,醉月亮●●●●●The Long Way To Go(*^_^*)
bob
帖子: 79
注册时间: 2006-10-19 20:19
送出感谢: 0
接收感谢: 0

#3

帖子 bob » 2007-10-19 15:26

仍然有问题
提示有这些:
/usr/share/fonts: caching, 0 fonts, 3 dirs
/usr/share/fonts: failed to write cache
/usr/share/fonts/X11: caching, 0 fonts, 6 dirs
/usr/share/fonts/X11: failed to write cache
/usr/share/fonts/X11/100dpi: caching, 0 fonts, 0 dirs
/usr/share/fonts/X11/100dpi: failed to write cache
/usr/share/fonts/X11/75dpi: caching, 0 fonts, 0 dirs
/usr/share/fonts/X11/75dpi: failed to write cache
/usr/share/fonts/X11/Type1: caching, 8 fonts, 0 dirs
/usr/share/fonts/X11/Type1: failed to write cache
/usr/share/fonts/X11/encodings: caching, 0 fonts, 1 dirs
/usr/share/fonts/X11/encodings: failed to write cache
/usr/share/fonts/X11/encodings/large: caching, 0 fonts, 0 dirs
/usr/share/fonts/X11/encodings/large: failed to write cache
/usr/share/fonts/X11/misc: caching, 0 fonts, 0 dirs
/usr/share/fonts/X11/misc: failed to write cache
/usr/share/fonts/X11/util: caching, 0 fonts, 0 dirs
/usr/share/fonts/X11/util: failed to write cache
/usr/share/fonts/truetype: caching, 0 fonts, 15 dirs
/usr/share/fonts/truetype/arphic: caching, 2 fonts, 0 dirs
/usr/share/fonts/truetype/freefont: caching, 12 fonts, 0 dirs
/usr/share/fonts/truetype/freefont: failed to write cache
/usr/share/fonts/truetype/kochi: caching, 4 fonts, 0 dirs
/usr/share/fonts/truetype/kochi: failed to write cache
/usr/share/fonts/truetype/openoffice: caching, 1 fonts, 0 dirs
/usr/share/fonts/truetype/openoffice: failed to write cache
/usr/share/fonts/truetype/thai: caching, 27 fonts, 0 dirs
/usr/share/fonts/truetype/thai: failed to write cache
/usr/share/fonts/truetype/ttf-arabeyes: caching, 39 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-arabeyes: failed to write cache
/usr/share/fonts/truetype/ttf-bitstream-vera: caching, 10 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-bitstream-vera: failed to write cache
/usr/share/fonts/truetype/ttf-dejavu: caching, 6 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-dejavu: failed to write cache
/usr/share/fonts/truetype/ttf-gentium: caching, 4 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-gentium: failed to write cache
/usr/share/fonts/truetype/ttf-indic-fonts-core: caching, 11 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-indic-fonts-core: failed to write cache
/usr/share/fonts/truetype/ttf-lao: caching, 1 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-lao: failed to write cache
/usr/share/fonts/truetype/ttf-malayalam-fonts: caching, 2 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-malayalam-fonts: failed to write cache
/usr/share/fonts/truetype/ttf-mgopen: caching, 16 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-mgopen: failed to write cache
/usr/share/fonts/truetype/unfonts: caching, 4 fonts, 0 dirs
/usr/share/fonts/truetype/unfonts: failed to write cache
/usr/share/fonts/truetype/windows: caching, 33 fonts, 0 dirs
/usr/share/fonts/type1: caching, 0 fonts, 1 dirs
/usr/share/fonts/type1: failed to write cache
/usr/share/fonts/type1/gsfonts: caching, 35 fonts, 0 dirs
/usr/share/fonts/type1/gsfonts: failed to write cache
/usr/share/X11/fonts: skipping, no such directory
/usr/local/share/fonts: caching, 0 fonts, 0 dirs
/usr/local/share/fonts: failed to write cache
/home/bob/.fonts: skipping, no such directory
/var/lib/defoma/fontconfig.d: caching, 0 fonts, 22 dirs
/var/lib/defoma/fontconfig.d: failed to write cache
/var/lib/defoma/fontconfig.d/A: caching, 10 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/A: failed to write cache
/var/lib/defoma/fontconfig.d/B: caching, 12 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/B: failed to write cache
/var/lib/defoma/fontconfig.d/C: caching, 5 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/C: failed to write cache
/var/lib/defoma/fontconfig.d/D: caching, 10 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/D: failed to write cache
/var/lib/defoma/fontconfig.d/E: caching, 1 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/E: failed to write cache
/var/lib/defoma/fontconfig.d/F: caching, 13 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/F: failed to write cache
/var/lib/defoma/fontconfig.d/G: caching, 10 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/G: failed to write cache
/var/lib/defoma/fontconfig.d/H: caching, 3 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/H: failed to write cache
/var/lib/defoma/fontconfig.d/J: caching, 2 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/J: failed to write cache
/var/lib/defoma/fontconfig.d/K: caching, 4 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/K: failed to write cache
/var/lib/defoma/fontconfig.d/L: caching, 8 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/L: failed to write cache
/var/lib/defoma/fontconfig.d/M: caching, 21 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/M: failed to write cache
/var/lib/defoma/fontconfig.d/N: caching, 25 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/N: failed to write cache
/var/lib/defoma/fontconfig.d/O: caching, 2 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/O: failed to write cache
/var/lib/defoma/fontconfig.d/P: caching, 3 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/P: failed to write cache
/var/lib/defoma/fontconfig.d/R: caching, 3 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/R: failed to write cache
/var/lib/defoma/fontconfig.d/S: caching, 5 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/S: failed to write cache
/var/lib/defoma/fontconfig.d/T: caching, 14 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/T: failed to write cache
/var/lib/defoma/fontconfig.d/U: caching, 13 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/U: failed to write cache
/var/lib/defoma/fontconfig.d/V: caching, 1 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/V: failed to write cache
/var/lib/defoma/fontconfig.d/m: caching, 2 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/m: failed to write cache
/var/lib/defoma/fontconfig.d/u: caching, 1 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/u: failed to write cache
/var/cache/fontconfig: cleaning cache directory
/home/bob/.fontconfig: not cleaning unwritable cache directory
fc-cache: failed
头像
leeaman
帖子: 30702
注册时间: 2007-02-02 18:14
系统: debian sid
送出感谢: 1 次
接收感谢: 23 次

#4

帖子 leeaman » 2007-10-19 15:27

代码: 全选

sudo fc-cache -fv 2>&1 | grep failed | cut -f1 -d":" | xargs -i sudo touch {} && sudo fc-cache -fv
老毛病了
醉了星星,醉月亮●●●●●The Long Way To Go(*^_^*)
bob
帖子: 79
注册时间: 2006-10-19 20:19
送出感谢: 0
接收感谢: 0

#5

帖子 bob » 2007-10-19 15:35

高手,谢了!
回复

回到 “Ubuntu错误报告”