Date: Sat, 07 Apr 2001 14:25:45 +0200 From: Siegbert Baude <siegbert.baude@gmx.de> To: David Xu <bsddiy@21cn.com> Cc: freebsd-questions@freebsd.org Subject: Re: KDE2 & TrueType font problem Message-ID: <3ACF0749.E5662ECC@gmx.de> References: <9125484324.20010403153242@21cn.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3ACF0749.E5662ECC>