[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Font-System kaputt



Hallo Liste,
ich hoffe ihr könnt mir helfen, da ich durch meine eigene ähm Dummheit
*g* mein Font-System halb ruiniert habe.  Mein System ist übrigens ein
Knoppix, aber im Font-System sollte da ja kein Unterschied sein. Zuerst
habe ich xfs und xfstt installiert und dann die entsprechenden Einträge
in der XF86Config-4 hinzugefügt. Anschließend habe ich noch ein paar
Windows-Fonts rüberkopiert. So und dann gings los: Keine GTK Anwendung
ließ sich mehr starten. Nur noch Fehlermeldungen wie
** (xchat:1654): WARNING **: Cannot open font file for font Bitstream
Vera Sans 12

** (xchat:1654): WARNING **: Cannot open fallback font, nothing to do
bei xchat. Dann hab ich den Tipp gelesen ich sollte mal GDK_USE_XFT=0
setzen und dann gingen die Anwendungen tatsächlich auch wieder.
Allerdings sehen jetzt die Schriften nicht gerade sehr toll aus. Die
Permissions der Schriften sind alle auf 644 gesetzt, also sollte so
passen. Wenn ich mich allerdings als root einlogge funktioniert es, die
Anwendungen zu starten. Als normaler User meldete strace, das PERMISSION
DENIED, wenn die Anwendung (hier xchat) auf
/usr/share/fonts/truetype/ttf-bitstream-vera/Vera.ttf zugreifen wollte,
obwohl die Zugriffsrechte (644) passten.
Meine XftConfig sieht so aus:
match any family == "bitstream charter" edit family =+ "charter";

match any family == "Lucidux Serif"     edit family += "LuciduxSerif";
match any family == "LuciduxSerif"      edit family =+ "Lucidux Serif";

match any family == "Lucidux Sans"      edit family += "LuciduxSans";
match any family == "LuciduxSans"       edit family =+ "Lucidux Sans";

match any family == "Lucidux Mono"      edit family += "LuciduxMono";
match any family == "LuciduxMono"       edit family =+ "Lucidux Mono";
root@mcsmurf:/etc/X11# cat XftConfig
#$XFree86$

dir "/usr/X11R6/lib/X11/fonts/Type1"
dir "/usr/share/fonts/ttf/western"
dir "/usr/share/fonts/ttf/decoratives"


#alias 'fixed' for 'mono'

match any family == "fixed"             edit family =+ "nimbus mono l";


#Check users config file

includeif       "~/.xftconfig"


#Use Lucidux fonts for default faces

match any family == "serif"             edit family += "nimbus roman no9 l";
match any family == "sans"              edit family += "nimbus sans l";
match any family == "mono"              edit family += "nimbus mono l";


#Alias between XLFD families and font file family name, prefer local
#fonts

match any family == "charter"           edit family += "bitstream charter";
match any family == "bitstream charter" edit family =+ "charter";

match any family == "Lucidux Serif"     edit family += "LuciduxSerif";
match any family == "LuciduxSerif"      edit family =+ "Lucidux Serif";

match any family == "Lucidux Sans"      edit family += "LuciduxSans";
match any family == "LuciduxSans"       edit family =+ "Lucidux Sans";

match any family == "Lucidux Mono"      edit family += "LuciduxMono";
match any family == "LuciduxMono"       edit family =+ "Lucidux Mono";

und die config von /etc/X11/fs:
# font server configuration file
# $Xorg: config.cpp,v 1.3 2000/08/17 19:54:19 cpqbld Exp $

# allow a maximum of 10 clients to connect to this font server
client-limit = 10
# when a font server reaches its limit, start up a new one
clone-self = on
# log messages to /var/log/xfs.log (if syslog is not used)
error-file = /var/log/xfs.log
# log errors using syslog
use-syslog = on
# turn off TCP port listening (Unix domain connections are still permitted)
no-listen = tcp
# paths to search for fonts
catalogue =
/usr/lib/X11/fonts/Type1/,/usr/lib/X11/fonts/CID/,/usr/lib/X11/fonts/Speedo/,/usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/cyrillic/,/usr/lib/X11/fonts/100dpi/,/usr/lib/X11/fonts/75dpi/
# in decipoints
default-point-size = 120
# x1,y1,x2,y2,...
default-resolutions = 100,100,75,75

# font cache control, specified in kB
cache-hi-mark = 2048
cache-low-mark = 1433
cache-balance = 70

Hat jemand ne Idee was da jetzt genau kaputt ist und wie ich das wieder
hinkriege?

Gruß
Frank




Reply to: