# $XFree86: xc/lib/Xft/XftConfig.cpp,v 1.5 2000/12/14 23:03:53 keithp Exp $

dir "/usr/X11R6/lib/X11/fonts/Type1"

# Red Hat additions
dir "/usr/X11R6/lib/X11/fonts/TTF"
dir "/usr/share/fonts/default/TrueType"
dir "/usr/share/fonts/default/Type1"
dir "/usr/share/fonts/ja/TrueType"
dir "/usr/share/fonts/ko/TrueType"
dir "/usr/share/fonts/zh_CN/TrueType"
dir "/usr/share/fonts/zh_TW/TrueType"

#
# alias 'fixed' for 'mono'
#
match any family == "fixed"		edit family =+ "mono";

#
# Don't antialias small fonts
#
match
        any size < 11
        any size > 8
        edit antialias=false;

#
# Don't antialias wingding symbols and similar types of symbol fontsets
#
match
        any family == "webdings"
        edit antialias = false;
        encoding += "glyphs-fontspecific";
match
        any family == "wingdings"
        edit antialias = false;
        encoding += "glyphs-fontspecific";

#
# Check users config file
#
includeif	"~/.xftconfig"

#
# Use Luxi fonts for default faces
#
match any family == "serif"		edit family += "Luxi Serif";
match any family == "sans"		edit family += "Luxi Sans";
match any family == "mono"		edit family += "Luxi Mono";

#
# 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";

#
# Alias older name for Luxi fonts
#
match any family == "LuciduxSerif"	edit family += "Luxi Serif";
match any family == "Lucidux Serif"	edit family += "Luxi Serif";
 
match any family == "LuciduxSans"	edit family += "Luxi Sans";
match any family == "Lucidux Sans"	edit family += "Luxi Sans";
 
match any family == "LuciduxMono"	edit family += "Luxi Mono";
match any family == "Lucidux Mono"	edit family += "Luxi Mono";

#
# TrueType font aliases (disabled - experimental)
#
#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";

#
# Set some sane defaults for Anti-Aliased desktops
#
match any family == "helvetica"		edit family += "Nimbus Sans L";
match any family == "helv"		edit family += "Nimbus Sans L";
match any family == "verdana"		edit family += "Nimbus Sans L";
match any family == "times"		edit family += "Nimbus Roman No9 L";
match any family == "helvetica"		edit family += "Helmet";
match any family == "helv"		edit family += "Helmet";
match any family == "verdana"		edit family += "Helmet";
match any family == "times"		edit family += "Helmet";

# XFree86 default fonts
match any family == "Verdana"           edit family += "Luxi Sans";
match any family == "Times New Roman"   edit family += "Luxi Serif";

#
# Japanese
#
match any foundry == "watanabe"		edit antialias = false;
match any foundry == "wadalab"		edit antialias = false;

#
# Fixes a problem in KDE with konsole
#
match any family == "fixed"			edit antialias =+ "false";
match any family == "console"		edit antialias =+ "false";

