NAME
fc-cache, fonts.cache - create an index of FreeType font files in a directory
SYNOPSIS
fc-cache [directory-name ... ]
DESCRIPTION
If directory arguments are not given, fc-cache uses each directory in the current font configuration. Each
directory is scanned for font files readable by FreeType. A cache is created which contains properties of each
font and the associated filename. This cache is used to speed application startup when using the fontconfig
library.
FILES
fonts.cache Maps file names to font properties. Read by the fontconfig library at application startup to
locate appropriate fonts.
I have done as this article said: http://www.linuxsir.cn/forum.php?mod=viewthread&tid=20712
Everything is ok! But after rebooting, the following problems come up:
xsim:
XSIM: failed create font :-*-*-*-*-*-*-16-*-*-*-*-*-iso8859-1
invalid font ISO8859-1
invalid font ISO8859-1
invalid font GB2312.1980-0
invalid font ISO10646-1
emacs and gvim(can't display chinese):
The font "-adobe-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1,
-misc-simsun-medium-r-normal--12-*-*-*-*-*-gbk-0,*-r-*" does not support all the required character sets for the current locale "zh_CN.GB18030"
(Missing character set "ISO8859-1")
(Missing character set "ISO8859-1")
(Missing character set "GB2312.1980-0")
(Missing character set "ISO10646-1")
I have change the xsim font name to somthing like simsun,but still, it doesn't work!