From owner-freebsd-questions Thu Jan 27 13:13:14 2000 Delivered-To: freebsd-questions@freebsd.org Received: from s1.ds.net (s1.ds.net [207.239.204.1]) by hub.freebsd.org (Postfix) with ESMTP id BB09D158B9 for ; Thu, 27 Jan 2000 13:12:18 -0800 (PST) (envelope-from jmutter@ds.net) Received: from ds.net (i1p90.cmh-oh.ds.net [207.239.205.90]) by s1.ds.net (8.8.5/8.8.5) with ESMTP id QAA14835 for ; Thu, 27 Jan 2000 16:12:16 -0500 (EST) Message-ID: <3890B4AD.9E62403@ds.net> Date: Thu, 27 Jan 2000 16:12:13 -0500 From: "James A. Mutter" Reply-To: jmutter@ds.net X-Mailer: Mozilla 4.7 [en] (X11; U; Linux 2.0.36 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: More on XFSTT & Linux Emulation Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG After looking a bit deeper into this I've managed to come up with some basic instructions for getting this accomplished: First and foremost - you'll need the latest Linux Emulation system. cd /usr/ports/emulators/linux_base && make install grab the xfstt rpm from: ftp://ftp.calderasystems.com/pub/openlinux/contrib/RPMS/libc6/xfstt-1.0-1.i386.rpm mkdir xfstt mv xfstt-1.0-1.i386.rpm xfstt cd xfstt rpm2cpio < xfstt-1.0-1.i386.rpm | cpio -id cp usr/X11R6/bin/xfstt /usr/compay/linux/usr/X11R6/bin cp usr/doc/xfstt-1.0 /usr/share/doc cp usr/X11R6/man/xfstt.1x /usr/X11R6/man/man1/ mkdir -p /usr/compat/linux/var/cache/xfstt add the following script to /usr/local/etc/rc.d < -- begin -- > XFSTT=/usr/compat/linux/usr/X11R6/bin/xfstt # the executable CACHE=/usr/compat/linux/var/cache/xfstt # the cache directory TTFONTS=/usr/X11R6/lib/X11/fonts/TrueType # keep fonts here PORT=7101 # port number USER=nobody # you don't want this running as root, do you? RES=120 # if the fonts are too large try 90 if [ -x /usr/compat/linux/usr/X11R6/bin/xfstt ]; then $XFSTT --cache $CACHE --dir $TTFONTS --sync $XFSTT --port $PORT --user $USER --dir $TTFONTS --cache $CACHE --res $RES --daemon fi < -- end -- > Add the following line to /etc/XF86Config: FontPath "unix/:7101" If you can't figure out where to add this line you probably shouldn't be messing with this in the first place. Copy a bunch of TT fonts to /usr/X11R6/lib/X11/fonts/TrueType. I copied all of Windows fonts (C:\Windows\Fonts\*) - If nothing else, Windows fonts are nice to look at. that's about it - start the font server with "sh /usr/local/etc/rc.d" or if you're feeling so inclined you can just restart your machine. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message