summaryrefslogtreecommitdiff
blob: 16af856f7c29dbceff47dd9d851c60611c20a6a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#
# XftConfig
#
# Use with Type1 and TrueType fonts
#

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

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