From owner-freebsd-doc Sat Jul 15 0:14: 3 2000 Delivered-To: freebsd-doc@freebsd.org Received: from ducky.nz.freebsd.org (chilled.unixathome.org [203.79.82.27]) by hub.freebsd.org (Postfix) with ESMTP id 50B4C37C497 for ; Sat, 15 Jul 2000 00:13:59 -0700 (PDT) (envelope-from dan@freebsddiary.org) Received: from wocker (wocker.int.nz.freebsd.org [192.168.0.99]) by ducky.nz.freebsd.org (8.9.3/8.9.3) with ESMTP id TAA03933; Sat, 15 Jul 2000 19:13:17 +1200 (NZST) From: "Dan Langille" Organization: The FreeBSD Diary To: "Michael C. Wu" , jim Weeks Date: Sat, 15 Jul 2000 19:13:17 +1200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: TrueType Fonts Reply-To: dan@freebsddiary.org Cc: doc@freebsd.org, dan@freebsddiary.org Message-ID: <3970B7CD.26986.310B5D9C@localhost> In-reply-to: <20000511220003.A88399@peorth.iteration.net> References: <39182AF6.EE4C8AB7@siteplus.com>; from jim@siteplus.com on Tue, May 09, 2000 at 11:12:54AM -0400 X-mailer: Pegasus Mail for Win32 (v3.12c) Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org After a very long delay, this will be going in tonight. The only change I made was to specify /usr/local/etc/rc.d/ for startup as /etc/rc.local is deprecated. On 11 May 2000, at 22:00, Michael C. Wu wrote: > On Tue, May 09, 2000 at 11:12:54AM -0400, jim Weeks scribbled: > | On Tue, 9 May 2000, Michael Chin-Yuan Wu wrote: > | TrueType fonts for FreeBSD/XFree86 > | > | The following operation requires root access. > | > | The easiest way to use TrueType (*.ttf) fonts in FreeBSD/XFree86 is to > first install XfStt from the ports collection. This port is found under > X11-servers. | | Once installed you will need to create the directory > /usr/X11R6/lib/X11/fonts /TrueType which is where XfStt looks for fonts. > Next you should populate the directory with fonts. | | TrueType (*.ttf) > fonts are easily found and several are even available for do wnload on the > Microsoft web site. One way to get the fonts is to zip the font d irectory > on that old Ms Windows machine before you reformat the drive for FreeB SD. > If you are lucky enough to have the old machine on a local network you may > want to ftp the fonts over to your FreeBSD machine. | | Once you have the > fonts in your new TrueType directory you are ready to start > the server. You can start it by simply typing "xfstt &" at the command > prompt > . You should insure that xfstt is started at boot time. This is easily > accomplished by adding the following lines to /etc/rc.local | | > /usr/X11R6/bin/xfstt & | echo "XfStt" | | The font database will be > synchronized the first time you start the server. If you wish to add fonts > later you will need to stop the server and type "xfstt --sync" to > re-synchronize the database. | | The last thing you need to do is make > Xfree86 recognize your new fonts. In o rder to do this you will need to > add the following line to your list of fonts in /etc/XF86Config, | | > FontPath "unix/:7100" | | where "7100" is the default port for the native > FreeBSD version of XfStt. | | You should now be ready to start X and test > your installation. If you have N etscape installed you can check under > Edit/Preferences/Fonts. The new fonts should now be visible in the > Variable width fonts menu. | > > ---end quoted text--- > > After reading this over, I find that this tutorial may not be a great > part of the distribution. However, I know a great place for this > article and should not require much if any modification. > Please consider allowing www.freebsddiary.org to have this article. > I am sure that Dan would put it in the Diary. Would you consider it? Jim > > > Thank you very much, > > > -- > +-------------------------------------------------------------------+ > | keichii@peorth.iteration.net | > | keichii@bsdconspiracy.net - Yes, this is a conspiracy. | > +-------------------------------------------------------------------+ > -- Dan Langille - DVL Software Limited FreshPorts - http://freshports.org/ - the place for ports To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message