LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 733|回复: 1

文泉驿字体问题

[复制链接]
发表于 2005-2-22 18:57:33 | 显示全部楼层 |阅读模式
在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作为窗口管理器。
发表于 2005-2-22 19:00:43 | 显示全部楼层
cp yhunifont.bdf /usr/X11R6/lib/X11/fonts/misc/
cd /usr/X11R6/lib/X11/fonts/misc/
mkfontdir
xst fp
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表