blob: 0a133141266f93fe2854036a142fe17c50dbb839 (
plain) (
blame)
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
|
#!/usr/bin/perl
# $FreeBSD$
$prefix = $ENV{'PKG_PREFIX'};
$dir = "$prefix/lib/X11/fonts/local";
$to = "$dir/fonts.alias";
$from = "$to.orig";
$option = $ARGV[1];
exit 0 if $option ne 'POST-INSTALL';
rename($to, $from) || die("Can't rename: $!");
open(IN, $from) || die("Can't open $from: $!");
open(OUT, ">$to") || die("Can't open $to: $!");
while (<IN>) {
chop;
if (/^\s*!/ || /^\s*$/) {
print OUT "$_\n";
}
else {
@line = split(/\s+/, $_);
@elm = split(/-+/, $line[0]);
if ($elm[1] ne 'alias') {
print OUT "$_\n";
}
}
}
for (split(/\n/, <<"END"))
-alias-fixed-medium-r-normal--24-234-75-75-c-120-iso8859-1 -sony-fixed-medium-r-normal--24-230-75-75-c-120-iso8859-1
-alias-fixed-medium-r-normal--20-190-75-75-c-200-iso8859-1 -kappa-fixed-medium-r-normal--20-190-75-75-c-100-iso8859-1
-alias-fixed-medium-i-normal--20-190-75-75-c-200-iso8859-1 -kappa-fixed-medium-i-normal--20-190-75-75-c-100-iso8859-1
-alias-fixed-bold-r-normal--20-190-75-75-c-200-iso8859-1 -kappa-fixed-bold-r-normal--20-190-75-75-c-100-iso8859-1
-alias-fixed-bold-i-normal--20-190-75-75-c-200-iso8859-1 -kappa-fixed-bold-i-normal--20-190-75-75-c-100-iso8859-1
-alias-fixed-medium-r-normal--18-170-75-75-c-180-iso8859-1 -misc-fixed-medium-r-normal--18-173-75-75-c-180-iso8859-1
-alias-fixed-medium-i-normal--18-170-75-75-c-180-iso8859-1 -misc-fixed-medium-i-normal--18-173-75-75-c-180-iso8859-1
-alias-fixed-medium-r-normal--16-150-75-75-c-80-iso8859-1 -shinonome-gothic-medium-r-normal--16-150-75-75-c-80-iso8859-1
-alias-fixed-medium-i-normal--16-150-75-75-c-80-iso8859-1 -shinonome-gothic-medium-i-normal--16-150-75-75-c-80-iso8859-1
-alias-fixed-bold-r-normal--16-150-75-75-c-80-iso8859-1 -shinonome-gothic-bold-r-normal--16-150-75-75-c-80-iso8859-1
-alias-fixed-bold-i-normal--16-150-75-75-c-80-iso8859-1 -shinonome-gothic-bold-i-normal--16-150-75-75-c-80-iso8859-1
-alias-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1 -shinonome-gothic-medium-r-normal--14-130-75-75-c-70-iso8859-1
-alias-fixed-medium-i-normal--14-130-75-75-c-70-iso8859-1 -shinonome-gothic-medium-i-normal--14-130-75-75-c-70-iso8859-1
-alias-fixed-bold-r-normal--14-130-75-75-c-70-iso8859-1 -shinonome-gothic-bold-r-normal--14-130-75-75-c-70-iso8859-1
-alias-fixed-bold-i-normal--14-130-75-75-c-70-iso8859-1 -shinonome-gothic-bold-i-normal--14-130-75-75-c-70-iso8859-1
-alias-fixed-medium-r-normal--12-110-75-75-c-60-iso8859-1 -shinonome-gothic-medium-r-normal--12-110-75-75-c-60-iso8859-1
-alias-fixed-medium-i-normal--12-110-75-75-c-60-iso8859-1 -shinonome-gothic-medium-i-normal--12-110-75-75-c-60-iso8859-1
-alias-fixed-bold-r-normal--12-110-75-75-c-60-iso8859-1 -shinonome-gothic-bold-r-normal--12-110-75-75-c-60-iso8859-1
-alias-fixed-bold-i-normal--12-110-75-75-c-60-iso8859-1 -shinonome-gothic-bold-i-normal--12-110-75-75-c-60-iso8859-1
-alias-fixed-medium-r-normal--10-90-75-75-c-50-iso8859-1 -misc-fixed-medium-r-normal--10-90-75-75-c-50-iso8859-1
-alias-fixed-medium-i-normal--10-90-75-75-c-50-iso8859-1 -misc-fixed-medium-i-normal--10-90-75-75-c-50-iso8859-1
-alias-fixed-bold-r-normal--10-90-75-75-c-50-iso8859-1 -misc-fixed-bold-r-normal--10-90-75-75-c-50-iso8859-1
-alias-fixed-bold-i-normal--10-90-75-75-c-50-iso8859-1 -misc-fixed-bold-i-normal--10-90-75-75-c-50-iso8859-1
-alias-fixed-medium-r-normal--8-70-75-75-c-40-iso8859-1 -hiro-fixed-medium-r-normal--8-70-75-75-c-40-iso8859-1
-alias-fixed-medium-r-normal--24-234-75-75-c-120-jisx0201.1976-0 -sony-fixed-medium-r-normal--24-170-100-100-c-120-jisx0201.1976-0
-alias-fixed-medium-r-normal--20-190-75-75-c-200-jisx0201.1976-0 -kappa-fixed-medium-r-normal--20-190-75-75-c-100-jisx0201.1976-0
-alias-fixed-bold-r-normal--20-190-75-75-c-200-jisx0201.1976-0 -kappa-fixed-bold-r-normal--20-190-75-75-c-100-jisx0201.1976-0
-alias-fixed-medium-i-normal--20-190-75-75-c-200-jisx0201.1976-0 -kappa-fixed-medium-i-normal--20-190-75-75-c-100-jisx0201.1976-0
-alias-fixed-bold-i-normal--20-190-75-75-c-200-jisx0201.1976-0 -kappa-fixed-bold-i-normal--20-190-75-75-c-100-jisx0201.1976-0
-alias-fixed-medium-r-normal--16-156-75-75-c-80-jisx0201.1976-0 -shinonome-gothic-medium-r-normal--16-150-75-75-c-80-jisx0201.1976-0
-alias-fixed-bold-r-normal--16-156-75-75-c-80-jisx0201.1976-0 -shinonome-gothic-bold-r-normal--16-150-75-75-c-80-jisx0201.1976-0
-alias-fixed-medium-i-normal--16-156-75-75-c-80-jisx0201.1976-0 -shinonome-gothic-medium-i-normal--16-150-75-75-c-80-jisx0201.1976-0
-alias-fixed-bold-i-normal--16-156-75-75-c-80-jisx0201.1976-0 -shinonome-gothic-bold-i-normal--16-150-75-75-c-80-jisx0201.1976-0
-alias-fixed-medium-r-normal--14-130-75-75-c-70-jisx0201.1976-0 -shinonome-gothic-medium-r-normal--14-130-75-75-c-70-jisx0201.1976-0
-alias-fixed-bold-r-normal--14-130-75-75-c-70-jisx0201.1976-0 -shinonome-gothic-bold-r-normal--14-130-75-75-c-70-jisx0201.1976-0
-alias-fixed-medium-i-normal--14-130-75-75-c-70-jisx0201.1976-0 -shinonome-gothic-medium-i-normal--14-130-75-75-c-70-jisx0201.1976-0
-alias-fixed-bold-i-normal--14-130-75-75-c-70-jisx0201.1976-0 -shinonome-gothic-bold-i-normal--14-130-75-75-c-70-jisx0201.1976-0
-alias-fixed-medium-r-normal--12-104-75-75-c-60-jisx0201.1976-0 -shinonome-gothic-medium-r-normal--12-110-75-75-c-60-jisx0201.1976-0
-alias-fixed-bold-r-normal--12-104-75-75-c-60-jisx0201.1976-0 -shinonome-gothic-bold-r-normal--12-110-75-75-c-60-jisx0201.1976-0
-alias-fixed-medium-i-normal--12-104-75-75-c-60-jisx0201.1976-0 -shinonome-gothic-medium-i-normal--12-110-75-75-c-60-jisx0201.1976-0
-alias-fixed-bold-i-normal--12-104-75-75-c-60-jisx0201.1976-0 -shinonome-gothic-bold-i-normal--12-110-75-75-c-60-jisx0201.1976-0
-alias-fixed-medium-r-normal--10-78-75-75-c-100-jisx0201.1976-0 -misc-fixed-medium-r-normal--10-90-75-75-c-50-jisx0201.1976-0
-alias-fixed-bold-r-normal--10-78-75-75-c-100-jisx0201.1976-0 -misc-fixed-bold-r-normal--10-90-75-75-c-50-jisx0201.1976-0
-alias-fixed-medium-i-normal--10-78-75-75-c-100-jisx0201.1976-0 -misc-fixed-medium-i-normal--10-90-75-75-c-50-jisx0201.1976-0
-alias-fixed-bold-i-normal--10-78-75-75-c-100-jisx0201.1976-0 -misc-fixed-bold-i-normal--10-90-75-75-c-50-jisx0201.1976-0
-alias-fixed-medium-r-normal--8-70-75-75-c-120-jisx0201.1976-0 -hiro-fixed-medium-r-normal--8-70-75-75-c-40-jisx0201.1976-0
-alias-fixed-medium-r-normal--26-250-75-75-c-260-jisx0208.1983-0 -jis-mincho-medium-r-normal--26-250-75-75-c-260-jisx0208.1983-0
-alias-fixed-bold-r-normal--26-250-75-75-c-260-jisx0208.1983-0 -jis-mincho-bold-r-normal--26-250-75-75-c-260-jisx0208.1983-0
-alias-fixed-medium-i-normal--26-250-75-75-c-260-jisx0208.1983-0 -jis-mincho-medium-i-normal--26-250-75-75-c-260-jisx0208.1983-0
-alias-fixed-bold-i-normal--26-250-75-75-c-260-jisx0208.1983-0 -jis-mincho-bold-i-normal--26-250-75-75-c-260-jisx0208.1983-0
-alias-fixed-medium-r-normal--24-234-75-75-c-240-jisx0208.1983-0 -jis-fixed-medium-r-normal--24-230-75-75-c-240-jisx0208.1983-0
-alias-fixed-medium-r-normal--20-190-75-75-c-200-jisx0208.1983-0 -kappa-mincho-medium-r-normal--20-190-75-75-c-200-jisx0208.1983-0
-alias-fixed-bold-r-normal--20-190-75-75-c-200-jisx0208.1983-0 -kappa-mincho-bold-r-normal--20-190-75-75-c-200-jisx0208.1983-0
-alias-fixed-medium-i-normal--20-190-75-75-c-200-jisx0208.1983-0 -kappa-mincho-medium-i-normal--20-190-75-75-c-200-jisx0208.1983-0
-alias-fixed-bold-i-normal--20-190-75-75-c-200-jisx0208.1983-0 -kappa-mincho-bold-i-normal--20-190-75-75-c-200-jisx0208.1983-0
-alias-fixed-medium-r-normal--20-190-75-75-c-200-jisx0208.1990-0 -kappa-mincho-medium-r-normal--20-190-75-75-c-200-jisx0208.1990-0
-alias-fixed-bold-r-normal--20-190-75-75-c-200-jisx0208.1990-0 -kappa-mincho-bold-r-normal--20-190-75-75-c-200-jisx0208.1990-0
-alias-fixed-medium-i-normal--20-190-75-75-c-200-jisx0208.1990-0 -kappa-mincho-medium-i-normal--20-190-75-75-c-200-jisx0208.1990-0
-alias-fixed-bold-i-normal--20-190-75-75-c-200-jisx0208.1990-0 -kappa-mincho-bold-i-normal--20-190-75-75-c-200-jisx0208.1990-0
-alias-fixed-medium-r-normal--18-170-75-75-c-180-jisx0208.1983-0 -jis-gothic-medium-r-normal--18-170-75-75-c-180-jisx0208.1983-0
-alias-fixed-bold-r-normal--18-170-75-75-c-180-jisx0208.1983-0 -jis-gothic-bold-r-normal--18-170-75-75-c-180-jisx0208.1983-0
-alias-fixed-medium-i-normal--18-170-75-75-c-180-jisx0208.1983-0 -jis-gothic-medium-i-normal--18-170-75-75-c-180-jisx0208.1983-0
-alias-fixed-bold-i-normal--18-170-75-75-c-180-jisx0208.1983-0 -jis-gothic-bold-i-normal--18-170-75-75-c-180-jisx0208.1983-0
-alias-fixed-medium-r-normal--16-156-75-75-c-160-jisx0208.1983-0 -shinonome-gothic-medium-r-normal--16-150-75-75-c-160-jisx0208.1983-0
-alias-fixed-bold-r-normal--16-156-75-75-c-160-jisx0208.1983-0 -shinonome-gothic-bold-r-normal--16-150-75-75-c-160-jisx0208.1983-0
-alias-fixed-medium-i-normal--16-156-75-75-c-160-jisx0208.1983-0 -shinonome-gothic-medium-i-normal--16-150-75-75-c-160-jisx0208.1983-0
-alias-fixed-bold-i-normal--16-156-75-75-c-160-jisx0208.1983-0 -shinonome-gothic-bold-i-normal--16-150-75-75-c-160-jisx0208.1983-0
-alias-fixed-medium-r-normal--16-156-75-75-c-160-jisx0208.1990-0 -shinonome-gothic-medium-r-normal--16-150-75-75-c-160-jisx0208.1990-0
-alias-fixed-bold-r-normal--16-156-75-75-c-160-jisx0208.1990-0 -shinonome-gothic-bold-r-normal--16-150-75-75-c-160-jisx0208.1990-0
-alias-fixed-medium-i-normal--16-156-75-75-c-160-jisx0208.1990-0 -shinonome-gothic-medium-i-normal--16-150-75-75-c-160-jisx0208.1990-0
-alias-fixed-bold-i-normal--16-156-75-75-c-160-jisx0208.1990-0 -shinonome-gothic-bold-i-normal--16-150-75-75-c-160-jisx0208.1990-0
-alias-fixed-medium-r-normal--14-130-75-75-c-140-jisx0208.1983-0 -shinonome-gothic-medium-r-normal--14-130-75-75-c-140-jisx0208.1983-0
-alias-fixed-bold-r-normal--14-130-75-75-c-140-jisx0208.1983-0 -shinonome-gothic-bold-r-normal--14-130-75-75-c-140-jisx0208.1983-0
-alias-fixed-medium-i-normal--14-130-75-75-c-140-jisx0208.1983-0 -shinonome-gothic-medium-i-normal--14-130-75-75-c-140-jisx0208.1983-0
-alias-fixed-bold-i-normal--14-130-75-75-c-140-jisx0208.1983-0 -shinonome-gothic-bold-i-normal--14-130-75-75-c-140-jisx0208.1983-0
-alias-fixed-medium-r-normal--14-130-75-75-c-140-jisx0208.1990-0 -shinonome-gothic-medium-r-normal--14-130-75-75-c-140-jisx0208.1990-0
-alias-fixed-bold-r-normal--14-130-75-75-c-140-jisx0208.1990-0 -shinonome-gothic-bold-r-normal--14-130-75-75-c-140-jisx0208.1990-0
-alias-fixed-medium-i-normal--14-130-75-75-c-140-jisx0208.1990-0 -shinonome-gothic-medium-i-normal--14-130-75-75-c-140-jisx0208.1990-0
-alias-fixed-bold-i-normal--14-130-75-75-c-140-jisx0208.1990-0 -shinonome-gothic-bold-i-normal--14-130-75-75-c-140-jisx0208.1990-0
-alias-fixed-medium-r-normal--12-104-75-75-c-120-jisx0208.1983-0 -shinonome-gothic-medium-r-normal--12-110-75-75-c-120-jisx0208.1983-0
-alias-fixed-bold-r-normal--12-104-75-75-c-120-jisx0208.1983-0 -shinonome-gothic-bold-r-normal--12-110-75-75-c-120-jisx0208.1983-0
-alias-fixed-medium-i-normal--12-104-75-75-c-120-jisx0208.1983-0 -shinonome-gothic-medium-i-normal--12-110-75-75-c-120-jisx0208.1983-0
-alias-fixed-bold-i-normal--12-104-75-75-c-120-jisx0208.1983-0 -shinonome-gothic-bold-i-normal--12-110-75-75-c-120-jisx0208.1983-0
-alias-fixed-medium-r-normal--12-104-75-75-c-120-jisx0208.1990-0 -shinonome-gothic-medium-r-normal--12-110-75-75-c-120-jisx0208.1990-0
-alias-fixed-bold-r-normal--12-104-75-75-c-120-jisx0208.1990-0 -shinonome-gothic-bold-r-normal--12-110-75-75-c-120-jisx0208.1990-0
-alias-fixed-medium-i-normal--12-104-75-75-c-120-jisx0208.1990-0 -shinonome-gothic-medium-i-normal--12-110-75-75-c-120-jisx0208.1990-0
-alias-fixed-bold-i-normal--12-104-75-75-c-120-jisx0208.1990-0 -shinonome-gothic-bold-i-normal--12-110-75-75-c-120-jisx0208.1990-0
-alias-fixed-medium-r-normal--10-78-75-75-c-100-jisx0208.1983-0 -misc-fixed-medium-r-normal--10-90-75-75-c-100-jisx0208.1983-0
-alias-fixed-bold-r-normal--10-78-75-75-c-100-jisx0208.1983-0 -misc-fixed-bold-r-normal--10-90-75-75-c-100-jisx0208.1983-0
-alias-fixed-medium-i-normal--10-78-75-75-c-100-jisx0208.1983-0 -misc-fixed-medium-i-normal--10-90-75-75-c-100-jisx0208.1983-0
-alias-fixed-bold-i-normal--10-78-75-75-c-100-jisx0208.1983-0 -misc-fixed-bold-i-normal--10-90-75-75-c-100-jisx0208.1983-0
-alias-fixed-medium-r-normal--8-70-75-75-c-120-jisx0208.1983-0 -elisa100-fixed-medium-r-normal--8-70-75-75-c-80-jisx0208.1983-0
-alias-fixed-medium-r-normal--12-110-75-75-c-120-jisx0213.2000-1 -misc-fixed-medium-r-normal--12-110-75-75-c-120-jisx0213.2000-1
-alias-fixed-bold-r-normal--12-110-75-75-c-120-jisx0213.2000-1 -misc-fixed-bold-r-normal--12-110-75-75-c-120-jisx0213.2000-1
-alias-fixed-medium-i-normal--12-110-75-75-c-120-jisx0213.2000-1 -misc-fixed-medium-i-normal--12-110-75-75-c-120-jisx0213.2000-1
-alias-fixed-bold-i-normal--12-110-75-75-c-120-jisx0213.2000-1 -misc-fixed-bold-i-normal--12-110-75-75-c-120-jisx0213.2000-1
-alias-fixed-medium-r-normal--12-110-75-75-c-120-jisx0213.2000-2 -misc-fixed-medium-r-normal--12-110-75-75-c-120-jisx0213.2000-2
-alias-fixed-bold-r-normal--12-110-75-75-c-120-jisx0213.2000-2 -misc-fixed-bold-r-normal--12-110-75-75-c-120-jisx0213.2000-2
-alias-fixed-medium-i-normal--12-110-75-75-c-120-jisx0213.2000-2 -misc-fixed-medium-i-normal--12-110-75-75-c-120-jisx0213.2000-2
-alias-fixed-bold-i-normal--12-110-75-75-c-120-jisx0213.2000-2 -misc-fixed-bold-i-normal--12-110-75-75-c-120-jisx0213.2000-2
-alias-fixed-medium-r-normal--14-130-75-75-c-140-jisx0213.2000-1 -misc-fixed-medium-r-normal--14-130-75-75-c-140-jisx0213.2000-1
-alias-fixed-bold-r-normal--14-130-75-75-c-140-jisx0213.2000-1 -misc-fixed-bold-r-normal--14-130-75-75-c-140-jisx0213.2000-1
-alias-fixed-medium-i-normal--14-130-75-75-c-140-jisx0213.2000-1 -misc-fixed-medium-i-normal--14-130-75-75-c-140-jisx0213.2000-1
-alias-fixed-bold-i-normal--14-130-75-75-c-140-jisx0213.2000-1 -misc-fixed-bold-i-normal--14-130-75-75-c-140-jisx0213.2000-1
-alias-fixed-medium-r-normal--14-130-75-75-c-140-jisx0213.2000-2 -misc-fixed-medium-r-normal--14-130-75-75-c-140-jisx0213.2000-2
-alias-fixed-bold-r-normal--14-130-75-75-c-140-jisx0213.2000-2 -misc-fixed-bold-r-normal--14-130-75-75-c-140-jisx0213.2000-2
-alias-fixed-medium-i-normal--14-130-75-75-c-140-jisx0213.2000-2 -misc-fixed-medium-i-normal--14-130-75-75-c-140-jisx0213.2000-2
-alias-fixed-bold-i-normal--14-130-75-75-c-140-jisx0213.2000-2 -misc-fixed-bold-i-normal--14-130-75-75-c-140-jisx0213.2000-2
-alias-fixed-medium-r-normal--16-150-75-75-c-160-jisx0213.2000-1 -misc-fixed-medium-r-normal--16-150-75-75-c-160-jisx0213.2000-1
-alias-fixed-bold-r-normal--16-150-75-75-c-160-jisx0213.2000-1 -misc-fixed-bold-r-normal--16-150-75-75-c-160-jisx0213.2000-1
-alias-fixed-medium-i-normal--16-150-75-75-c-160-jisx0213.2000-1 -misc-fixed-medium-i-normal--16-150-75-75-c-160-jisx0213.2000-1
-alias-fixed-bold-i-normal--16-150-75-75-c-160-jisx0213.2000-1 -misc-fixed-bold-i-normal--16-150-75-75-c-160-jisx0213.2000-1
-alias-mincho-bold-r-normal--20-190-75-75-c-200-jisx0213.2000-1 -kappa-mincho-bold-r-normal--20-190-75-75-c-200-jisx0213.2000-1
-alias-mincho-bold-i-normal--20-190-75-75-c-200-jisx0213.2000-1 -kappa-mincho-bold-i-normal--20-190-75-75-c-200-jisx0213.2000-1
END
{
print OUT "$_\n";
}
|