From owner-freebsd-questions Thu May 10 6:48:48 2001 Delivered-To: freebsd-questions@freebsd.org Received: from q.closedsrc.org (ip233.gte15.rb1.bel.nwlink.com [209.20.244.233]) by hub.freebsd.org (Postfix) with ESMTP id 310F537B422 for ; Thu, 10 May 2001 06:48:42 -0700 (PDT) (envelope-from lplist@closedsrc.org) Received: by q.closedsrc.org (Postfix, from userid 1003) id A3BC855407; Thu, 10 May 2001 06:40:34 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by q.closedsrc.org (Postfix) with ESMTP id 9445751610; Thu, 10 May 2001 06:40:34 -0700 (PDT) Date: Thu, 10 May 2001 06:40:34 -0700 (PDT) From: Linh Pham To: Joseph Wright Cc: Subject: Re: TrueType fonts In-Reply-To: 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 On 2001-05-10, Joseph Wright scribbled: # I am trying to get TrueType fonts working under FreeBSD 4.3 # I am using XFree86 3.3.6 with Xfstt. I have been reading old mailing # list items for two days trying different things to get TrueType fonts # to work but I have had little luck. I have tried the following. I # copied my window$ ttf fonts over to my server under # /usr/X11R6/lib/X11/fonts/TrueType and ran ttmkfdir > fonts.dir and # created the fonts.dir file which has information inside it about my # fonts. Next I set the following in my .xinitrc file( xset fp+ # /usr/X11R6/lib/X11/fonts/TrueType and xset fp rehash) when I try to # start x I get the following error. # # failed to set default font path "/usr/X11R6/lib/X11/fonts/TrueType" # Fatal Server Error: # Could not open default font 'fixed' # # I also tried adding xset +fp unix/:7101 to my .xinitrc file but that # returns an "unable to open display" The way I got it working (installed from ports) is that the installation created a sh file in /usr/local/etc/rc.d (or /usr/X11R6/etc/rc.d) that's called Xfstt.sh that starts the daemon. You would also need to add the `unix/:7101` to /etc/XF86Config file in the fonts directory string. You will need to run `xfstt --sync` as root if you add/remove any fonts from the TrueType font directory. -- Linh Pham [lplist@closedsrc.org] // 404b - Brain not found To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message