summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/fonts/sfd/xits/xits.fea
blob: b9e1caf0688ea9d013a688d554b8893b1b50bfad (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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
languagesystem DFLT dflt;
languagesystem latn dflt;
languagesystem cyrl dflt;
languagesystem grek dflt;

feature frac {
    sub \one   \fraction \two    by \onehalf;
    sub \one   \fraction \three  by \onethird;
    sub \one   \fraction \four   by \onequarter;
    sub \one   \fraction \five   by \uni2155;
    sub \one   \fraction \six    by \uni2159;
    sub \one   \fraction \eight  by \oneeighth;
    sub \two   \fraction \three  by \twothirds;
    sub \two   \fraction \five   by \uni2156;
    sub \three \fraction \four   by \threequarters;
    sub \three \fraction \five   by \uni2157;
    sub \three \fraction \eight  by \threeeighths;
    sub \four  \fraction \five   by \uni2158;
    sub \five  \fraction \six    by \uni215A;
    sub \five  \fraction \eight  by \fiveeighths;
    sub \seven \fraction \eight  by \seveneighths;

    sub \one   \slash \two    by \onehalf;
    sub \one   \slash \three  by \onethird;
    sub \one   \slash \four   by \onequarter;
    sub \one   \slash \five   by \uni2155;
    sub \one   \slash \six    by \uni2159;
    sub \one   \slash \eight  by \oneeighth;
    sub \two   \slash \three  by \twothirds;
    sub \two   \slash \five   by \uni2156;
    sub \three \slash \four   by \threequarters;
    sub \three \slash \five   by \uni2157;
    sub \three \slash \eight  by \threeeighths;
    sub \four  \slash \five   by \uni2158;
    sub \five  \slash \six    by \uni215A;
    sub \five  \slash \eight  by \fiveeighths;
    sub \seven \slash \eight  by \seveneighths;
} frac;

feature onum {
    sub \zero  by \zero.onum;
    sub \one   by \one.onum;
    sub \two   by \two.onum;
    sub \three by \three.onum;
    sub \four  by \four.onum;
    sub \five  by \five.onum;
    sub \six   by \six.onum;
    sub \seven by \seven.onum;
    sub \eight by \eight.onum;
    sub \nine  by \nine.onum;
} onum;

lookup StandardLigatures {
  lookupflag 0;
    sub \f \i  by \fi;
    sub \f \l  by \fl;
    sub \f \f  by \ff;
    sub \f \f \i  by \ffi;
    sub \f \f \l  by \ffl;
    sub \f \j  by \uniE0B3;
} StandardLigatures;

lookup StandardLigaturesNLD {
  lookupflag 0;
    sub \f \i  by \fi;
    sub \f \l  by \fl;
    sub \f \f  by \ff;
    sub \f \f \i  by \ffi;
    sub \f \f \l  by \ffl;
    sub \I \J  by \uni0132;
    sub \i \j  by \uni0133;
    sub \f \j  by \uniE0B3;
} StandardLigaturesNLD;

feature liga {
  script DFLT;
     language dflt;
      lookup StandardLigatures;

  script latn;
     language dflt;
      lookup StandardLigatures;
     language NLD  exclude_dflt;
      lookup StandardLigaturesNLD;
} liga;