Re: request for help from CJK hackers


Subject: Re: request for help from CJK hackers
From: Chih-Wei Huang (cwhuang@linux.org.tw)
Date: Thu Nov 09 2000 - 02:50:34 CST


Belcon Zhao ¼g¹D¡G
> > > Should we add a function to install Truetype Font in AW
> >automatically?Just
> > > my opinion.
> >
> > Hmm, I don't understand you - what do you mean by "install
> >automatically"?

Hello, Belcon,
I don't think it's a good idea to add that functionality to AW,
since AW did NOT handle truetype font directly.
It's the ability of X server or font server to handle truetype font.
(In XFree86 3.x, there is no ttf support, thus we have to patch
X server to support ttf, that's what CLE or other version of
"Chinese Linux" have done. For XFree86 4.0, there are already
two backends ttf support: xtt and freetype)
I think we should just leave the responsibility of installation
of ttf to X.

Of course, It may be convenient for AW to automatilly generate
hj format of fonts.dir from the currently installed ttf in X.
However, since there is no direct connection between
XLFD and PostScript font names, it may not feasible currently.
(In fact, if we can generate hj fonts.dir on fly,
we don't need that file again! Did you agree?)

> > I assume you propose to ship subdirectories with CJK fonts.dir with AW -
> >right? If everything that is required for Chinese (and probably
> >all CJK fonts) is subdirectory with fonts.dir in it, these directories
> >could
> >be added to AW distribution. So I agree with this.

I think it's an appropriate way.
I attach the fonts.dir I used now,
for both zh_TW.Big5 & zh_CN.GB2312.
Of course, it should works only in CLE.
Other "Chinese Linux" use different XLFD font names.
 
> No,I don't mean this.The reason is above.
>
> > Then prepare fonts.dir for GB2312 and Big5 you think should be in AW
> >distribution and post a patch that will add them (or better - discuss
> >directory name with me and then post a patch).
> > I will post a proposal for including CJK fonts.dir with AW later today to
> >the
> >list explicitly.
> >

-- 
   ~     Chih-Wei Huang (cwhuang)
  'v'    E-Mail       : cwhuang@linux.org.tw
 // \\   CLDP Project : http://www.linux.org.tw/CLDP/ (Coordinator)
/(   )\  CLE  Project : http://cle.linux.org.tw/CLE/  (Developer)
 ^`~'^   HomePage     : http://www.cwhuang.idv.tw/

‹



This archive was generated by hypermail 2b25 : Thu Nov 09 2000 - 02:51:33 CST