Subject: Re: MESSAGE for ms-ttf
To: Martti Kuparinen <martti.kuparinen@iki.fi>
From: Juan RP <juan@xtraeme.nopcode.org>
List: tech-pkg
Date: 03/30/2005 17:53:07
On Wed, 30 Mar 2005 18:49:05 +0300
Martti Kuparinen <martti.kuparinen@iki.fi> wrote:
> 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
I'd change s/\/usr\/X11R6/${X11BASE}/g.