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

Re: Fonts & XFree86 4.0.1



Jason C. Hammons wrote:
> hey, I'm having some trouble getting true type fonts working in the
> new X4 (without xfstt, unless that's how you do it), could anyone
> point me in the direction of a decent HOW-TO or something?

A few steps:

You need to enable a module in the X4 configuration that gives you
truetype fonts support, for example the "xtt" module (see
/etc/X11/XF86Config-4).

Then you need to put your font descriptions (those .ttf and .fon files)
in a directory, for example in /usr/local/lib/X11/fonts/TrueType. Also
you've got to add this directory to your font path in the XF86Config-4
configuration file.

Now you have to install the "fttools" package to get the mkttfdir
utility. Use that utility to create a fonts.dir file in the directory
you put your truetype font files in.

This should do the trick. At least, it worked for me :-)


Cheers,
Remco.



Reply to: