/usr/share/fonts下的字体文件被我误删了,有没有办法恢复呢?
或者能不能找到/usr/share/fonts里面所有文件的下载?
系统为红帽9
[b]问题补充:[/b]
太好了,总有方法试一下了.rpm -qa|grep font执行结果如下:
fontconfig-2.4.1-6.el5
bitmap-fonts-0.3-5.1.1
libfontenc-devel-1.0.2-2.2.el5
xorg-x11-fonts-misc-7.1-2.1.el5
libXfontcache-1.0.2-3.1
libXfont-1.2.2-1.fc6
libXfont-devel-1.2.2-1.fc6
xorg-x11-fonts-base-7.1-2.1.el5
xorg-x11-fonts-Type1-7.1-2.1.el5
dejavu-lgc-fonts-2.10-1
xorg-x11-fonts-100dpi-7.1-2.1.el5
xorg-x11-fonts-truetype-7.1-2.1.el5
fonts-chinese-3.02-9.6.el5
libfontenc-1.0.2-2.2.el5
bitstream-vera-fonts-1.10-7
ghostscript-fonts-5.50-13.1.1
chkfontpath-1.10.1-1.1
urw-fonts-2.3-6.1.1
xorg-x11-fonts-75dpi-7.1-2.1.el5
fonts-japanese-0.20061016-4.el5
xorg-x11-font-utils-7.1-2
fontconfig-devel-2.4.1-6.el5
libXfontcache-devel-1.0.2-3.1
xorg-x11-fonts-ISO8859-1-100dpi-7.1-2.1.el5
xorg-x11-fonts-ISO8859-1-75dpi-7.1-2.1.el5
fonts-tamil-2.0.13-1.el5
然后我随便执行一个 rpm -ivh --force fonts-chinese-3.02-9.6.el5,报了下面的错误.
エラー: bitmap-fonts-0.3-5.1.1 のオープンに失敗: そのようなファイルやディレクトリはありま せん
错误:bitmap-fonts-0.3-5.1.1 打开失败:这个文件或者路径不存在.
是不是要到特定路径下才行?
[b]问题补充:[/b]
还是有点问题.
我已经MOUNT上光驱了,
[root@localhost cdrom]# mount /dev/cdrom /mnt/cdrom
mount: block device /dev/cdrom is write-protected, mounting read-only
但还是报了跟上面一样的错,
[root@localhost cdrom]# rpm -ivh --force bitmap-fonts-0.3-5.1.1.rpm
エラー: bitmap-fonts-0.3-5.1.1.rpm のオープンに失敗: そのようなファイルやディレクトリはあ りません
还是说找不到文件. LINUX有5张安装盘,我放的第一张盘进去.
[b]问题补充:[/b]
谢谢lewhwa
现在除了装不上的,5张安装盘所有的FONT文件都已经装上了,但日文和中文还是显示方框.跟装之前一个效果 .
装上后我执行了fc-cache -fv,用fc-list查看结果如下:
/usr/share/fonts: caching, 0 fonts, 24 dirs
/usr/share/fonts/ISO8859-2: caching, 0 fonts, 3 dirs
/usr/share/fonts/ISO8859-2/100dpi: caching, 0 fonts, 0 dirs
/usr/share/fonts/ISO8859-2/75dpi: caching, 0 fonts, 0 dirs
/usr/share/fonts/ISO8859-2/misc: caching, 0 fonts, 0 dirs
/usr/share/fonts/KOI8-R: caching, 0 fonts, 3 dirs
/usr/share/fonts/KOI8-R/100dpi: caching, 0 fonts, 0 dirs
/usr/share/fonts/KOI8-R/75dpi: caching, 0 fonts, 0 dirs
/usr/share/fonts/KOI8-R/misc: caching, 0 fonts, 0 dirs
/usr/share/fonts/arabic: caching, 14 fonts, 0 dirs
/usr/share/fonts/bengali: caching, 1 fonts, 0 dirs
/usr/share/fonts/bitmap-fonts: caching, 31 fonts, 0 dirs
/usr/share/fonts/bitstream-vera: caching, 10 fonts, 0 dirs
/usr/share/fonts/chinese: caching, 0 fonts, 2 dirs
/usr/share/fonts/chinese/TrueType: caching, 3 fonts, 0 dirs
/usr/share/fonts/chinese/misc: caching, 1 fonts, 0 dirs
/usr/share/fonts/default: caching, 0 fonts, 2 dirs
/usr/share/fonts/default/Type1: caching, 35 fonts, 0 dirs
/usr/share/fonts/default/ghostscript: caching, 8 fonts, 0 dirs
/usr/share/fonts/dejavu-lgc: caching, 21 fonts, 0 dirs
/usr/share/fonts/gujarati: caching, 1 fonts, 0 dirs
/usr/share/fonts/hebrew: caching, 30 fonts, 0 dirs
/usr/share/fonts/hindi: caching, 1 fonts, 0 dirs
/usr/share/fonts/ja: caching, 0 fonts, 1 dirs
/usr/share/fonts/ja/TrueType: caching, 0 fonts, 2 dirs
/usr/share/fonts/ja/TrueType/kochi-gothic-subst.ttf: caching, 0 fonts, 0 dirs
/usr/share/fonts/ja/TrueType/kochi-mincho-subst.ttf: caching, 0 fonts, 0 dirs
/usr/share/fonts/japanese: caching, 0 fonts, 2 dirs
/usr/share/fonts/japanese/TrueType: caching, 2 fonts, 0 dirs
/usr/share/fonts/japanese/misc: caching, 84 fonts, 0 dirs
/usr/share/fonts/kannada: caching, 1 fonts, 0 dirs
/usr/share/fonts/korean: caching, 0 fonts, 2 dirs
/usr/share/fonts/korean/TrueType: caching, 4 fonts, 0 dirs
/usr/share/fonts/korean/misc: caching, 0 fonts, 0 dirs
/usr/share/fonts/malayalam: caching, 1 fonts, 0 dirs
/usr/share/fonts/oriya: caching, 1 fonts, 0 dirs
/usr/share/fonts/punjabi: caching, 1 fonts, 0 dirs
/usr/share/fonts/sinhala: caching, 1 fonts, 0 dirs
/usr/share/fonts/tamil: caching, 1 fonts, 0 dirs
/usr/share/fonts/telugu: caching, 1 fonts, 0 dirs
/usr/share/fonts/zh_CN: caching, 0 fonts, 1 dirs
/usr/share/fonts/zh_CN/TrueType: caching, 0 fonts, 1 dirs
/usr/share/fonts/zh_CN/TrueType/zysong.ttf: caching, 0 fonts, 0 dirs
/usr/share/fonts/zh_TW: caching, 0 fonts, 1 dirs
/usr/share/fonts/zh_TW/TrueType: caching, 0 fonts, 1 dirs
/usr/share/fonts/zh_TW/TrueType/bsmi00lp.ttf: caching, 0 fonts, 0 dirs
/usr/share/X11/fonts/Type1: caching, 29 fonts, 0 dirs
/usr/share/X11/fonts/OTF: skipping, no such directory
/root/.fonts: skipping, no such directory
/var/cache/fontconfig: cleaning cache directory
/root/.fontconfig: not cleaning unwritable cache directory
里面有很多0 fonts的,是都没装上还是因为装上后要设置什么吗?