天天看点

解决:RHEL5 安装 VLC 乱码

解决步骤:

首先把windowsXP里的字体库复制出来(网上download下就可以了)。

然后把字体库 拷贝 到 /usr/share/fonts/ 下 (假如你的字体库目录名是Fonts , 那么拷贝后就是/usr/share/fonts/Fonts)

cd /usr/share/fonts/Fonts

################################################

mkfontscale

mkfontdir

fc-cache

##################################################

如果上面的3个执行有错:例如:

Couldn't determine slant for vga936.fon

Couldn't determine weight for vga936.fon

Couldn't get family name for vga936.fon

Couldn't determine full name for vgaoem.fon

Couldn't determine slant for vgaoem.fon

Couldn't determine weight for vgaoem.fon

那么就只要把报错的字体删掉就可以了

然后再执行

mkfontscale

mkfontdir

fc-cache

继续阅读