Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 13201 - KDE unable to use fonts
Summary: KDE unable to use fonts
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo KDE team
URL: http://cvs.gentoo.org/~spider/KDE.is....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-03 19:17 UTC by Spider (RETIRED)
Modified: 2003-01-16 09:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Spider (RETIRED) gentoo-dev 2003-01-03 19:17:11 UTC
see http://cvs.gentoo.org/~spider/KDE.is.broken.jpg for the exact result.

dcgui (qt-dcgui) which is a QT (pure) program work nicely and render fonts, KDE
does not.

I've rebuilt kdelibs, kdebase, qt, xft, fontconfig, freetype.
Gnome uses AA fonts nicely.
I've tried both rc5 and the "stable" kdelibs/base

media-libs/freetype 2.1.3-r2
x11-libs/qt 3.1.0-r1
x11-libs/xft 2.0.1-r1
kde-base/kdelibs 3.1_rc5
kde-base/kdebase 3.1_rc5
x11-base/xfree 4.2.1-r2




Portage 2.0.46-r4 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r3)
=================================================================
System uname: 2.4.20 i686 AMD Athlon(tm) Processor
USE="x86 apm avi encode gif jpeg libg++ mikmod mmx mpeg ncurses nls pdflib png
qtmt quicktime spell truetype xml2 xv zlib gdbm berkdb slang readline tetex
aalib svga ggi tcltk java guile X sdl gpm tcpd pam libwww perl python esd imlib
gtk motif opengl mozilla gphoto2 cdr crypt alsa oggvorbis -arts -qt -kde -cups
gnome gpg gpgme bonobo doc oss ssl xmms 3dnow"
ARCH="x86"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-tbird -O2 -pipe"
CXXFLAGS="-march=athlon-tbird -O2 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
MAKEOPTS="-j10 -l5"
JDK_HOME="/opt/sun-jdk-1.4.1.01"
JAVA_HOME="/opt/sun-jdk-1.4.1.01"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"
Comment 1 Spider (RETIRED) gentoo-dev 2003-01-06 08:10:54 UTC
a lot of rebuilding and debugging and it appears that kde applications (even
arts) link to /usr/X11R6/lib/freetype, where qt and other things link to
/usr/lib/freetype

this appears to be the culprit.
Comment 2 Hannes Mehnert (RETIRED) gentoo-dev 2003-01-07 02:05:40 UTC
is -L/usr/X11R6/lib passed before -L/usr/lib? 
maybe passing LDFLAGS=-L/usr/lib to configure & make will solve this? 
Comment 3 Hannes Mehnert (RETIRED) gentoo-dev 2003-01-07 02:07:24 UTC
btw, here all those kde apps are linked against /usr/lib/libfreetype ;) 
(and freetype-2.1.3-r2 is merged) 
Comment 4 Spider (RETIRED) gentoo-dev 2003-01-07 13:28:23 UTC
I tried to manually edit the Makefile and reordered the -L  flags, still no
difference in the linking :/

Right now I'm making some system changes so Itll have to wait until a few
reboots and some stabilization on my side.
Comment 5 Hannes Mehnert (RETIRED) gentoo-dev 2003-01-09 00:39:34 UTC
uhm, i think this is a dup of bug #5305, isn't it? 
Comment 6 Spider (RETIRED) gentoo-dev 2003-01-16 09:42:20 UTC
okay, not sure -what- did it, but some more facts:

the problem wasn't with KDE, it was with my linking/runtime system. deducted by:
building KDE in a chroot proved teh "right" linking, then making pkgs of it and
installed on chroot, worked, linked the right way:
but, installing those packages on my normal system and it linked to /usr/X11.. 
 again.


possible fix:
removing freetype, installing old version, then installing new version as update
(Just dont ask why I did it that way, wanted to try)  and also waiting for quite
some time appears to solve the problem ;)

no, its not a real fix, but... Heck