From owner-freebsd-questions Thu Jan 27 15:49:49 2000 Delivered-To: freebsd-questions@freebsd.org Received: from tetron02.tetronsoftware.com (ftp.tetronsoftware.com [208.236.46.106]) by hub.freebsd.org (Postfix) with ESMTP id A598E14EED for ; Thu, 27 Jan 2000 15:49:42 -0800 (PST) (envelope-from zeus@tetronsoftware.com) Received: from tetron02.tetronsoftware.com (tetron02.tetronsoftware.com [208.236.46.106]) by tetron02.tetronsoftware.com (8.9.3/8.9.3) with ESMTP id RAA01788; Thu, 27 Jan 2000 17:53:17 -0600 (CST) (envelope-from zeus@tetronsoftware.com) Date: Thu, 27 Jan 2000 17:53:17 -0600 (CST) From: Gene Harris To: "James A. Mutter" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: More on XFSTT & Linux Emulation In-Reply-To: <3890B4AD.9E62403@ds.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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