Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Apr 2001 15:07:33 -0400
From:      Erik Rothwell <erothwell@callgtn.com>
To:        freebsd-questions@freebsd.org
Subject:   [Fwd: TrueType fonts in XF86 4.03 (FreeBSD install from Ports.)]
Message-ID:  <3ACB70F5.9D657C44@callgtn.com>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------8AE29CDE07EBB93BC0BEF85C
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi folks...

I originally posted this to the Xfree86 list... but, maybe somebody
knows what's going on here... I upgraded my XF86 3.36 to 4.03 by means
of the ports... from what I can tell, I've done everything as I should
-- but, I cannot get the fonts to work? Has anyone else had/solved this
issue on their own boxes?

Cheers,
Erik...
--------------8AE29CDE07EBB93BC0BEF85C
Content-Type: message/rfc822
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

X-Mozilla-Status2: 00000000
Message-ID: <3ACA9249.EC85FEA4@callgtn.com>
Date: Tue, 03 Apr 2001 23:17:29 -0400
From: Erik Rothwell <erothwell@callgtn.com>
Reply-To: erothwell@callgtn.com
Organization: xxxxx xxxxxxxxxxxxx xxxx
X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.2-RELEASE i386)
X-Accept-Language: en
MIME-Version: 1.0
To: newbie@XFree86.Org
Subject: TrueType fonts in XF86 4.03 (FreeBSD install from Ports.)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I am having one heck of a time getting TrueType fonts working under
XFree86 4.03... I'm trying to use the FreeType backend... here's what I
did:

I used to use an external Font Server (xfstt) under XF86 3.3.6... this
mapped to /usr/X11R6/lib/X11/fonts/TrueType... I used to add  FontPath
"unix/:7101" and then do an xset fp+ / xset fp rehash from .xinitrc.

Under the new setup I've done this to my /etc/XF86Config (I didn't
install under /etc/X11...)

Under Section "Files":

FontPath     "/usr/X11R6/lib/X11/fonts/TrueType/"

Under Section "Module":

Load	"freetype"

Then I went to /usr/X11R6/lib/X11/fonts/TrueType and did mkfontdir.

And TTF fonts do not load... these are the excerpts from my Server Log
-- 

(II) LoadModule: "freetype"
(II) Loading /usr/X11R6/lib/modules/fonts/libfreetype.a
(II) Module freetype: vendor="The XFree86 Project"
	compiled for 4.0.3, module version = 1.1.9
	Module class: XFree86 Font Renderer
	ABI class: XFree86 Font Renderer, version 0.2
(II) Loading font FreeType

But then, right near the end of the log we get:

Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/,
removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/TrueType/,
removing from list!

And ... that's it. Nothing. X starts up and does its thing normally but
I have like 5 fonts instead of the 600+ TTF fonts I've collected over
the last while... can anyone help?

I also tried doing "xset fp+ /usr/X11R6/lib/X11/fonts/TrueType" but I
got this error:

[11:13pm] % xset fp+ /usr/X11R6/lib/X11/fonts/TrueType
X Error of failed request:  86
  Major opcode of failed request:  51 (X_SetFontPath)
  Serial number of failed request:  9
  Current serial number in output stream:  11

I'm sort of at a loss... 

Thanks in advance!

Erik.

--------------8AE29CDE07EBB93BC0BEF85C--


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?3ACB70F5.9D657C44>