在utf8下用unifont显示不太舒服,看了各位前辈的介绍,文泉驿的字体感觉不错,想装一个,可是
http://www.linuxsir.cn/bbs/showthread.php?t=177606
看tar包里面的安装说明有一点不太明白,
[PHP]
=========================================================
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.
[/PHP]
我安装后,发现只能使用一次,不知道为什么,我用的gnome,用gdm作为窗口管理器。 |