blob: 453ea01885a6e72f5846b58ecd1673febdad31c6 (
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
|
# The first MkIV OpenType Handler used internal methods, but
# after we implemented other things it made more sense to
# do the following. (HH)
lookup TeXPseudoLigaturesLookup {
lookupflag 1 ;
sub hyphen hyphen hypen by emdash ;
sub hyphen hyphen by endash ;
sub hyphen endash by emdash ;
sub endash hyphen by emdash ;
sub quoteleft quoteleft by quotedblleft ;
sub quoteright quoteright by quotedblright ;
sub grave grave by quotedblleft ;
sub quotesingle quotesingle by quotedblright ;
sub comma comma by quotedblbase ;
} TeXPseudoLigaturesLookup ;
lookup TeXQuoteReplacementLookup {
lookupflag 1 ;
sub quotedbl by quotedblright ;
sub quotesingle by quoteright ;
sub grave by quoteleft ;
} TeXQuoteReplacementLookup ;
feature tlig {
script DFLT ;
language dflt ;
lookup TeXPseudoLigaturesLookup ;
script latn;
language dflt ;
lookup TeXPseudoLigaturesLookup ;
} tlig ;
feature trep {
script DFLT ;
language dflt ;
lookup TeXQuoteReplacementLookup ;
script latn;
language dflt ;
lookup TeXQuoteReplacementLookup ;
} trep ;
|