Debian Codegraph @

featurefiles/08-Regular/calt.fea

raw
1 lookup Q_alts {
2 sub Q' @NO_DESC_1 @NO_DESC_1 by Q.long;
3 sub Q' @NO_DESC_1 [ @NO_DESC quoteleft quoteright ] @RIGHT_DESC by Q.long;
4 sub Q' [ g j p y ] by Q.short;
5 sub Q' [ J comma semicolon parenright bracketright braceright ] by Q.low;
6 } Q_alts;
7
8 # Although the following is better (shorter lists of allowed
9 # characters after the long f) I have to apply a more complicated
10 # solution because XeTeX doesn’t like ignore sub rules
11 #
12 #lookup f_long {
13 # ignore sub @DEFAULT_F' [ @NO_ASC ];
14 # sub @DEFAULT_F' by @SHORT_F;
15 #} f_long;
16
17 lookup f_long {
18 sub @DEFAULT_F' [ @HIGH_ASC_F @HIGH_PUNCT @ORDN @SUPS ] by @SHORT_F;
19 sub @DEFAULT_LONGS' [ @HIGH_ASC_LONGS @HIGH_PUNCT @ORDN @SUPS ] by @SHORT_LONGS;
20 } f_long;
21
22 lookup caltLAT {
23 #sub [ space @PUNCT ] u.LAT' by u.LATinit;
24 sub [ @Letters U.LAT u.LAT u.LATmedi v.LATmedi ] [ u.LAT v.LAT]' by [ u.LATmedi v.LATmedi];
25 } caltLAT;
26
27 feature calt {
28 lookup Q_alts;
29 # lookup f_long;
30 lookup caltLAT;
31 } calt;