QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2525|回复: 1

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

[复制链接]
发表于 2005-2-22 17:49:53 | 显示全部楼层 |阅读模式
字体我放在 /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.

不知道到底怎么安装才好
发表于 2005-3-6 03:37:20 | 显示全部楼层

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/下面。
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-4-23 15:39 , Processed in 0.078032 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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