Debian Codegraph @

source/Hack-Bold.ufo/features.fea

raw
1 # Prefix: Languagesystems
2 languagesystem DFLT dflt;
3 languagesystem latn dflt;
4 languagesystem latn MOL ;
5 languagesystem latn ROM ;
6
7 # Prefix: Prefix
8 @aalt1 = [\zero \one \two \three \four \five \six \seven \eight \nine];
9 @subs1 = [\zero.subs \one.subs \two.subs \three.subs \four.subs \five.subs \six.subs \seven.subs \eight.subs \nine.subs];
10 @sups1 = [\uni2070 \uni00B9 \uni00B2 \uni00B3 \uni2074 \uni2075 \uni2076 \uni2077 \uni2078 \uni2079];
11 # @case1 = [\exclamdown \questiondown \uni2E18 \uni0304 \uni0306 \uni0307 \uni030B \uni030F \uni0311];
12 # @case2 = [\exclamdown.case \questiondown.case \uni2E18.case \uni0304.case \uni0306.case \uni0307.case \uni030B.case \uni030F.case \uni0311.case];
13
14 feature aalt {
15 feature locl;
16 feature subs;
17 feature sinf;
18 feature sups;
19 feature ordn;
20 } aalt;
21
22 feature locl {
23 # Localized Forms
24 script latn; # Latin
25 language MOL exclude_dflt; # Moldavian
26 sub [Scedilla scedilla] by [uni0218 uni0219];
27 language ROM exclude_dflt; # Romanian
28 sub [Scedilla scedilla] by [uni0218 uni0219];
29 } locl;
30
31 feature subs {
32 # Subscript
33 # DEFAULT
34 sub @aalt1 by @subs1;
35 script latn; # Latin
36 sub @aalt1 by @subs1;
37 language MOL ; # Moldavian
38 language ROM ; # Romanian
39 } subs;
40
41 feature sinf {
42 # Scientific Inferiors
43 # DEFAULT
44 sub @aalt1 by @subs1;
45 script latn; # Latin
46 sub @aalt1 by @subs1;
47 language MOL ; # Moldavian
48 language ROM ; # Romanian
49 } sinf;
50
51 feature sups {
52 # Superscript
53 # DEFAULT
54 sub @aalt1 by @sups1;
55 script latn; # Latin
56 sub @aalt1 by @sups1;
57 language MOL ; # Moldavian
58 language ROM ; # Romanian
59 } sups;
60
61 feature frac {
62 # Fractions
63 # DEFAULT
64 sub one slash two by onehalf;
65 sub one slash three by uni2153;
66 sub one slash four by onequarter;
67 sub one slash five by uni2155;
68 sub one slash six by uni2159;
69 sub one slash eight by oneeighth;
70 sub two slash three by uni2154;
71 sub three slash four by threequarters;
72 sub three slash five by uni2157;
73 sub three slash eight by threeeighths;
74 sub four slash five by uni2158;
75 sub five slash six by uni215A;
76 sub five slash eight by fiveeighths;
77 sub seven slash eight by seveneighths;
78 script latn; # Latin
79 sub one slash two by onehalf;
80 sub one slash three by uni2153;
81 sub one slash four by onequarter;
82 sub one slash five by uni2155;
83 sub one slash six by uni2159;
84 sub one slash eight by oneeighth;
85 sub two slash three by uni2154;
86 sub three slash four by threequarters;
87 sub three slash five by uni2157;
88 sub three slash eight by threeeighths;
89 sub four slash five by uni2158;
90 sub five slash six by uni215A;
91 sub five slash eight by fiveeighths;
92 sub seven slash eight by seveneighths;
93 language MOL ; # Moldavian
94 language ROM ; # Romanian
95 } frac;
96
97 feature ordn {
98 # Ordinals
99 # DEFAULT
100 sub @aalt1 [A a]' by [ordfeminine ordfeminine];
101 sub @aalt1 [O o]' by [ordmasculine ordmasculine];
102 script latn; # Latin
103 sub @aalt1 [A a]' by [ordfeminine ordfeminine];
104 sub @aalt1 [O o]' by [ordmasculine ordmasculine];
105 language MOL ; # Moldavian
106 language ROM ; # Romanian
107 } ordn;
108
109 #feature case {
110 # # Case-Sensitive Forms
111 # # DEFAULT
112 # sub @case1 by @case2;
113 # script latn; # Latin
114 # sub @case1 by @case2;
115 # language MOL ; # Moldavian
116 # language ROM ; # Romanian
117 #} case;
118