Justin Fisher wrote:
>
> This didnt work. I am using an X server that i got from
> glide.xxedgexx.com for my voodoo3 card.. will this affect the TrueType
> font support at all? Other than that nothing is really different from a
> typical mandrake 6 installation
It's possible, I don't know how much hacking Red Hat / Mandrake have
done on the .rpm's for X. Here's what you can try...
You'll need to use some information from /etc/X11/fs/config, so:
cp /etc/X11/fs/config ~/xfsstuff
Then edit ~/xfsstuff to delete out everything but the set of lines that
starts with catalogue=:
catalogue = /usr/X11R6/lib/X11/fonts/misc:unscaled,
/usr/X11R6/lib/X11/fonts/75dpi:unscaled,
/usr/X11R6/lib/X11/fonts/100dpi:unscaled,
/usr/X11R6/lib/X11/fonts/misc,
/usr/X11R6/lib/X11/fonts/Type1,
/usr/X11R6/lib/X11/fonts/Speedo
Delete the catalogue= part leaving just:
/usr/X11R6/lib/X11/fonts/misc:unscaled,
/usr/X11R6/lib/X11/fonts/75dpi:unscaled,
/usr/X11R6/lib/X11/fonts/100dpi:unscaled,
/usr/X11R6/lib/X11/fonts/misc,
/usr/X11R6/lib/X11/fonts/Type1,
/usr/X11R6/lib/X11/fonts/Speedo
Then prepend "FontPath " to the front of all those lines and put "'s
around the paths:
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled",
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled",
FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled",
FontPath "/usr/X11R6/lib/X11/fonts/misc",
FontPath "/usr/X11R6/lib/X11/fonts/Type1",
FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
Now edit /etc/X11/XF86Config and replace the existing FontPath with the
stuff that you created in ~/xfsstuff (how to do that will depend on your
editor).
Finally, you can go ahead and turn off the xfs server:
/etc/rc.d/init.d/xfs stop
chkconfig xfs off
Give X another try!
> On Mon, 30 Aug 1999, Steve Philp wrote:
>
> > Justin Fisher wrote:
> > >
> > > Excuse the post as i know that there already was a post of the same topic
> > > a few days ago.. however i deleted my mail folder.. and i dont have any
> > > of threads left.
> > >
> > > My question is: How do i go about getting TrueType fonts to work in
> > > mandrake 6?
> >
> > First, create a directory for the fonts:
> >
> > mkdir /usr/share/fonts/default/TTF
> >
> > Copy the TTF fonts you want to use into that directory:
> >
> > cp *.ttf /usr/share/fonts/default/TTF/.
> >
> > Create the fonts.scale file needed for xfs:
> >
> > cd /usr/share/fonts/default/TTF
> > /usr/sbin/ttmkfdir -o fonts.scale
> > ln -s fonts.scale fonts.dir
> >
> > Tell the X font server to use the new fonts:
> >
> > chkfontpath --add /usr/share/fonts/default/TTF
> >
> > Restart the X font server:
> >
> > /etc/rc.d/init.d/xfs restart
> >
> > The fonts are now available!
--
Steve Philp
Network Administrator
Advance Packaging Corporation
[EMAIL PROTECTED]