summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts/poltawski/antpbi12.fea
blob: 2114b9db4ec515529636ca943cfd4c9f10fd2159 (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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
languagesystem DFLT dflt;
languagesystem latn dflt;
languagesystem latn AZE;
languagesystem latn CRT;
languagesystem latn MOL;
languagesystem latn NLD;
languagesystem latn PLK;
languagesystem latn ROM;
languagesystem latn TRK;
languagesystem cyrl dflt;

# complete features
table head{
FontRevision 1.100;
} head;

@othbas=[ampersand cent dollar];

@othold=[ampersand # ampersand.oldstyle in the future?
cent.oldstyle dollar.oldstyle];  

@figlintab=[zero one two three four five six seven eight nine];

@figlinprop=[zero.prop one.prop two.prop three.prop four.prop five.prop
six.prop seven.prop eight.prop nine.prop];

@figoldtab=[zero.taboldstyle one.taboldstyle two.taboldstyle three.taboldstyle
four.taboldstyle five.taboldstyle six.taboldstyle seven.taboldstyle
eight.taboldstyle nine.taboldstyle];

@figoldprop=[zero.oldstyle one.oldstyle two.oldstyle three.oldstyle
four.oldstyle five.oldstyle six.oldstyle seven.oldstyle eight.oldstyle
nine.oldstyle];

@figinfr=[zero.inferior one.inferior two.inferior three.inferior
four.inferior five.inferior six.inferior seven.inferior eight.inferior
nine.inferior];

@figsupr=[zero.superior one.superior two.superior three.superior
four.superior five.superior six.superior seven.superior eight.superior
nine.superior];

@figdnom=[zero.dnom one.dnom two.dnom three.dnom
four.dnom five.dnom six.dnom seven.dnom eight.dnom
nine.dnom];

@fignumr=[zero.numr one.numr two.numr three.numr
four.numr five.numr six.numr seven.numr eight.numr
nine.numr];

@nzfignumr=[one.numr two.numr three.numr
four.numr five.numr six.numr seven.numr eight.numr
nine.numr];

@letcapbas=[A B C D E F G H I J K L M N O P Q R S T U V W X Y Z];
@letsmabas=[a b c d e f g h i j k l m n o p q r s t u v w x y z];

@letcapoth=[Aacute Abreve Abreveacute Abrevedotbelow Abrevegrave
Abrevehookabove Abrevetilde Acircumflex Acircumflexacute Acircumflexdotbelow
Acircumflexgrave Acircumflexhookabove Acircumflextilde Adblgrave Adieresis
Adotbelow AE AEacute Agrave Ahookabove Amacron Aogonek Aogonekacute Aring
Aringacute Atilde Cacute Ccaron Ccedilla Ccircumflex Cdotaccent Dcaron Dcroat
Ddotbelow Dlinebelow Eacute Ebreve Ecaron Ecircumflex Ecircumflexacute
Ecircumflexdotbelow Ecircumflexgrave Ecircumflexhookabove Ecircumflextilde
Edblgrave Edieresis Edotaccent Edotbelow Egrave Ehookabove Emacron Eng
Eogonek Eogonekacute Ereversed Eth Etilde Gacute Gbreve Gcaron Gcircumflex
Gcommaaccent Gdotaccent S_S # Germandbls
 Hbar Hbrevebelow Hcircumflex Hdieresis Hdotbelow
 H_uni0303 # Htilde
 I_J Iacute Ibreve Icircumflex Idblgrave Idieresis Idotbelow Igrave
Ihookabove Imacron Imacron.alt Iogonek Iogonekacute Itilde Jacute Jcircumflex
Kcommaaccent Lacute Lcaron Lcommaaccent Ldot Ldotbelow Ldotbelowmacron Lslash
 L_uni0303 # Ltilde
 Mdotbelow Nacute Ncaron Ncommaaccent Ndotaccent Ndotbelow Ntilde
Oacute Obreve Ocircumflex Ocircumflexacute Ocircumflexdotbelow
Ocircumflexgrave Ocircumflexhookabove Ocircumflextilde Odblgrave Odieresis
Odotbelow OE Ograve Ohookabove Ohorn Ohornacute Ohorndotbelow Ohorngrave
Ohornhookabove Ohorntilde Ohungarumlaut Omacron Oogonek Oogonekacute Oslash
Oslashacute Otilde Racute Rcaron Rcommaaccent Rdblgrave Rdotaccent Rdotbelow
Rdotbelowmacron Sacute Scaron Scedilla Scircumflex
 uni0218 # Scommaaccent
 Sdotbelow Tcaron Tcedilla
 uni021A # Tcommaaccent
 T_uni0308 # Tdieresis
 Tdotbelow Thorn Tlinebelow T_uni0303 # Ttilde
 Uacute Ubreve Ubrevebelowinverted Ucircumflex Udblgrave Udieresis Udotbelow
Ugrave Uhookabove Uhorn Uhornacute Uhorndotbelow Uhorngrave Uhornhookabove
Uhorntilde Uhungarumlaut Umacron Uogonek Uring Utilde Wacute Wcircumflex
Wdieresis Wgrave Yacute Ycircumflex Ydieresis Ydotbelow Ygrave Yhookabove
Ytilde Zacute Zcaron Zdotaccent Zdotbelow];

@letsmaoth=[aacute abreve abreveacute abrevedotbelow abrevegrave
abrevehookabove abrevetilde acircumflex acircumflexacute acircumflexdotbelow
acircumflexgrave acircumflexhookabove acircumflextilde adblgrave adieresis
adotbelow ae aeacute agrave ahookabove amacron aogonek aogonekacute aring
aringacute atilde cacute ccaron ccedilla ccircumflex cdotaccent dcaron dcroat
ddotbelow dlinebelow eacute ebreve ecaron ecircumflex ecircumflexacute
ecircumflexdotbelow ecircumflexgrave ecircumflexhookabove ecircumflextilde
edblgrave edieresis edotaccent edotbelow egrave ehookabove emacron eng
eogonek eogonekacute ereversed eth etilde gacute gbreve gcaron gcircumflex
gcommaaccent gdotaccent germandbls hbar hbrevebelow hcircumflex hdieresis
 hdotbelow h_uni0303 # htilde
 i_j iacute ibreve icircumflex idblgrave idieresis idotbelow igrave
ihookabove imacron imacron.alt iogonek iogonekacute itilde jacute jcircumflex
kcommaaccent lacute lcaron lcommaaccent ldot ldotbelow ldotbelowmacron lslash
 l_uni0303 # ltilde
 mdotbelow nacute ncaron ncommaaccent ndotaccent ndotbelow ntilde
oacute obreve ocircumflex ocircumflexacute ocircumflexdotbelow
ocircumflexgrave ocircumflexhookabove ocircumflextilde odblgrave odieresis
odotbelow oe ograve ohookabove ohorn ohornacute ohorndotbelow ohorngrave
ohornhookabove ohorntilde ohungarumlaut omacron oogonek oogonekacute oslash
oslashacute otilde racute rcaron rcommaaccent rdblgrave rdotaccent rdotbelow
rdotbelowmacron sacute scaron scedilla scircumflex
 uni0219 # scommaaccent
 sdotbelow tcaron tcedilla
 uni021B # tcommaaccent
 tdieresis tdotbelow thorn tlinebelow t_uni0303 # ttilde
 uacute ubreve ubrevebelowinverted ucircumflex udblgrave udieresis udotbelow
ugrave uhookabove uhorn uhornacute uhorndotbelow uhorngrave uhornhookabove
uhorntilde uhungarumlaut umacron uogonek uring utilde wacute wcircumflex
wdieresis wgrave yacute ycircumflex ydieresis ydotbelow ygrave yhookabove
ytilde zacute zcaron zdotaccent zdotbelow];

@cpsp1=[@letcapbas @letcapoth];

@figprop=[@figlinprop @figoldprop @othbas];
@figtab=[@figlintab @figoldtab @othbas];

@lnum1=[@figoldprop @figoldtab @othold];
@lnum2=[@figlinprop @figlintab @othbas];

@onum1=[@figlinprop @figlintab @othbas];
@onum2=[@figoldprop @figoldprop @othold];

@pnum1=[@figlintab @figoldtab];
@pnum2=[@figlinprop @figoldprop];

@tnum1=[@figlinprop @figoldprop];
@tnum2=[@figlintab @figoldtab];

feature aalt{
  feature locl; # Localized forms
# feature cpsp; # capital spacing
# feature frac; # fractions
  feature onum; # old style figures
  feature lnum; # lining figures
  feature pnum; # proportional figures
  feature tnum; # tabular figures
  feature sups; # superscripts
  feature subs; # subscripts
  feature sinf; # "scientific" subscripts (here = subs)
  feature numr; # numerators
  feature dnum; # denominators
# feature liga; # standard ligatures
# feature dlig; # discretionary ligatures
  feature zero; # slashed zero
} aalt;

feature locl { # Localized Forms
  script latn;
# Handling of Romanian [Ss]commaaccent and [Tt]commaaccent
    language ROM exclude_dflt;
      lookup locl_ROM {
        sub [Scedilla scedilla] by [uni0218 uni0219];
        sub [Tcedilla tcedilla] by [uni021A uni021B];
      } locl_ROM;
    language MOL exclude_dflt;
      lookup locl_ROM;
} locl;

feature cpsp { # Capital Spacing
  pos @cpsp1 <7 0 14 0>;
} cpsp;

feature onum { # Old Style Figures
  sub @onum1 by @onum2;
} onum;

feature lnum { # Lining Figures
  sub @lnum1 by @lnum2;
} lnum;

feature pnum { # Proportional Figures
  sub @pnum1 by @pnum2;
} pnum;

feature tnum { # Tabular Figures
  sub @tnum1 by @tnum2;
} tnum;

feature sups {
  sub @figlintab by @figsupr;
  sub @figlinprop by @figsupr;
  sub @figoldtab by @figsupr;
  sub @figoldprop by @figsupr;
  sub @fignumr by @figsupr;
  sub @figdnom by @figsupr;
} sups;

feature numr {
  sub @figlintab by @fignumr;
  sub @figlinprop by @fignumr;
  sub @figoldtab by @fignumr;
  sub @figoldprop by @fignumr;
  sub @figsupr by @fignumr;
  sub @figinfr by @fignumr;
} numr;

feature dnom {
  sub @figlintab by @figdnom;
  sub @figlinprop by @figdnom;
  sub @figoldtab by @figdnom;
  sub @figoldprop by @figdnom;
  sub @figsupr by @figdnom;
  sub @figinfr by @figdnom;
} dnom;

feature subs {
  sub @figlintab by @figinfr;
  sub @figlinprop by @figinfr;
  sub @figoldtab by @figinfr;
  sub @figoldprop by @figinfr;
  sub @fignumr by @figinfr;
  sub @figdnom by @figinfr;
} subs;

feature sinf {
  sub @figlintab by @figinfr;
  sub @figlinprop by @figinfr;
  sub @figoldtab by @figinfr;
  sub @figoldprop by @figinfr;
  sub @fignumr by @figinfr;
  sub @figdnom by @figinfr;
} sinf;

feature frac {

 lookup fra1 {
  sub @figlintab by @fignumr;
  sub @figlinprop by @fignumr;
  sub @figoldtab by @fignumr;
  sub @figoldprop by @fignumr;
  sub @figinfr by @fignumr;
  sub @figsupr by @fignumr;
  sub @figdnom by @fignumr;
 } fra1;

 lookup fra2 {
  sub @fignumr slash' @fignumr by fraction;
 } fra2;

 lookup fra3 {
  ignore sub @fignumr zero.numr' fraction'  zero.numr' zero.numr' zero.numr';
  ignore sub zero.numr' fraction' zero.numr'  zero.numr' zero.numr' @nzfignumr;
  ignore sub @fignumr zero.numr' fraction'  zero.numr' zero.numr';
  ignore sub zero.numr' fraction' zero.numr'  zero.numr' @nzfignumr;
  ignore sub @fignumr zero.numr' fraction' zero.numr';
  ignore sub zero.numr' fraction' zero.numr' @nzfignumr;
  sub zero.numr' fraction' zero.numr' zero.numr' zero.numr' by permyriad;
  sub zero.numr' fraction' zero.numr' zero.numr' by perthousand;
  sub zero.numr' fraction' zero.numr' by percent;
 } fra3;

 lookup fra4 {
   sub percent zero.numr zero.numr by permyriad;
   sub percent zero.numr by perthousand;
   sub perthousand zero.numr by permyriad;
 } fra4;
 
 lookup fra5 {
  sub one.numr fraction two.numr by onehalf;
#  sub one.numr fraction three.numr by onethird;
#  sub two.numr fraction three.numr by twothirds;
  sub one.numr fraction four.numr by onequarter;
  sub three.numr fraction four.numr by threequarters;
#  sub one.numr fraction five.numr by onefifth;
#  sub two.numr fraction five.numr by twofifths;
#  sub three.numr fraction five.numr by threefifths;
#  sub four.numr fraction five.numr by fourfifths;
#  sub one.numr fraction six.numr by onesixth;
#  sub five.numr fraction six.numr by fivesixths;
#  sub one.numr fraction eight.numr by oneeighth;
#  sub three.numr fraction eight.numr by threeeighths;
#  sub five.numr fraction eight.numr by fiveeighths;
#  sub seven.numr fraction eight.numr by seveneighths;
 } fra5;
 
  sub [permyriad perthousandzero] zero.numr' by perthousandzero;
  sub [fraction slash onehalf onequarter @figdnom threequarters] @fignumr' by @figdnom;

} frac;

feature liga { # Standard Ligatures
  lookup liga_f_f_l {
    sub f f l by f_f_l;
    sub f f by f_f;
    sub f l by f_l;
  } liga_f_f_l;
  script DFLT;
    language dflt;
      lookup liga_f_i {
        sub f_f i by f_f_i;
        sub f i by f_i;
      } liga_f_i;
  script cyrl;
    language dflt;
      lookup liga_f_i;
  script latn;
    language dflt;
      lookup liga_f_i;
    language NLD exclude_dflt;
      lookup liga_NLDa {
#       sub f i' j' by i_j;
#       sub f_f i' j' by i_j;
        sub i j by i_j;
        sub I J by I_J;
      } liga_NLDa;
      lookup liga_NLDb {
        sub f_f i by f_f_i;
        sub f i by f_i;
#       sub i j by i_j;
#       sub I J by I_J;
      } liga_NLDb;
    language PLK exclude_dflt;
      lookup liga_PLK {
        sub f_f i by f_f_i;
        sub f i by f_i ;
        sub f k by f_k;
      } liga_PLK;
    language MOL exclude_dflt;
      lookup liga_f_i;
    language ROM exclude_dflt;
      lookup liga_f_i;
    language AZE exclude_dflt;
    language CRT exclude_dflt;
    language TRK exclude_dflt;
} liga;

feature dlig { # Discretionary Ligatures
  sub comma comma by quotedblbase;
  sub hyphen hyphen hyphen hyphen by emdash;
  sub hyphen hyphen hyphen by threequartersemdash;
  sub hyphen hyphen by endash;
  sub quoteleft quoteleft by quotedblleft;
  sub quoteright quoteright by quotedblright;
# old Knuthian tradition...
  sub exclam quoteleft by exclamdown;
  sub question quoteleft by questiondown;
# AFDKO places grave at the slot 96 (ANSI / Mac)
  sub exclam grave by exclamdown;
  sub question grave by questiondown;
} dlig;

feature zero { # Slashed Zero
   sub zero by zero.slash;
} zero;

feature kern {
  include (antpbi12.krn);
  script latn;
  language AZE;
  language CRT;
  language MOL;
  language NLD;
  language PLK;
  language ROM;
  language TRK;
} kern;

feature size {
  parameters 120 4 110 140;
  sizemenuname 3 "Bold Italic";
  sizemenuname 1 "Bold Italic";
} size;

table hhea {
  Ascender  1084;
  Descender -291;
  LineGap   0;
} hhea;

table OS/2 {
  FSType        12;
  TypoAscender  750;
  TypoDescender -250;
  TypoLineGap   200;
  XHeight       430;
  CapHeight     700;
  winAscent     1084;
  winDescent    291;
  WidthClass    4;
  WeightClass   700;
} OS/2;