LinuxSir.cn,穿越时空的Linuxsir!

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

IMPORTANT QUESTION!

[复制链接]
发表于 2004-9-21 19:07:35 | 显示全部楼层 |阅读模式
in slackware 10
the fonts encoding files are all compress to .gz format
and when we use the font ,it need it to be .enc format

so strange!
发表于 2004-9-22 10:21:11 | 显示全部楼层
用起来有问题吗?
 楼主| 发表于 2004-9-22 15:20:14 | 显示全部楼层
i find this http://www.xfree86.org/~dawes/4.3.0/fonts4.html

4.1.3. Format of encoding directory files


In order to use a font in an encoding that the font backend does not know about, you need to have an `encodings.dir' file either in the same directory as the font file used or in a system-wide location (`/usr/X11R6/lib/X11/fonts/encodings/' by default).



The `encodings.dir' file has a similar format to `fonts.dir'. Its first line specifies the number of encodings, while every successive line has two columns, the name of the encoding, and the name of the encoding file; this can be relative to the current directory, or absolute. Every encoding name should agree with the encoding name defined in the encoding file. For example,



3
mulearabic-0 /usr/X11R6/lib/X11/fonts/encodings/mulearabic-0.enc
mulearabic-1 /usr/X11R6/lib/X11/fonts/encodings/mulearabic-1.enc
mulearabic-2 /usr/X11R6/lib/X11/fonts/encodings/mulearabic-2.enc



The name of an encoding must be specified in the encoding file's `STARTENCODING' or `ALIAS' line. It is not enough to create an `encodings.dir' entry.



If your platform supports it (it probably does), encoding files may be compressed or gzipped.



The `encoding.dir' files are best maintained by the `mkfontdir' utility. Please see the mkfontdir(1) manual page for more information.
发表于 2004-9-23 04:25:32 | 显示全部楼层
slackware10用的是xorg吧
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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