Jason S. on Tue, 21 Sep 1999 09:57:03 -0400 (EDT)


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

Re: [Plug] True Type Fonts


I'm using xfs also. Here's the relevant bit of XF86Config

Section "Files"
 	RgbPath    "/usr/X11R6/lib/X11/rgb"
	FontPath   "unix/:-1"
EndSection

Then in /etc/X11/fs/config, I added the font dir to the top of the list:
catalogue = /usr/X11R6/lib/X11/fonts/ttf,
	/usr/X11R6/lib/X11/fonts/misc:unscaled,
	/usr/X11R6/lib/X11/fonts/75dpi:unscaled,
	/usr/X11R6/lib/X11/fonts/100dpi:unscaled,
	/usr/X11R6/lib/X11/fonts/sharfont,
	/usr/X11R6/lib/X11/fonts/freefont,
	etc...

Next comes the important bit. You have to make the fonts.scale and 
fonts.dir files in the new ttf directory. To make the fonts.scale file,

cd /usr/X11R6/lib/X11/fonts/ttf && ttmkfdir > fonts.scale


To create the fonts.dir,
cd /usr/X11R6/lib/X11/fonts/ttf && mkfontdir .

You'll need to be root. Then do /etc/rc.d/init.d/xfs restart to restart
the font server. Then fireup gimp. You should be able to use "wingdings"
now :)

J.

When I grow up, I wanna be more like me.
I had a clue. I didn't like it. I took it back and exchanged it for an
attitude.  

On Mon, 20 Sep 1999, Tracy Nelson wrote:

> "Jason S." wrote:
> > Check the
> > syntax and make sure you're using it as your font server in your
> > XF86Config.
> 
> How would one do that?  In the "Files" section I have a "FontPath"
> directive, but nothing that seems to specify a font server (unless the
> "-1" somehow identifies the font server -- ISTR that one of the
> follow-up comments in the original article recommended starting XFS with
> a port of -1).  I also had to manually set the font path using
> chkfontpath (and add it to etc/X11/fs/config).
> 
> _______________________________________________
> Plug maillist  -  Plug@lists.nothinbut.net
> http://lists.nothinbut.net/mail/listinfo/plug
> 


_______________________________________________
Plug maillist  -  Plug@lists.nothinbut.net
http://lists.nothinbut.net/mail/listinfo/plug