Login
Newsletter
Werbung

Mo, 21. Mai 2001, 00:00

Antialias-Schriftdarstellung unter KDE 2.1.1

Nun benennt man die /usr/X11R6/lib/X11/XftConfig um nach /usr/X11R6/lib/X11/XftConfig.old.

# mv /usr/X11R6/lib/X11/XftConfig /usr/X11R6/lib/X11/XftConfig.old

und ersetzt sie durch diese:

#
# XftConfig
#
# Use with Type1 and TrueType fonts
#
dir "/usr/X11R6/lib/X11/fonts/Type1"
dir "/usr/X11R6/lib/X11/fonts/truetype"
# Wer schon mal den TTF-Tipp von PL umgesetzt hat, kommentiert noch
# dir "/usr/X11R6/lib/X11/fonts/ttf"
# aus.
#
# alias 'fixed' for 'mono'
#
match any family == "fixed" edit family =+ "mono";
#
#Check users config file
#
includeif "~/.xftconfig"
#
# Substitute TrueType fonts for Type1 versions
#
match any family == "Times" edit family += "Times New Roman";
match any family == "Helvetica" edit family += "Verdana";
match any family == "Courier" edit family += "Courier New";
#
# Use TrueType fonts for defaults
#
match any family == "serif" edit family += "Times New Roman";
match any family == "sans" edit family += "Verdana";
#
# Use monotype.com (andale) face where possible
#
match
 any family == "mono"
 all slant == roman
 all weight < bold
edit
 family += "monotype.com";
#
# otherwise, use courier
#
match any family == "mono" edit family += "Courier New";
#
# 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";
#
# TrueType font aliases
#
match any family == "Comic Sans" edit family += "Comic Sans MS";
match any family == "Comic Sans MS" edit family =+ "Comic Sans";
match any family == "Trebuchet" edit family += "Trebuchet MS";
match any family == "Trebuchet MS" edit family =+ "Trebuchet";
match any family == "Monotype" edit family =+ "Monotype.com";
match any family == "Andale Mono" edit family += "Monotype.com";
match any family == "Monotype.com" edit family =+ "Andale Mono";
# Ende XftConfig

Fertig.

Kommentare (Insgesamt: 0 )
Pro-Linux
Pro-Linux @Facebook
Neue Nachrichten
Werbung