"Christmas - the time to fix the computers of your loved ones" « Lord Wyrm

Woody/Gnome2 Backport: Fontproblem in alten GTK Anwendungen

Philipp 10.07.2003 - 11:28 921 5
Posts

Philipp

Here to stay
Registered: Jul 2001
Location: Wien
Posts: 1749
Ich habe mal wieder Debian samt aktueller Fassung des GNOME 2.2 Backport installiert. Anscheiend dürfte die neuere Version aber ein Problem mit den Fonts in alten GTK Anwendungen haben.

click to enlarge

Irgendwelche Ideen? Ob es am neueren XFree 4.2.1-8 Paket (von Nobse) liegt?
Bearbeitet von Philipp am 11.07.2003, 12:43

spunz

Super Moderator
Super Moderator
Avatar
Registered: Aug 2000
Location: achse des bösen
Posts: 11119
auf den backport verzichten und sarge/sid verwenden ;)

upgrade auf sid geht wunderbar und derzeit kein problem mit der stabilität. im gegensatz zu stable muß man halt etwas mehr nachlesen wenn ein update kommt, konflikte kommen halt zeitweise vor in unstable (sollten für dich aber kein problem sein ;) )

Philipp

Here to stay
Registered: Jul 2001
Location: Wien
Posts: 1749
Soviel ich gesehen habe kommt dieser Fehler aus SID ;). Eine wirkliche Lösung habe ich bisher nicht gefunden. Wenn ich nur wüsste an welchen Paket bzw. welcher Einstellung es liegt.

Philipp

Here to stay
Registered: Jul 2001
Location: Wien
Posts: 1749
Es liegt am X-Server. Ein noch schlimmeres Ergebnis bietet der XFree 4.3.0 Port von Daniel Stone. Mit einen älteren XFree 4.2.1-0 sehen die Fonts aber normal aus :)

Leider gibt es jetzt einen Konflikt mit dem Paket xfonts-scalable. Es lässt sich einfach nicht entfernen (auch nicht mit --force-all):

Zitat
msi:~# dpkg --purge --force-all xfonts-scalable
(Reading database ... 38761 files and directories currently installed.)
Removing xfonts-scalable ...
dpkg - warning: while removing xfonts-scalable, directory `/etc/X11/fonts/Speedo' not empty so not removed.
dpkg - warning: while removing xfonts-scalable, directory `/usr/X11R6/lib/X11/fonts/Speedo' not empty so not removed.Running update-fonts-scale in Speedo font directory...done.
Running update-fonts-dir in Speedo font directory...done.
Running xftcache in Speedo font directory...Can't scan directory "/usr/X11R6/lib/X11/fonts/Speedo"
dpkg: error processing xfonts-scalable (--purge):
subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
xfonts-scalable
:(

Philipp

Here to stay
Registered: Jul 2001
Location: Wien
Posts: 1749
Und der Fix:

Man installiert das xfonts-scalable Paket neu mittels dpkg --unpack xfonts-scalable{version}

Dann öffnet man /var/lib/dpkg/info/xfonts-scalable.postinst in einen Editor und kommentiert diese Zeilen aus:

Code:
FONTDIRS="Speedo Type1"
UPDATECMDS="update-fonts-scale update-fonts-dir xftcache"
font_update

Danach apt-get -f install

Zitat
# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
0 packages upgraded, 0 newly installed, 0 to remove and 38 not upgraded.
3 packages not fully installed or removed.
Need to get 0B of archives. After unpacking 0B will be used.
Setting up xfonts-scalable (4.2.1-0woody1) ...

Setting up x-window-system-core (4.2.1-0woody1) ...

Setting up x-window-system (4.2.1-0woody1) ...

Na bitte.. es geht doch ;)

Philipp

Here to stay
Registered: Jul 2001
Location: Wien
Posts: 1749
Jetzt habe ich das da gefunden:
http://lists.debian.org/debian-gtk-...7/msg00035.html

Dürfte das eigentliche Problem gewesen sein, da XFree 4.3 damit auch normale Fonts in GTK1 Anwendungen hat.
Kontakt | Unser Forum | Über overclockers.at | Impressum | Datenschutz