fonts.dir for TrueType fonts

Robert Ames robertames at hotmail.com
Thu Dec 24 17:40:47 UTC 2015


> From: brandon.wandersee at gmail.com
> To: robertames at hotmail.com
> CC: freebsd-questions at freebsd.org
> Subject: Re: fonts.dir for TrueType fonts
> Date: Thu, 24 Dec 2015 10:33:40 -0600
> 
> 
> Robert Ames writes:
> 
> > In the Handbook, under section "5.5.2. TrueType Fonts" it states:
> >
> >> Once the files have been copied into this directory, use ttmkfdir
> >> to create a fonts.dir, so that the X font renderer knows that these
> >> new files have been installed. ttmkfdir is available from the FreeBSD
> >> Ports Collection as x11-fonts/ttmkfdir.
> >  
> > ttmkdir is not in the current Ports Collection.  So how does one 
> > create fonts.dir?
> >
> > I'm assuming the Handbook is out of date so I guess what I'm really
> > asking is how does one add TrueType fonts?
>
> Fonts I've added to ~/.fonts have always just worked, as have fonts
> installed from ports. Are you having an issue with a particular font, or
> were you just following along in the Handbook and got stuck when it
> called for x11-fonts/ttmkfdir?

Just following along in the Handbook.  I've installed TrueType fonts in
/usr/local/share/fonts/TrueType/ and added a FontPath to /etc/X11/xorg.conf.
Was just making sure there was nothing else I needed to do.

 		 	   		  


More information about the freebsd-questions mailing list