Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 May 2001 06:40:34 -0700 (PDT)
From:      Linh Pham <lplist@closedsrc.org>
To:        Joseph Wright <jwright@mbakercorp.com>
Cc:        <freebsd-questions@FreeBSD.org>
Subject:   Re: TrueType fonts
Message-ID:  <Pine.BSF.4.33.0105100637330.4000-100000@q.closedsrc.org>
In-Reply-To: <safa5883.065@mbakercorp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.33.0105100637330.4000-100000>