打印

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

文泉译的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.

不知道到底怎么安装才好
佛说:前世的五百次回眸,才换来今生的擦肩而过。如果真的如此,我愿用一万次去换与你的相遇…… [删除]昨天的烦恼,[确定]今天的快乐, [设置]明天的幸福,[存储]永远的爱心, [取消]世间的仇恨,[粘贴]晴朗的心情, [复制]醉人的风景,[打印]美丽的笑容!

TOP

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

[quote:2f9e798e48="休想"]字体我放在 /usr/share/fonts/wqy-yhunifont/[/quote]

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

如果你使用fontconfig,你可以把这个字体安装在~/.font/下面。

TOP