Subject: MESSAGE for ms-ttf
To: None <tech-pkg@netbsd.org>
From: Martti Kuparinen <martti.kuparinen@iki.fi>
List: tech-pkg
Date: 03/30/2005 18:49:05
I'd like to add this MESSAGE to pkgsrc/fonts/ms-ttf. Any objections?


===========================================================================
$NetBSD$

After installing ${PKGNAME} you must run the following commands
to use these TrueType fonts with your X server:

# mkfontscale ${PREFIX}/lib/X11/fonts/TTF       # [1]
# mkfontdir ${PREFIX}/lib/X11/fonts/TTF         #
# fc-cache -v                                   # [2]

You must also configure your X server to use the new fonts. Add
these to your /etc/X11/XF86Config. Make sure the TTF and Type1
font settings are the first FontPath lines.

Section "Files"
         FontPath     "/usr/pkg/lib/X11/fonts/TTF/"
         FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
         ...
EndSection

Section "Module"
         ...
         Load  "type1"
         Load  "freetype"
         ...
EndSection

[1] Install also pkgsrc/fonts/mkfontscale if you don't have mkfontscale
     in /usr/X11R6/bin (as part of your X server)

[2] Install also pkgsrc/fonts/fontconfig
===========================================================================