Date: Thu, 27 Jan 2000 16:12:13 -0500 From: "James A. Mutter" <jmutter@ds.net> To: freebsd-questions@freebsd.org Subject: More on XFSTT & Linux Emulation Message-ID: <3890B4AD.9E62403@ds.net>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3890B4AD.9E62403>