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

Re: problem using arphic chinese truetype fonts

On Tue, May 16, 2000 at 12:39:56PM +0800, 50191914@uxmail.cityu.edu.hk wrote:
> > 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...

Hmm... not sure what XF86_SVGA is doing.  However, I do know that XF86_SVGA
or any other Xserver would use lots of CPU_time if it can't talk to xfs-xtt.

> > 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....

As root, run:

	# apt-get install fttools

However, in Debian, mkttfdir may not do what you want, especially in
X font directories used by Debian packages.  So, instead of using mkttfdir,
You may try the following instead:

  1. Save the attached file (in this message).
  2. Login as root.
  3. Save that file as:
  4. Copy some MS Window non-CJK (iso-8859-1) *.TTF files
     (arial, times, etc.) to /usr/lib/X11/fonts/TrueType
  5. Run:
	# cd /usr/lib/X11/fonts/TrueType
	# /usr/sbin/update-fonts-scale
	# mkfontdir
  6. Stop both xdm and xfs-xtt, then restart both.
  7. Test the fonts.

> 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...

Did you restart both xfs-xtt and xdm?

	# /etc/init.d/xdm stop; /etc/init.d/xfs-xtt stop
	# /etc/init.d/xfs-xtt start; /etc/init.d/xdm start

> I find that these line  have already added b4.....

You are running X from xdm, and not by

	$ startx

right?  If you use startx, you'll have to run it like

	$ startx -deferglyph 16


> > 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....)..

Check these files:


and look for clues.

Well, I think I have run out of ideas.  Hope the last few remedies above
would do the trick.  Good luck!


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/

arialbd.ttf -Monotype-Arial-bold-r-normal--0-0-0-0-p-0-iso8859-1
verdanaz.ttf -Microsoft-Verdana-bold-i-normal--0-0-0-0-p-0-iso8859-1
verdanai.ttf -Microsoft-Verdana-medium-i-normal--0-0-0-0-p-0-iso8859-1
verdana.ttf -Microsoft-Verdana-medium-r-normal--0-0-0-0-p-0-iso8859-1
timesi.ttf -Monotype-Times New Roman-medium-i-normal--0-0-0-0-p-0-iso8859-1
timesbi.ttf -Monotype-Times New Roman-bold-i-normal--0-0-0-0-p-0-iso8859-1
timesbd.ttf -Monotype-Times New Roman-bold-r-normal--0-0-0-0-p-0-iso8859-1
times.ttf -Monotype-Times New Roman-medium-r-normal--0-0-0-0-p-0-iso8859-1
impact.ttf -Monotype-Impact-medium-r-normal--0-0-0-0-p-0-iso8859-1
couri.ttf -Monotype-Courier New-medium-i-normal--0-0-0-0-m-0-iso8859-1
courbi.ttf -Monotype-Courier New-bold-i-normal--0-0-0-0-m-0-iso8859-1
courbd.ttf -Monotype-Courier New-bold-r-normal--0-0-0-0-m-0-iso8859-1
cour.ttf -Monotype-Courier New-medium-r-normal--0-0-0-0-m-0-iso8859-1
cour.ttf -Monotype-Courier New-medium-r-normal--0-0-0-0-p-0-iso8859-1
comicbd.ttf -Microsoft-Comic Sans MS-bold-r-normal--0-0-0-0-p-0-iso8859-1
comic.ttf -Microsoft-Comic Sans MS-medium-r-normal--0-0-0-0-p-0-iso8859-1
ariblk.ttf -Monotype-Arial Black-medium-r-normal--0-0-0-0-p-0-iso8859-1
ariali.ttf -Monotype-Arial-medium-i-normal--0-0-0-0-p-0-iso8859-1
arialbi.ttf -Monotype-Arial-bold-i-normal--0-0-0-0-p-0-iso8859-1
arial.ttf -Monotype-Arial-medium-r-normal--0-0-0-0-p-0-iso8859-1
verdanab.ttf -Microsoft-Verdana-bold-r-normal--0-0-0-0-p-0-iso8859-1
symbol.ttf  -Microsoft-Symbol-normal-r-normal--0-0-0-0-p-0-iso8859-1

Reply to: