[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problem using arphic chinese truetype fonts




On Mon, 15 May 2000, Anthony Fok wrote:

> Thanks for your information.  :-)
> 
> On Tue, May 16, 2000 at 03:27:24AM +0800, 50191914@uxmail.cityu.edu.hk wrote:
> > On Mon, 15 May 2000, Anthony Fok wrote:
> > >   * What platform? (i386?)  How much RAM?  How much free memory?  etc.
> > 	IBM Thinkpad notebook 390E 64MB RAM Celdron 336Mhz
> 
> 64MB RAM.  That looks good.  :-)
> 
> > >   * Are you using all-Debian packages?  Or did you "roll-your-own"?
> > yes..
> 
> > all the packages is updated to the newest version in the frozen archive.
> 
> Good.
> 
> > >   * What were the exact commands you used to run crxvt and friends?
> > crxvt: crxvt-Big5 -pt Root -fg white -bg black
> 
> Did you set the font in ~/.Xresource?  By default, crxvt uses the 16x15
> taipei16 bitmap font (from ETen?) from the xfonts-intl-chinese package. 
> Does that (taipei16) work?
> 
> For your information, I am currently using:
> 
> #!/bin/sh
> 
> export LANG=zh_TW.Big5
> xcin &
> crxvt -ls \
>   -fm '-Arphic-AR PL Mingti2L Big5-medium-r-normal--24-0-0-0-c-0-big5-0' \
>   -fn '-Arphic-AR PL Mingti2L Big5-medium-r-normal--24-0-0-0-c-0-iso8859-1' \
>   -im xcin -pt OverTheSpot -bg black -fg white -geometry +0+0 &
> 
> > also,for netscape,I choose to use the Alphic Fonts for Traditional Chinese
> > and it hang too..
um...still don't work...before I try to kill the crxvt...
and run top and see that XF86_SVGA is working heavily..(9X.X% CPU
usage...)xfs-xtt is still here before I kill the application...

> 
> It works fine here.  Hmm... I wonder what the problem is...
> 
> > >   * Was the xfs-xtt killed _before_ or _after_ you tried to use any of the
> > >     arphic fonts?
> > It seem when the application use the fonts,the application hang...
> > killing the application make the xfs-xtt killed...thus the X exit
> > abnormally too..
> > >   * Have you been able to use any other TrueType fonts sucessfully with
> > >     xfs-xtt?
> > up to now,I don't have any other truetype fonts..maybe I will try it
> > later..
> 
> If you happen to have some fonts from Microsoft Windows, say times.ttf and
> arial.ttf, try them out and see if they can be displayed properly.
How do I install the M$ truetype font?
In redhat i have used a program called mkttfdir(may spell wrong)...to
make font.alias and fonts.dir.. but now seem don't have that program....
> 
> > > If you have xfonts-arphic-????00?p_2.10 installed, I suggest that you
> > > try xfonts-arphic-????00?p_2.11, which is currently sitting in "Incoming".
> > > You may find the following files at:
> > >
> > I''m using xfonts-arphic 2.10 now...and ttf-arphic-xxxxxxx 2.10-9.. 
> 
> ttf-arphic-xxxxxxx 2.10-9?  You meant "2.10-1", right?  :-)
> 
> Please download xfonts-arphic-xxxxxxxx_2.11.  2.10 added way too many
> aliases (648 of them), and those extraneous aliases have been removed.  Now,
> only 88 aliases.  That should reduce xfs-xtt / Xserver's overhead.  Please
> try it out and let me know if it solves the problem.  Use "wget" or "snarf"
> to get the following files:
> 
> 	http://incoming.debian.org/xfonts-arphic-bsmi00lp_2.11_all.deb
> 	http://incoming.debian.org/xfonts-arphic-bkai00mp_2.11_all.deb
> 	http://incoming.debian.org/xfonts-arphic-gbsn00lp_2.11_all.deb
> 	http://incoming.debian.org/xfonts-arphic-gkai00mp_2.11_all.deb
> 
I have tried to installed xfonts-arphic-gbsn* and xfonts-arphic-bsmi*..
(can't install bkai and bsmi coz havn't installed their truetype fonts..)
but seem...the same thing occur...

> > XF86Config:
> > Section "Files"
> >    RgbPath    "/usr/X11R6/lib/X11/rgb"
> >    FontPath   "unix/:7100"
> > EndSection
> 
> Looks good.  :-)
> 
> > /etc/X11/xfs/config:
> > catalogue = /usr/X11R6/lib/X11/fonts/misc,
> >             /usr/X11R6/lib/X11/fonts/Type1,
> >             /usr/X11R6/lib/X11/fonts/75dpi:unscaled,
> >             /usr/X11R6/lib/X11/fonts/100dpi:unscaled,
> >             /usr/X11R6/lib/X11/fonts/75dpi,
> >             /usr/X11R6/lib/X11/fonts/100dpi,
> >             /usr/X11R6/lib/X11/fonts/chinese,
> >             /usr/X11R6/lib/X11/fonts/TrueType
> 
> Please remove /usr/X11R6/lib/X11/fonts/chinese from the list.  This might
> solve the problem.
> 
> Also, please do a "ls -l /usr/X11R6/lib/X11/fonts/chinese" and let me know
> what's in there.  If all it contains is fonts.dir and/or fonts.alias, then
> you may safely do a "rm -rf /usr/X11R6/lib/X11/fonts/chinese" too.
>
yes..it just remain fonts.dir and fonts.alias...but deleting them and
remove
the path in /etc/X11/xfs/config doesn't help...:(... 
> /usr/X11R6/lib/X11/fonts/chinese is a left-over from the old
> xfonts-cmex24-big5p package, which is now superceded by the new
> xfonts-cmex-big5p package.  The old package installed fonts in its own
> /usr/X11R6/lib/X11/fonts/chinese directory, but that didn't comply with
> Debian's X policy, so in the new xfonts-cmex-big5p package, the Chinese
> fonts were moved to /usr/X11R6/lib/X11/fonts/misc instead. 
> /usr/X11R6/lib/X11/fonts/chinese was left behind by mistake.
> See  http://bugs.debian.org/54994  for more information.
> 
> Oh wait, I almost forgot!  One more thing: the "deferglyphs = all" line MUST
> /be in etc/X11/xfs/config, and the font cache control lines are recommended
> /too:
> 
> 	deferglyphs = all
> 
> 	# font cache control, specified in KB
> 	cache-hi-mark = 2048
> 	cache-low-mark = 1433
> 
> As well, in /etc/X11/xdm/Xservers, make sure you add the option
> "-deferglyphs 16", for example:
> 
> 	:0 local /usr/bin/X11/X vt7 -deferglyphs 16
I find that these line  have already added b4.....
> So, to summerize, please do the following three things:
> 
>   1. Install the new (and lighter) xfonts-arphic-*_2.11*.deb
>   2. Removing the old/unused fontpath in /etc/X11/xfs/config
>   3. Add the deferglyphs option in both /etc/X11/xfs/config and
>      /etc/X11/xdm/Xservers.
tried all that...seem don't work...:(.....
(my XF86_SVGA is still using 98.x% CPU before I end the message....)..

> 
> Let us know if it solves the problem or not.
> 
> Hope this helps.
> 
> Anthony
> 
> -- 
> Anthony Fok Tung-Ling                Civil and Environmental Engineering
> foka@ualberta.ca, foka@debian.org    University of Alberta, Canada
> Come visit Our Lady of Victory Camp -- http://www.olvc.ab.ca/
> 
> 
> --  
> To UNSUBSCRIBE, email to debian-chinese-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> 




Reply to: