From owner-freebsd-questions Sat Apr 7 5:30:27 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.rz.uni-ulm.de (sirius-giga.rz.uni-ulm.de [134.60.246.36]) by hub.freebsd.org (Postfix) with ESMTP id 8041F37B42C for ; Sat, 7 Apr 2001 05:30:23 -0700 (PDT) (envelope-from siegbert.baude@gmx.de) Received: from gmx.de (lilith.wohnheim.uni-ulm.de [134.60.106.64]) by mail.rz.uni-ulm.de (8.9.3/8.9.3) with ESMTP id OAA05373; Sat, 7 Apr 2001 14:25:52 +0200 (MEST) Message-ID: <3ACF0749.E5662ECC@gmx.de> Date: Sat, 07 Apr 2001 14:25:45 +0200 From: Siegbert Baude X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: de, en MIME-Version: 1.0 To: David Xu Cc: freebsd-questions@freebsd.org Subject: Re: KDE2 & TrueType font problem References: <9125484324.20010403153242@21cn.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I have installed KDE2 from ports, it looks like OK. > but I can not let KDE2 see TrueType Font I have installed. > I have loaded freetype module in /etc/XF86Config. > xlsfonts can see my installed truetype font. > I opened KDE Control Center, in Look & Feel, I can not > set my installed TrueType fonts. KDE2 can only see stock > XFree86-4 font. > > why? Don't know exactly, but it was the same for me. I now added the lines NO_X=true XFREE86_VERSION=4 in /etc/make.conf and recompiled XFree4.0.3 (don't touch the default answers of the questions it will ask in the beginning), QT2.3 (will allow for anti-aliased fonts) and KDE2.1.1 . In my XF86Config I have (don't know if this is in by default, as I'm using a hand-crafted one) Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" ModulePath "/usr/X11R6/lib/modules" FontPath "/usr/X11R6/lib/X11/fonts/TrueType/" FontPath "/usr/X11R6/lib/X11/fonts/misc/" FontPath "/usr/X11R6/lib/X11/fonts/Speedo/" FontPath "/usr/X11R6/lib/X11/fonts/Type1/" FontPath "/usr/X11R6/lib/X11/fonts/CID/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" EndSection Section "Module" Load "extmod" Load "xie" Load "glx" Load "dri" Load "GLcore" Load "dbe" Load "record" Load "freetype" Load "type1" Load "speedo" EndSection klauncher is setting QT_XFT=0 as environment variable. Look if this is true for you, too. Now I'm a happy camper, no UNIX Desktop looked ever so good (MS hired really one of the best font designers to create Verdana :-) ). BTW, in some "TrueType for XFree" FAQs, there were hints that freetype will only recognize fonts in lower-case letters and therefore a link to your Win font directory would fail. But that wasn't true for me. bash-2.04$ ls -ls /usr/X11R6/lib/X11/fonts/TrueType 0 lrwxr-xr-x 1 root wheel 20 3 Apr 01:37 /usr/X11R6/lib/X11/fonts/TrueType@ -> /win/c/WINDOWS/FONTS bash-2.04$ I made the fonts.scale with ttmkfdir from the ports. Hope that helps Siegbert To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message