blob: 7d87fae17abe82059021cb445598967495cfd0ac (
about) (
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
|
Open($1);
MergeKern($2)
# The AFM files of `New Century Schoolbook' family as distributed within the
# urw-fonts-1.0.7pre41.tar.bz2 archive contain a bunch of ligatures which
# shouldn't be active by default:
#
# T + M -> trademark
# N + o -> afii61352
# i + j -> ij
# I + J -> IJ
#
# This font bundle is shipped by Fedora Core 6 and other GNU/Linux
# distributions; we simply remove those ligatures.
SelectIf("trademark", "trademark", \
"afii61352", "afii61352", \
"ij", "ij", \
"IJ", "IJ");
if (Strtol($version) < 20070501)
RemoveATT("Ligature", "*", "*");
else
RemovePosSub("*");
endif
Generate($3 + $fontname + ".otf");
# EOF
|