字体我放在 /usr/share/fonts/wqy-yhunifont/
evinmask@LinuxSky:/usr/share/fonts/wqy-yhunifont$ fc-list | grep unifont
yhunifont:style=Regular
evinmask@LinuxSky:/usr/share/fonts/wqy-yhunifont$ xset +fp /usr/share/fonts/wqy-yhunifont/
然后执行XMMS,可以显示中文了
然后退出GNOME,重新登陆,又不行了,还差哪一步
我用的是debian,gdm起动我的x-window
=========================================================
Wen Quan Yi yh-unifont
=========================================================
Installation
To install yhunifont, first, extract the package, it will
create a sub-directory "wqy-yhunifont"; you can move this
folder to any preferred location, we suggest you putting it
underneath /usr/local/share/fonts/ (if you have root
privilage). Then you can navigate into "wqy-yhunifont"
directory and type
mkfontdir .
a new file named "fonts.dir" will be created, then you can
add this path to your X server font path by
xset +fp /path/to/wqy-yhunifont
then, type "xlsfonts | grep yhunifont", you should be able
to see the full name of the font. If nothing is printed,
something must be wrong and you have to go back and check.
If you are using fontconfig, you need to use
fc-cache /path/to/wqy-yhunifont
to create a file named "fonts.cache-1" as well as to update
the system font information.
To use yhunifont as the bitmap preview font in fontforge,
simply add the following line in ~/.Xdefaults
fontforge.FontView.FontFamily: yhunifont
then type
xrdb ~/.Xdefaults
to activate this setting.
不知道到底怎么安装才好 |