Re: true type fonts in X 4.x ?
On Mon, 4 Feb 2002, Eric C. Cooper wrote:
> On Mon, Feb 04, 2002 at 11:46:03AM -0800, firstname.lastname@example.org wrote:
> > Does anyone have the short version of how to set up true type fonts
> > under X ?
> > Here's what I did, maybe someone can point out the error in my ways.
> > Add
> > Load "xtt"
> > to XF86Config
> Change this to
> Load "freetype"
> > I also added /usr/share/fonts/truetype to the font path.
> > run
> > ttfmkfdir -o fonts.dir
> > in my /usr/share/fonts/truetype directory.
> Make sure that fonts.scale is a copy of, or link to, fonts.dir in each
> truetype directory.
> > Try xfontsel and :
> > the fonts are "selectable" but they won't appear, i.e. they don't seem
> > to render at all. In fact xfontsel starts acting a little strange
> > with repaints now working, etc...
> If you run Gnome, I suggest gfontsel from the gnome-utils package,
> especially if you have lots of fonts installed.
An easier way to do this is:
apt-get install xfstt
throw all your truetype fonts in /usr/share/fonts/truetype
xfstt --sync (without xfstt started)
and then add FontPath "unix/:7101" to your XF86Config
- Josh Reynolds