休想 发表于 2005-2-22 17:49:53

文泉译的bdf字体怎么安装……

字体我放在 /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.

不知道到底怎么安装才好

FangQ 发表于 2005-3-6 03:37:20

Re: 文泉译的bdf字体怎么安装……

字体我放在 /usr/share/fonts/wqy-yhunifont/

在/etc/X11/XF86Config或者xorg.conf中找到Section "Files"部分,然后添加
      FontPath   "/usr/share/fonts/wqy-yhunifont/"
这样下次X启动的时候就可以找到了。

如果你使用fontconfig,你可以把这个字体安装在~/.font/下面。
页: [1]
查看完整版本: 文泉译的bdf字体怎么安装……