>From a post I have filed, I hope it helps, but don't thank me, thank
Anthony Green who I believe posted it originally.
---------------------------------------------------------
You're heading in the right direction. If you're running RH60, the solution
is relatively simple. RH60 ships with a TrueType-capable font server
included in the X server. Enabling TrueType fonts is part of the solution.
The other part involves Netscapes font scaling. I'll cover the TyrueType
issue first.

1. Create a directory to hold the TrueType fonts:

   mkdir /usr/X11R6/lib/X11/fonts/winttf

2. Copy the TTF files from a Windows box to the winttf directory. There are
also some font files on Microsoft's Web site.

3. Create a fonts.dir file in the new directory:

  cd /usr/X11R6/lib/X11/fonts/winttf
  ttmkfdir > fonts.dir

4. Add the new font directory to the catalogue section of
/etc/X11/fs/config.

5. If you will be running X from the command line in runlevel 3, then you
should also add the new font directory to the FontPath section of
/etc/X11/XF86Config.

6. *COPY* the 100dpi,75dpi, and misc font paths to the bottom of
catalogue/fontpath.

7. Edit the original 100/75/misc paths, appending ":unscaled" to the end:

catalogue = /usr/X11R6/lib/X11/fonts/misc:unscaled,
            /usr/X11R6/lib/X11/fonts/100dpi:unscaled,
            /usr/X11R6/lib/X11/fonts/75dpi:unscaled,
            /usr/X11R6/lib/X11/fonts/winttf,
            /usr/X11R6/lib/X11/fonts/Type1,
            /usr/X11R6/lib/X11/fonts/Speedo,
            /usr/X11R6/lib/X11/fonts/misc,
            /usr/X11R6/lib/X11/fonts/100dpi,
            /usr/X11R6/lib/X11/fonts/75dpi


This last step will help with the way Netscape renders the basic fonts.

Now restart the font server:

   /etc/rc.d/init.d/xfd restart

If you use an X based login, you need to logout and log back in for the
changes to take effect. If you use a console login, just exit X and restart
it. Your apps should all look better.

--
 Anthony E. Greene <[EMAIL PROTECTED]>
 Homepage & PGP Key <http://www.pobox.com/~agreene/>
 If it's too good to be true, it's probably Linux.

> -----Original Message-----
> From: Jeff Browning [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 04, 2000 3:52 PM
> To: [EMAIL PROTECTED]
> Subject: True Type Fonts in X
>
>
> Hi everyone,
>
> Could someone please explain how to get True Type fonts working in X. I've
> tried putting them in the directories specified in /etc/X11/fs/config but
> haven't had any luck.
>
> TIA,
>
> Jeff
>
> ____________________________________________________________________
> Get free email and a permanent address at http://www.netaddress.com/?N=1
>
>
> --
> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> as the Subject.
>


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to