🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.linux.x
Article #133

freetype util and xfs does not support Chinese?

#133
From: Yin Ming
Date: Thu, 29 Nov 2001 08:52
33 lines
3061 bytes
when I want to add a chinese truetype font which copied from Win98
into redhat7.0, I meet two problems:
1.firstly, I closed the "xfs" sevice and added path of that font into
fonpath, and write a fonts.dir by myself (becoz the freetypeutil does
not support gb2312 encoding, it can only deal with iso-8859-xx or
acsii). the file contains:
simsun.ttf -freetype-SimSun-medium-r-nomal--0-0-0-0-p-0-gb2312.1980-0
OK, this Chinese ttf was added successesfully. I can set it as the
default fontset of gtk, select it in netscape, but the problem is I
can change its size in netscape, in the netscape's font dialog, it
only has two size, the 0 and 12. but the 12 is too small for me. in
fact this truetype font can scaled to any size. but I don't know how I
can chagne it in netscape.

2.then, for this size problem, I have to use xfs. I open xfs sevice
again, edit it's config file (/etc/X11/fs/config or conf) and add the
font's path into the category section, then I reboot mechine, then I
meet another problem: the xfs flush each fonts.dir file within each
font path. becoz of the ttmkfdir does not support chinese truetype
font, there is nothing for gb2312 encoding in the fonts.dir which it
products. this wrong file overwrite my right file once the xfs
started. I can backup the right file and do "xset fp rehash", but this
is not a good work. 

help me! dose the newest truetype util or xfs support chinese ttf
font? where can I find a tool to support chinese truetype font? I
downloaded a ttf2bdf tool, but it does not support chineses also, it
need a encoding mapping file, but it provids only several ios8895-xx.
what shell I do?

--
Best Regards,
    Yin Ming
Technical Details
Message-ID: <2hsb0u0r5747rhujd26l5lb3llhen1l8p5@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!news.bentium.com!news.cn99.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111240,6b2630c2db84635b,start
X-Google-Attributes: gid111240,public
X-Google-Thread: 103fcc,6b2630c2db84635b,start
X-Google-Attributes: gid103fcc,public
X-Google-Thread: fd21a,6b2630c2db84635b,start
X-Google-Attributes: gidfd21a,public
X-Google-Thread: f4bda,6b2630c2db84635b,start
X-Google-Attributes: gidf4bda,public
X-Google-Thread: 10b277,6b2630c2db84635b,start
X-Google-Attributes: gid10b277,public
X-Google-ArrivalTime: 2001-11-29 00:52:14 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!news.bentium.com!news.cn99.com!not-for-mail
From: Yin Ming <no@mail.addr>
Newsgroups: comp.os.linux.x,cn.bbs.comp.linux,cn.comp.os.linux,tw.bbs.comp.linux,linux.redhat.misc
Subject: freetype util and xfs does not support Chinese?
Date: Thu, 29 Nov 2001 16:52:51 +0800
Organization: Bentium Ltd. (CN99)
Lines: 33
Message-ID: <2hsb0u0r5747rhujd26l5lb3llhen1l8p5@4ax.com>
NNTP-Posting-Host: tch2-1-25.sz.js.cn
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: mail.cn99.com 1007023933 19314 202.102.103.25 (29 Nov 2001 08:52:13 GMT)
X-Complaints-To: usenet@news.cn99.com
NNTP-Posting-Date: Thu, 29 Nov 2001 08:52:13 +0000 (UTC)
X-Newsreader: Forte Agent 1.8/32.548