Date: Thu, 27 Jan 2000 17:53:17 -0600 (CST) From: Gene Harris <zeus@tetronsoftware.com> To: "James A. Mutter" <jmutter@ds.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: More on XFSTT & Linux Emulation Message-ID: <Pine.BSF.4.10.10001271751470.1718-100000@tetron02.tetronsoftware.com> In-Reply-To: <3890B4AD.9E62403@ds.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Yep, this does indeed work. And, against my better judgement, the upgrade to rh 6.1 didn't break my StarOffice! It is nice to use my FreeBSD server to feed my truetype fonts to netscape. *==============================================* *Gene Harris http://www.tetronsoftware.com* *FreeBSD Novice * *==============================================* On Thu, 27 Jan 2000, James A. Mutter wrote: > 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 > 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?Pine.BSF.4.10.10001271751470.1718-100000>