Re: problem using arphic chinese truetype fonts
On Tue, 16 May 2000, Anthony Fok wrote:
> 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:
> /etc/X11/fonts/TrueType/microsoft-truetype.scale
> 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 may try that later...
>
> 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
>
Yes..I havn't used xdm and use startx to start XWin....
and if I use startx -deferglyph 16 ...
from the .xsession-error ..
it say invalid number of argument(2)...
seem the "-deferglyph 16" not recognized.
but then I tried xdm and it work!!!!e
maybe misspelling the argument "-deferglyph 16"????
Reply to: