天天看點

解決: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

繼續閱讀