Antialiasing unter Gnome

Software besorgen und anwenden
Post Reply
Message
Author
Andy

Antialiasing unter Gnome

#1 Post by Andy »

Hallo,

wollte gerade mal das Antialiasing-Patch für Gnome ausprobieren ( Siehe PL-Bericht: http://www.pro-linux.de/news/2001/2705.html ). Habe es mir zusammen mit gtk+-1.2.8 runtergeladen, habe gtk gepatched, ./configure und make ausgeführt. Configure funkioniert noch ohne Fehler, doch bei make kommt folgender:

make<font size="2">: Entering directory `/down/gtk+-1.2.8/gtk'
/bin/sh ../libtool --mode=link gcc -g -O2 -Wall -o testgtk testgtk.o libgtk.la ../gdk/libgdk.la -L/usr/X11R6/lib -lXext -lX11 -L/usr/lib -rdynamic -lgmodule -lglib -ldl -lm
gcc -g -O2 -Wall -o .libs/testgtk testgtk.o .libs/libgtk.so -L/usr/lib -lgmodule -lglib
-ldl -L/usr/X11R6/lib -lXext -lX11 -lm ../gdk/.libs/libgdk.so -lgmodule -lglib -ldl -lXext -lX11 -lm -L/usr/X11R6/lib -lXext -lX11 -L/usr/lib -rdynamic -lgmodule -lglib -ldl -lm -Wl,--rpath -Wl,/usr/local/lib
../gdk/.libs/libgdk.so: undefined reference to `XftDrawString32'
../gdk/.libs/libgdk.so: undefined reference to `XftTextExtents8'
../gdk/.libs/libgdk.so: undefined reference to `XftPatternGetBool'
../gdk/.libs/libgdk.so: undefined reference to `XftDrawDestroy'
../gdk/.libs/libgdk.so: undefined reference to `XftDrawChange'
../gdk/.libs/libgdk.so: undefined reference to `XftPatternDestroy'
../gdk/.libs/libgdk.so: undefined reference to `XftPatternDel'
../gdk/.libs/libgdk.so: undefined reference to `XftFontOpenXlfd'
../gdk/.libs/libgdk.so: undefined reference to `XftFontOpenPattern'
../gdk/.libs/libgdk.so: undefined reference to `XftDrawCreate'
../gdk/.libs/libgdk.so: undefined reference to `XftPatternAddBool'
../gdk/.libs/libgdk.so: undefined reference to `XftDrawString8'
../gdk/.libs/libgdk.so: undefined reference to `XftXlfdParse'
../gdk/.libs/libgdk.so: undefined reference to `XftFontOpenName'
../gdk/.libs/libgdk.so: undefined reference to `XftFontMatch'
collect2: ld returned 1 exit status
make<font size="2">: *** [testgtk] Error 1


Wenn ich ohne Patch compiliere funktioniert es einwandfrei.

Wäre nett, wenn mir jemand helfen koennte, oder ne andere Möglichkeit kennt, fontaliasing unter Gtk hinzubekommen.

MfG
Andy

P.S. Suse 7.0, XFree 4.0.2

tkortkamp
Posts: 143
Joined: 08. Apr 2001 22:56
Location: Bremen

Re: Antialiasing unter Gnome

#2 Post by tkortkamp »

Hallo andy,
ich kann mich irren aber ich glaube das GTK+ nicht gegen die Bibliothek Xft gelinkt wird. Diese wird aber für das anti-aliasing benötigt. probier mal folgendes im verzeichnis /down/gtk+-1.2.8/gtk aus.
gcc -g -O2 -Wall -o .libs/testgtk testgtk.o .libs/libgtk.so -L/usr/lib -lgmodule -lglib -ldl -L/usr/X11R6/lib -lXext -lX11 -lm ../gdk/.libs/libgdk.so -lgmodule -lglib -ldl -lXext -lX11 -lm -L/usr/X11R6/lib -lXext -lX11 <b>-lXft</b> -L/usr/lib -rdynamic -lgmodule -lglib -ldl -lm -Wl,--rpath -Wl,/usr/local/lib
aus. Wenn das nicht funktioniert dann würde ich einmal einen anderen patch ausprobieren (neuer) URL: <a href="http://www.speakeasy.org/~bos/" target="_blank"><!--auto-->http://www.speakeasy.org/~bos/</a><!--auto-->

Mfg,
Tobias

Andy

Re: Antialiasing unter Gnome

#3 Post by Andy »

Hi,
danke für die Antwort. Habe mal den neuen Patch ausprobiert. Die Installation verläuft komplett problemlos. Leider sehen die Anwendungen immer noch so aus wie vorher. Muss ich vielleicht noch wie bei QT etwas einstellen (QT_XFT="true") ?

MfG Andy

P.S. Irgendwie hat auch der alte Patch dann funktioniert, aber habe dann das gleiche Problem.

tkortkamp
Posts: 143
Joined: 08. Apr 2001 22:56
Location: Bremen

Re: Antialiasing unter Gnome

#4 Post by tkortkamp »

Hi,
ja ich glaube du must noch ein export GDK_XFT=1 oder ein export GDK_USE_XFT=1 oder so. das weiß ich jetzt nicht so genau. ich selbst benutzte diesen patch nicht.

Mfg,
Tobias

Andy

Re: Antialiasing unter Gnome

#5 Post by Andy »

Funktioniert leider auch nicht. Irgendwie findet man zu diesem Thema auch kaum Informationen. Bei beiden Patches gibt es kein README o.ä. Naja, vielleicht ändert sich das ja bald. Bis dahin muss mir AA bei QT genügen <img src="http://www.pl-forum.de/UltraBoard/Images/Sad.gif" border="0" align="middle"> .

Oder hast du noch nen Tipp ?

Andy

tkortkamp
Posts: 143
Joined: 08. Apr 2001 22:56
Location: Bremen

Re: Antialiasing unter Gnome

#6 Post by tkortkamp »

Hi,
hmm... hab glaub ich noch was vergessen. nach dem du die sources von gtk mit dem neuen patch gepatcht hast must du noch ein autoconf ausführen um configure neu zu erstellen. danach must du configure mit dem parameter --enable-xft ausführen. also:
<blockquote><hr>bash~/gtk# ./configure --enable-xft<hr></blockquote>

cu,
Tobias

Nachtrag:
Ich glaub ich probier das jetzt auch nochmal
Last edited by tkortkamp on 10. Apr 2001 22:46, edited 1 time in total.

tkortkamp
Posts: 143
Joined: 08. Apr 2001 22:56
Location: Bremen

Re: Antialiasing unter Gnome

#7 Post by tkortkamp »

VERDAMMT!!!
Ich kriegs auch nicht hin. Müssen wir halt auf den nächsten Patch warten. Soll bald erscheinen.

cu,
Tobias

andy_e
Posts: 22
Joined: 12. Apr 2001 16:20

Re: Antialiasing unter Gnome

#8 Post by andy_e »

So,
jetzt habe ich es hinbekommen. Weiss auch nicht genau wieso, aber es geht. Habe folgendes gemacht:
- gtk+-1.2.8 runtergeladem
-patch runtergeladen: <a href="http://primates.ximian.com/~vladimir/aa.tar.gz" target="_blank"><!--auto-->http://primates.ximian.com/~vladimir/aa ... <!--auto-->

-beides entpackt. mit "patch -p1 < gtk-aa.patch" gepatched
-"autoconf" ausgeführt
-"./configure"
-dann "export LANG=" , sonst geht make nicht ?!
-"make"
-"make install"
-"export GDK_USE_XFT=1"
-"ldconfig"

dann gings <img src="http://www.pl-forum.de/UltraBoard/Images/Happy.gif" border="0" align="middle">

Übrigens: AbiWord sieht einfach geil aus <img src="http://www.pl-forum.de/UltraBoard/Images/Happy.gif" border="0" align="middle">

Ich hoffe es klappt auch bei Dir.

MfG
Andy

tkortkamp
Posts: 143
Joined: 08. Apr 2001 22:56
Location: Bremen

Re: Antialiasing unter Gnome

#9 Post by tkortkamp »

Juhuuuuu!!!! <img src="http://www.pl-forum.de/UltraBoard/Images/Happy.gif" border="0" align="middle">
Endlich!! Ich Idiot habe immer die neueren Patches benutzt, sind total sch..... <img src="http://www.pl-forum.de/UltraBoard/Images/Wilk.gif" border="0" align="middle">
Manche Programme kommen damit zwar nicht klar (GNOME-Terminal und Pager), aber egal. Hauptsache Anti-Aliasing unter GNOME.

cu und frohe Ostern,
Tobias

Nachtrag: Habe eine Möglichkeit gefunden, einzelne Programme ohne Anti-Aliasing zu starten einfach als Befehl <blockquote><hr>GDK_USE_XFT=0 das-ist-der-befehl<hr></blockquote>
Last edited by tkortkamp on 12. Apr 2001 23:21, edited 2 times in total.
dude i'm pretty damn sure you could script somebody back to life

Post Reply