-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEadui.fea
3510 lines (3442 loc) · 140 KB
/
Eadui.fea
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
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
languagesystem DFLT dflt;
languagesystem latn dflt;
#
# Feature file for Eadui font. Copyright (c) 2015 by Peter S. Baker
#
# Ligatures with vowels and alternate vowel shapes are common in this font, causing
# problems with diacritics. Font handles it this way:
#
# 1. Decompose precomposed characters into vowel + combining diacritic
# 2. Let GSUB do its thing
# 3. Position diacritic over alt vowel or ligature element with GPOS/mark
#
# This does not work well with Word, and InDesign defeats the scheme by
# recomposing vowel+combining diacritic combinations into precomposed characters.
#
# However, Harfbuzz handles it well, so it works in the most popular browsers.
#
# GSUB
lookup ccmpDotlessi {
lookupflag 0;
sub i' [\gravecomb \acutecomb \uni0302 \tildecomb \uni0304 \uni0307 \uni0308 \uni035B
\uni1DD2 \uni1DE3 \uni0365 \uni0366 ] by \dotlessi;
} ccmpDotlessi;
lookup ccmpDecompose {
lookupflag 0;
sub \eogonek by \e \uni0328;
sub \umacron by \u \uni0304;
sub \emacron by \e \uni0304;
sub \amacron by \a \uni0304;
sub \imacron by \dotlessi \uni0304;
sub \omacron by \o \uni0304;
sub \aacute by \a \acutecomb;
sub \eacute by \e \acutecomb;
sub \iacute by \dotlessi \acutecomb;
sub \oacute by \o \acutecomb;
sub \uacute by \u \acutecomb;
sub \adieresis by \a \uni0308;
sub \edieresis by \e \uni0308;
sub \idieresis by \dotlessi \uni0308;
sub \odieresis by \o \uni0308;
sub \udieresis by \u \uni0308;
sub \yacute by \y \acutecomb;
sub \ydieresis by \y \uni0308;
sub \uni0233 by \y \uni0304;
sub \Aacute by \A \acute.cap;
sub \Adieresis by \A \uni0308;
sub \Oacute by \O \acute.cap;
sub \Odieresis by \O \uni0308;
sub \Uacute by \U \acute.cap;
sub \Udieresis by \U \uni0308;
sub \Eacute by \E \acute.cap;
sub \Edieresis by \E \uni0308;
sub \Iacute by \I \acute.cap;
sub \Idieresis by \I \uni0308;
sub \Ydieresis by \Y \uni0308;
sub \uni1E05 by \b \dotbelowcomb;
sub \uni1E0D by \d \dotbelowcomb;
sub \uni1E25 by \h \dotbelowcomb;
sub \uni1E33 by \k \dotbelowcomb;
sub \uni1E37 by \l \dotbelowcomb;
sub \uni1E43 by \m \dotbelowcomb;
sub \uni1E47 by \n \dotbelowcomb;
sub \uni1E5B by \r \dotbelowcomb;
sub \uni1E63 by \s \dotbelowcomb;
sub \uni1E6D by \t \dotbelowcomb;
sub \uni1E7F by \v \dotbelowcomb;
sub \uni1E89 by \w \dotbelowcomb;
sub \uni1E93 by \z \dotbelowcomb;
sub \uni1EA1 by \a \dotbelowcomb;
sub \uni1EB9 by \e \dotbelowcomb;
sub \uni1ECB by \i \dotbelowcomb;
sub \uni1ECD by \o \dotbelowcomb;
sub \uni1EE5 by \u \dotbelowcomb;
sub \uni1EF5 by \y \dotbelowcomb;
sub \uni00630323 by \c \dotbelowcomb;
sub \uni00660323 by \f \dotbelowcomb;
sub \uni00670323 by \g \dotbelowcomb;
sub \uni006A0323 by \j \dotbelowcomb;
sub \uni00700323 by \p \dotbelowcomb;
sub \uni00710323 by \q \dotbelowcomb;
sub \uni0232 by \Y \uni0304;
sub \Amacron by \A \uni0304;
sub \Emacron by \E \uni0304;
sub \Imacron by \I \uni0304;
sub \Omacron by \O \uni0304;
sub \Umacron by \U \uni0304;
sub \uni004503280304 by \E \uni0328 \uni0304;
sub \uni006503280304 by \e \uni0328 \uni0304;
sub \Yacute by \Y \acute.cap;
sub \Agrave by \A \grave.cap;
sub \Acircumflex by \A \uni0302;
sub \Atilde by \A \tildecomb;
sub \agrave by \a \gravecomb;
sub \egrave by \e \gravecomb;
sub \igrave by \dotlessi \gravecomb;
sub \ograve by \o \gravecomb;
sub \ugrave by \u \gravecomb;
sub \Egrave by \E \grave.cap;
sub \Igrave by \I \grave.cap;
sub \Ograve by \O \grave.cap;
sub \Ugrave by \U \grave.cap;
sub \Ecircumflex by \E \uni0302;
sub \Icircumflex by \I \uni0302;
sub \Ocircumflex by \O \uni0302;
sub \Ucircumflex by \U \uni0302;
sub \acircumflex by \a \uni0302;
sub \ecircumflex by \e \uni0302;
sub \icircumflex by \dotlessi \uni0302;
sub \ocircumflex by \o \uni0302;
sub \ucircumflex by \u \uni0302;
sub \atilde by \a \tildecomb;
sub \otilde by \o \tildecomb;
sub \ntilde by \n \tildecomb;
sub \Ntilde by \N \tildecomb;
sub \Otilde by \O \tildecomb;
sub \Ccedilla by \C \uni0327;
sub \ccedilla by \c \uni0327;
sub \uni1E04 by \B \dotbelowcomb;
sub \uni1E0C by \D \dotbelowcomb;
sub \uni1E24 by \H \dotbelowcomb;
sub \uni1E32 by \K \dotbelowcomb;
sub \uni1E36 by \L \dotbelowcomb;
sub \uni1E42 by \M \dotbelowcomb;
sub \uni1E46 by \N \dotbelowcomb;
sub \uni1E5A by \R \dotbelowcomb;
sub \uni1E6C by \T \dotbelowcomb;
sub \uni1E7E by \V \dotbelowcomb;
sub \uni1E88 by \W \dotbelowcomb;
sub \uni1E62 by \S \dotbelowcomb;
sub \uni1E92 by \Z \dotbelowcomb;
sub \uni1EE4 by \U \dotbelowcomb;
sub \uni1EF4 by \Y \dotbelowcomb;
sub \uni1ECA by \I \dotbelowcomb;
sub \uni1ECC by \O \dotbelowcomb;
sub \uni1EA0 by \A \dotbelowcomb;
sub \uni1EB8 by \E \dotbelowcomb;
sub \uni00460323 by \F \dotbelowcomb;
sub \uni00430323 by \C \dotbelowcomb;
sub \uni00470323 by \G \dotbelowcomb;
sub \uni004A0323 by \J \dotbelowcomb;
sub \uni00500323 by \P \dotbelowcomb;
sub \uni00510323 by \Q \dotbelowcomb;
sub \uni01E3 by \ae \uni0304;
sub \aeacute by \ae \acutecomb;
sub \uni01E2 by \AE \uni0304;
sub \AEacute by \AE \acute.cap;
sub \Aring by \A \uni030A;
sub \aring by \a \uni030A;
} ccmpDecompose;
lookup SmallCaps {
lookupflag 0;
sub \a by \a.sc;
sub \b by \b.sc;
sub \c by \c.sc;
sub \g by \g.sc;
sub \d by \d.sc;
sub \e by \e.sc;
sub \f by \f.sc;
sub \h by \h.sc;
sub \i by \i.sc;
sub \l by \l.sc;
sub \m by \m.sc;
sub \n by \n.sc;
sub \o by \o.sc;
sub \p by \p.sc;
sub \r by \r.sc;
sub \q by \q.sc;
sub \t by \t.sc;
sub \u by \u.sc;
sub \x by \x.sc;
sub \y by \y.sc;
sub \v by \v.sc;
sub \k by \k.sc;
sub \w by \w.sc;
sub \s by \s.sc;
sub \j by \j.sc;
sub \z by \z.sc;
sub \uni019A by \uni019A.sc;
sub \uni0304 by \macron.sc;
sub \eth by \eth.sc;
sub \thorn by \thorn.sc;
sub \ae by \ae.sc;
} SmallCaps;
lookup TitlingCaps {
lookupflag 0;
sub \a by \A.titling;
sub \b by \B.titling;
sub \c by \C.titling;
sub \g by \G.titling;
sub \d by \D.titling;
sub \e by \E.titling;
sub \f by \F.titling;
sub \h by \H.titling;
sub \i by \I.titling;
sub \l by \L.titling;
sub \m by \M.titling;
sub \n by \N.titling;
sub \o by \O.titling;
sub \p by \P.titling;
sub \r by \R.titling;
sub \q by \Q.titling;
sub \t by \T.titling;
sub \u by \U.titling;
sub \x by \X.titling;
sub \longs by \S.titling;
sub \y by \Y.titling;
sub \v by \V.titling;
sub \k by \K.titling;
sub \w by \W.titling;
sub \s by \S.titling;
sub \dotlessi by \I.titling;
sub \j by \J.titling;
sub \z by \Z.titling;
sub \hyphen by \hyphen.titling;
sub \emdash by \emdash.titling;
sub \endash by \endash.titling;
sub \uni0304 by \macron.titling;
sub \eth by \Eth.titling;
sub \thorn by \Thorn.titling;
sub \ae by \AE.titling;
} TitlingCaps;
lookup Medievalize {
lookupflag 0;
sub \i by \dotlessi;
sub \y by \uni1E8F;
sub \v by \u;
sub \w by \w.alt;
sub \s by \longs;
sub \y.sc by \uni1E8F.sc;
sub \j by \dotlessi;
sub \W by \W.medieval1;
sub \question by \uniF160;
sub \W.titling by \W.titling1;
} Medievalize;
lookup Underdotted {
lookupflag 0;
sub \a by \uni1EA1;
sub \b by \uni1E05;
sub \c by \uni00630323;
sub \g by \uni00670323;
sub \d by \uni1E0D;
sub \e by \uni1EB9;
sub \f by \uni00660323;
sub \h by \uni1E25;
sub \i by \uni1ECB;
sub \l by \uni1E37;
sub \m by \uni1E43;
sub \n by \uni1E47;
sub \o by \uni1ECD;
sub \p by \uni00700323;
sub \r by \uni1E5B;
sub \q by \uni00710323;
sub \t by \uni1E6D;
sub \u by \uni1EE5;
sub \x by \xdotbelowcomb;
sub \longs by \uni017F0323;
sub \y by \uni1EF5;
sub \v by \uni1E7F;
sub \k by \uni1E33;
sub \w by \uni1E89;
sub \s by \uni1E63;
sub \A by \uni1EA0;
sub \E by \uni1EB8;
sub \U by \uni1EE4;
sub \D by \uni1E0C;
sub \C by \uni00430323;
sub \I by \uni1ECA;
sub \Q by \uni00510323;
sub \N by \uni1E46;
sub \X by \Xdotbelowcomb;
sub \T by \uni1E6C;
sub \S by \uni1E62;
sub \R by \uni1E5A;
sub \j by \uni006A0323;
sub \z by \uni1E93;
sub \M by \uni1E42;
sub \O by \uni1ECC;
sub \B by \uni1E04;
sub \F by \uni00460323;
sub \G by \uni00470323;
sub \H by \uni1E24;
sub \J by \uni004A0323;
sub \K by \uni1E32;
sub \L by \uni1E36;
sub \P by \uni00500323;
sub \V by \uni1E7E;
sub \W by \uni1E88;
sub \Y by \uni1EF4;
sub \Z by \uni1E92;
sub \uniA75B by \uniA75B0323;
} Underdotted;
lookup Alternate_y {
lookupflag 0;
sub \y by \y.alt;
sub \uni1E8F by \uni1E8F.alt;
} Alternate_y;
lookup SentenceCaps_from_Caps {
lookupflag 0;
sub \A by \A.titling;
sub \E by \E.medium;
sub \U by \U.titling;
sub \D by \D.medium;
sub \C by \C.titling;
sub \I by \I.medium;
sub \Q by \Q.medium;
sub \N by \N.titling;
sub \X by \X.titling;
sub \T by \T.medium;
sub \S by \S.medium;
sub \R by \R.titling;
sub \M by \M.medium;
sub \O by \O.medium;
sub \B by \B.medium;
sub \F by \F.titling;
sub \G by \G.medium;
sub \H by \H.medium;
sub \J by \J.titling;
sub \K by \K.titling;
sub \L by \L.titling;
sub \P by \P.titling;
sub \V by \V.titling;
sub \W by \W.titling;
sub \Y by \Y.titling;
sub \Z by \Z.titling;
sub AE by AE.titling;
sub Eth by Eth.titling;
sub Thorn by Thorn.titling;
} SentenceCaps_from_Caps;
lookup TitlingCaps_from_Caps {
lookupflag 0;
sub \A by \A.titling;
sub \E by \E.titling;
sub \U by \U.titling;
sub \D by \D.titling;
sub \C by \C.titling;
sub \I by \I.titling;
sub \Q by \Q.titling;
sub \N by \N.titling;
sub \X by \X.titling;
sub \T by \T.titling;
sub \S by \S.titling;
sub \R by \R.titling;
sub \M by \M.titling;
sub \O by \O.titling;
sub \B by \B.titling;
sub \F by \F.titling;
sub \G by \G.titling;
sub \H by \H.titling;
sub \J by \J.titling;
sub \K by \K.titling;
sub \L by \L.titling;
sub \P by \P.titling;
sub \V by \V.titling;
sub \W by \W.titling;
sub \Y by \Y.titling;
sub \Z by \Z.titling;
sub \W.medieval1 by \W.titling1;
sub \W.medieval2 by \W.titling2;
sub \AE by \AE.titling;
sub \Eth by \Eth.titling;
sub \Thorn by \Thorn.titling;
} TitlingCaps_from_Caps;
lookup Alternate_Diacritics {
lookupflag 0;
sub \uni0328 by \ogonek.alt;
sub \uni0304 by \uni0304.alt;
sub \uni1DE3 by \uni1DE3.alt;
} Alternate_Diacritics;
lookup Enlarged_Minuscules {
lookupflag 0;
sub \a by \a.enlarged;
sub \c by \c.enlarged;
sub \d by \d.enlarged;
sub \f by \f.enlarged;
sub \p by \p.enlarged;
} Enlarged_Minuscules;
lookup Swashes {
lookupflag 0;
sub \a by \a.swash;
sub \e by \e.alt01;
sub \i by \i.swash;
sub \n by \n.swash;
sub \t by \t.swash;
sub \dotlessi by \dotlessi.swash;
sub \M by \M.swash;
sub \F by \F.swash;
} Swashes;
lookup Stylistic_Alternates {
lookupflag 0;
sub \a from [\a.alt01 \a.alt02 \a.enlarged ];
sub \c from [\c.enlarged ];
sub \d from [\d.enlarged ];
sub \e from [\e.alt02 \e.alt04 ];
sub \f from [\f.enlarged ];
sub \n from [\n.alt2 ];
sub \p from [\p.enlarged ];
sub \r from [\uniA75B ];
sub \y from [\y.alt ];
sub \uni1E8F from [\uni1E8F.alt ];
sub \A from [\A.alt ];
sub \D from [\uniA779 ];
sub \E from [\E.alt1];
sub \Q from [\Q.alt ];
sub \l.sc from [\l.sc2 ];
sub \s.sc from [\s.sc2 ];
sub \G from [\G.alt1 \G.alt2 ];
sub \H from [\H.alt ];
sub \Y from [\Y.alt \uni1E8E.alt ];
sub \semicolon from [\uniF1EA \uniF161 ];
sub \A.titling from [\A.titling1 ];
sub \D.titling from [\D.titling1 ];
sub \E.titling from [\E.titling1 ];
sub \M.titling from [\M.alt ];
sub \N.titling from [\N.titling1 ];
sub \W.medieval1 from [\W.medieval2 ];
sub \W.titling1 from [\W.titling2 ];
} Stylistic_Alternates;
lookup Pseudo_salt {
lookupflag 0;
sub \a by \a.alt01;
sub \c by \c.enlarged;
sub \d by \d.enlarged;
sub \e by \e.alt02;
sub \f by \f.enlarged;
sub \n by \n.alt2;
sub \p by \p.enlarged;
sub \r by \uniA75B;
sub \y by \y.alt;
sub \uni1E8F by \uni1E8F.alt;
sub \A by \A.alt;
sub \D by \uniA779;
sub \Q by \Q.alt;
sub \l.sc by \l.sc2;
sub \s.sc by \s.sc2;
sub \G by \G.alt1;
sub \H by \H.alt;
sub \Y by \Y.alt;
sub \semicolon by \uniF1EA;
sub \A.titling by \A.titling1;
sub \D.titling by \D.titling1;
sub \E.titling by \E.titling1;
sub \M.titling by \M.alt;
sub \N.titling by \N.titling1;
sub \W.medieval1 by \W.medieval2;
sub \W.titling1 by \W.titling2;
} Pseudo_salt;
lookup SingleSubstitutionnotag {
lookupflag 0;
# sub \a by \a.alt01;
# sub \c by \c.alt;
# sub \g by \g.alt1;
# sub \e by \e.alt01;
sub \f by \f.alt2;
sub \i by \i.alt;
sub \m by \m.alt;
sub \n by \n.alt1;
sub \p by \p.alt;
sub \r by \r.alt;
# sub \t by \t.alt2;
sub \u by \u.alt;
sub \dotlessi by \dotlessi.alt;
# sub \l.sc by \l.sc2;
# sub \s.sc by \s.sc2;
sub \j by \j.alt;
# sub \f.alt2 by \f.alt3;
# sub \eth by \eth.alt;
} SingleSubstitutionnotag;
lookup SingleSubstitutionnotag2 {
lookupflag 0;
sub \a by \a.alt02;
# sub \g by \g.alt2;
# sub \e by \e.alt02;
# sub \f by \f.alt2;
# sub \f.alt1 by \f.alt3;
sub \t by \t.alt;
} SingleSubstitutionnotag2;
#
# Alternative c avoids awkwardness with certain following letters.
#
lookup ContextualAlternates_c {
lookupflag IgnoreMarks;
sub \c' [\a \b \f \g \i \j \m \n \p \r \s \t \u \x \z \dotlessi \uniF161] by \c.alt;
} ContextualAlternates_c;
#
# t and the following letter vary to make pseudo-ligature
# or avoid awkward clash
#
lookup ContextualAlternates_t {
lookupflag IgnoreMarks;
@cc14_match_1 = [\t ];
@cc14_match_3 = [\f \i \dotlessi \j \m \n \p \r \u ];
@cc14_ahead_2 = [\a \c \s \x ];
sub \t' [\a \c \s \x] by \t.alt2;
sub @cc14_match_1' lookup SingleSubstitutionnotag2 @cc14_match_3' lookup SingleSubstitutionnotag;
} ContextualAlternates_t;
#
# g and f make pseudo-ligatures with several following letters
#
lookup ContextualAlternates_gf {
lookupflag IgnoreMarks;
sub \g' [\i \j \m \n \r \u \dotlessi \w.alt] by \g.alt1;
sub \g' [\e \o \s \eth] by \g.alt2;
sub [\f \f.alt2]' [\e \s \eth] by [\f.alt1 \f.alt3];
} ContextualAlternates_gf;
#
# Alternate shape of e before tall letters
#
lookup ContextualAlternates_e {
lookupflag IgnoreMarks;
sub \e' [\b \h \k \l \thorn] by \e.alt01;
} ContextualAlternates_e;
#
# Alternate e before letters with a bowl on left.
# e g and ae make pseudo-ligature with following f
#
lookup Contextual_Alternates_misc {
lookupflag IgnoreMarks;
sub \e' [\d \g \s \g.alt1 \g.alt2 \e.alt01 \e.alt03 \y \uni1E8F] by \e.alt02;
sub \e' [\c \q \c.alt] by \e.alt04;
sub [\e \g \ae]' [\f \f.alt1] by [\e.alt03 \g.alt1 \ae.alt];
} Contextual_Alternates_misc;
#
# Narrow a following letters with right overhang.
# Pseudo-random a
#
lookup ContextualAlternates_a {
lookupflag IgnoreMarks;
sub [\r \t \t.alt2 \v \w \y \longs \uni0233 \uni1E5B \uni1E7F \uni1E89 \uni1E8F \r.alt \t.alt \y.alt
\uni1E8F.alt ] \a' by \a.alt01;
@cc21_match_1 = [\b \d \e \e.alt04 \f \j \l \n \p \r \s \t \v \x \z \longs \f.alt1 \i.swash \n.alt1 \j.alt \r.alt
\p.alt \f.alt2 \t.alt \e.alt01 ];
@cc21_match_2 = [\c \g \h \i \k \m \o \q \u \y \c.alt \dotlessi \g.alt1 \g.alt2 \uni1E8F.sc
\dotlessi.swash \m.alt \dotlessi.alt \i.alt ];
@cc21_match_3 = [\a ];
sub @cc21_match_1 @cc21_match_2 @cc21_match_3' lookup SingleSubstitutionnotag2;
} ContextualAlternates_a;
#
# Rustic cap l and s are tall: shorter forms avoid collision
# with preceding f
#
lookup ContextualAlternates_smcp {
lookupflag 0;
sub \f.sc \l.sc' by \l.sc2;
sub \f.sc \s.sc' by \s.sc2;
} ContextualAlternates_smcp;
#
# Alternate eth avoid collisions with preceding tall character
#
lookup ContextualAlternates_eth {
lookupflag 0;
sub [\d \f \i \j \l \longs \f.alt1 ] \eth' by \eth.alt;
} ContextualAlternates_eth;
lookup Discretionary_Ligatures {
lookupflag IgnoreMarks;
sub \longs \t \dotlessi by \longs_t_dotlessi;
sub \longs \t.alt \dotlessi.alt by \longs_t_dotlessi;
sub \longs \t \i by \longs_t_i;
sub \longs \t.alt \i.alt by \longs_t_i;
sub \t \dotlessi by \t_dotlessi;
sub \t \i by \t_i;
sub \E \T by \E_T;
sub \n \t by \n_t;
sub \r.alt \a by \r_a.alt;
} Discretionary_Ligatures;
lookup Historic_Ligatures {
lookupflag IgnoreMarks;
sub \e \r \r \a by \e_r_r_a;
sub \r \t \u by \r_t_u;
sub \e \r \a by \e_r_a.alt;
sub \r \r \a by \r_r_a;
sub \r \t \y.alt by \r_t_y;
sub \r \t \uni1E8F.alt by \r_t_uni1E8F;
sub \r \a by \r_a;
sub \r \t by \r_t;
sub \c \t by \c_t;
sub \c.alt \t by \c_t;
sub \o \r by \o_uniA75B;
} Historic_Ligatures;
lookup Standard_Ligatures_1 {
lookupflag IgnoreMarks;
sub \e \longs \longs \dotlessi by \e_longs_longs_i;
sub \e \longs \longs \i by \e_longs_longs_i;
sub \ae \longs \longs \dotlessi by \ae_longs_longs_i;
sub \ae \longs \longs \i by \ae_longs_longs_i;
sub \e \t \u by \e_t_u;
sub \e \r \i by \e_r_i;
sub \e \r \dotlessi by \e_r_dotlessi;
sub \e \r \n by \e_r_n;
sub \e \longs \dotlessi by \e_longs_i;
sub \e \longs \i by \e_longs_i;
sub \e \t \i by \e_t_i;
sub \e \t \i.alt by \e_t_i;
sub \longs \longs \dotlessi by \longs_longs_i;
sub \longs \longs \i by \longs_longs_i;
sub \e \longs \longs by \e_longs_longs;
sub \e \longs \t by \e_longs_t;
sub \e \r \a by \e_r_a;
sub \e \t \dotlessi.alt by \e_t_dotlessi;
sub \f \f \u by \f_f_u;
sub \f \f \dotlessi by \uniFB03;
sub \f \f \i by \uniFB03;
sub \f \f \l by \uniFB04;
sub \f \f \a by \f_f_a;
sub \e \t \t by \e_t_t;
sub \ae \longs \longs by \ae_longs_longs;
sub \ae \longs \t by \ae_longs_t;
sub \ae \longs \dotlessi by \ae_longs_i;
sub \ae \longs \i by \ae_longs_i;
sub \ae \r \a by \ae_r_a;
sub \ae \t \t by \ae_t_t;
sub \f \l by \uniFB02;
sub \f \i by \uniFB01;
sub \f \dotlessi by \uniFB01;
sub \longs \t by \uniFB05;
sub \f \a by \f_a;
sub \longs \i by \longs_i;
sub \longs \dotlessi by \longs_i;
sub \e \n by \e_n;
sub \e \a by \e_a;
sub \e \t by \e_t;
sub \e \x by \e_x;
sub \t \u by \t_u;
sub \f \u by \f_u;
sub \r \m by \r_m;
sub \e \u by \e_u;
sub \e \longs by \e_longs;
sub \r \n by \r_n;
sub \e \m by \e_m;
sub \e \o by \e_o;
sub \g \o by \g_o;
sub \f \o by \f_o;
sub \e \r by \e_r;
sub \f.alt2 \i by \f_i.alt;
sub \f.alt2 \dotlessi by \f_i.alt;
sub \f.alt2 \l by \f_l.alt;
sub \f.alt2 \o by \f_o.alt;
sub \f.alt2 \a by \f_a.alt;
sub \f.alt2 \u by \f_u.alt;
sub \e \t.alt by \e_t.alt;
sub \e \p by \e_p;
sub \f \t by \f_t;
sub \f \r by \f_r;
sub \longs \longs by \longs_longs;
sub \g \a by \g_a;
sub \e \i by \e_i;
sub \e \dotlessi by \e_dotlessi;
sub \f \f by \uniFB00;
sub \f \f.alt1 by \f_f.alt;
sub \t \t by \t_t;
sub \e \j by \e_j;
sub \g \y by \g_y;
sub \ae \t by \ae_t;
sub \ae \i by \ae_i;
sub \ae \dotlessi by \ae_dotlessi;
sub \ae \n by \ae_n;
sub \ae \m by \ae_m;
sub \ae \r by \ae_r;
sub \ae \p by \ae_p;
sub \ae \uni01BF by \ae_uni01BF;
sub \ae \longs by \ae_longs;
sub \e \t.alt2 by \e_t.alt2;
} Standard_Ligatures_1;
lookup Standard_Ligatures_2 {
lookupflag IgnoreMarks;
sub \e \e by \e_e;
sub \uni019A \uni019A by \uni019A_uni019A;
sub \f \j by \f_j;
sub \f \j.alt by \f_j.alt;
} Standard_Ligatures_2;
feature aalt {
feature smcp;
feature titl;
feature hist;
feature ss07;
feature ss10;
feature ss11;
feature ss12;
feature ss13;
feature ss14;
feature swsh;
feature salt;
} aalt;
feature ccmp {
lookup ccmpDotlessi;
lookup ccmpDecompose;
} ccmp;
#
# Small Caps. Duplicated as ss03
#
feature smcp {
lookup SmallCaps;
} smcp;
#
# Duplicates smcp, for Word users.
#
feature ss03 {
lookup SmallCaps;
} ss03;
#
# Titling Caps. Duplicated as ss09.
#
feature titl {
lookup TitlingCaps;
} titl;
#
# Duplicates titl, for Word users.
#
feature ss09 {
lookup TitlingCaps;
} ss09;
#
# Historical forms. Duplicated as ss16.
#
feature hist {
lookup Medievalize;
} hist;
#
# Duplicates hist, for Word and InDesign users.
#
feature ss16 {
lookup Medievalize;
} ss16;
#
# Expunges (places a dot under) alphabetic characters.
# This is the most common medieval method for signalling
# a deletion.
#
feature ss07 {
lookup Underdotted;
} ss07;
#
# y with short curved limbs. Replaces both undotted
# and dotted forms.
#
feature ss10 {
lookup Alternate_y;
} ss10;
#
# There are a few capitals for use especially in running
# text. Otherwise titling capitals are used (consistent
# with MS usage).
#
feature ss11 {
lookup SentenceCaps_from_Caps;
} ss11;
#
# Different route to titling caps
#
feature ss12 {
lookup TitlingCaps_from_Caps;
} ss12;
#
# There are alternate forms of cauda (ogonek), macron,
# and -tur.
#
feature ss13 {
lookup Alternate_Diacritics;
} ss13;
#
# There are very few enlarged minuscules. These can
# also be used in place of sentence caps. They are
# also duplicated in MUFI positions.
#
feature ss14 {
lookup Enlarged_Minuscules;
} ss14;
#
# Swash characters. Duplicated as ss17.
#
feature swsh {
lookup Swashes;
} swsh;
#
# Duplicates swsh, for Word users.
#
feature ss17 {
lookup Swashes;
} ss17;
#
# Many of the stylistic alternates are applied automatically by
# calt, but they can also be manually selected here.
#
feature salt {
lookup Stylistic_Alternates;
} salt;
#
# For Word users, provides access to the first of each class in salt.
#
feature ss18 {
lookup Pseudo_salt;
} ss18;
#
# Many rules. They're a mix of pseudo-random alternates, alternates
# that fit better in context, and pseudo-ligatures.
#
feature calt {
lookup ContextualAlternates_c;
lookup ContextualAlternates_t;
lookup ContextualAlternates_gf;
lookup ContextualAlternates_e;
lookup Contextual_Alternates_misc;
lookup ContextualAlternates_a;
lookup ContextualAlternates_smcp;
lookup ContextualAlternates_eth;
} calt;
#
# Ligatures that are not inconsistent with modern usage, but
# might be confusing to readers.
#
feature dlig {
lookup Discretionary_Ligatures;
} dlig;
#
# Ligatures that would appear only in a medieval context.
#
feature hlig {
lookup Historic_Ligatures;
} hlig;
#
# Standard Ligatures
#
feature liga {
lookup Standard_Ligatures_1;
lookup Standard_Ligatures_2;
} liga;
# GPOS
#
# There are two kern subtables: the second for rustic capitals (small caps), and the
# first for everything else.
#
lookup kern_standard {
lookupflag IgnoreMarks;
@kc37_first_1 = [\a \aacute \adieresis \amacron \g_a \a.alt01 \e_r_a \uni1EA1 \ae_r_a ];
@kc37_first_2 = [\e_a ];
@kc37_first_3 = [\c \uni00630323 ];
@kc37_first_4 = [\c.alt ];
@kc37_first_5 = [\d \uni1E0D ];
@kc37_first_6 = [\e \uni1EB9 \ae \aeacute \uni01E3 ];
@kc37_first_7 = [\e.alt02 ];
@kc37_first_8 = [\e.alt04 ];
@kc37_first_9 = [\f \f.alt1 \f_f.alt \uni00660323 \uniFB00 \f.alt3 ];
@kc37_first_10 = [\f_a \f_f_a ];
@kc37_first_11 = [\g ];
@kc37_first_12 = [\g.alt2 ];
@kc37_first_13 = [\h \uni1E25 ];
@kc37_first_14 = [\i \longs_i \e_r_i \e_r_dotlessi \e_longs_i \t_i \t_dotlessi \longs_t_i \uniFB01
\f_i.alt \dotlessi \e_i \e_dotlessi \longs_longs_i \e_longs_longs_i
\i.alt \dotlessi.alt \uni1ECB \ae_i \ae_dotlessi \ae_longs_longs_i
\ae_longs_i ];
@kc37_first_15 = [\j \f_j \uni0237 \j.alt \e_j \uni006A0323 ];
@kc37_first_16 = [\k \uni1E33 ];
@kc37_first_17 = [\l \uni1E37 ];
@kc37_first_18 = [\longs \e_longs_longs \longs_longs \ae_longs \ae_longs_longs ];
@kc37_first_19 = [\n \m \uni1E43 \uni1E47 \e_n \e_m \r_n \e_r_n \ae_n \ae_m ];
@kc37_first_20 = [\o \e_o \g_o \f_o \uni1ECD \eth \eth.alt ];
@kc37_first_21 = [\p \e_p \b \uni00700323 \uni1E05 \ae_p ];
@kc37_first_22 = [\quoteleft \quotedblleft ];
@kc37_first_23 = [\r \e_r \r.alt \f_r \uni1E5B \ae_r ];
@kc37_first_24 = [\s \uni1E63 ];
@kc37_first_25 = [\t \e_t \c_t \uniFB05 \uni1E6D \ae_t \ae_longs_t \ae_t_t ];
@kc37_first_26 = [\t.alt \t_t \e_t_t \t.alt2 \e_t.alt2 ];
@kc37_first_27 = [\thorn \uni01BF ];
@kc37_first_28 = [\u \uacute \udieresis \umacron \uni1EE5 \e_u w.alt \t_u \f_u \f_u.alt \f_f_u
\e_t_u \r_t_u \u.alt ];
@kc37_first_29 = [\v \w \uni1E7F \uni1E89 ];
@kc37_first_30 = [\x \e_x \xdotbelowcomb ];
@kc37_first_31 = [\y \yacute \ydieresis \uni0233 \uni1E8F \uni1EF5 ];
@kc37_first_32 = [\y.alt \uni1E8F.alt \r_t_y \r_t_uni1E8F \g_y ];
@kc37_first_33 = [\z \uni1E93 ];
@kc37_first_34 = [\A ];
@kc37_first_35 = [\L ];
@kc37_first_36 = [\P ];
@kc37_first_37 = [\T ];
@kc37_first_38 = [\V \W \W.medieval1 ];
@kc37_first_39 = [\Y \Y.alt \uni1E8E.alt ];
@kc37_first_40 = [\A.titling ];
@kc37_first_41 = [\A.titling1 ];
@kc37_first_42 = [\B.titling ];
@kc37_first_43 = [\D.titling \Eth.titling \O.titling ];
@kc37_first_44 = [\C.titling ];
@kc37_first_45 = [\H.titling ];
@kc37_first_46 = [\K.titling ];
@kc37_first_47 = [\L.titling ];
@kc37_first_48 = [\M.alt ];
@kc37_first_49 = [\P.titling ];
@kc37_first_50 = [\R.titling ];
@kc37_first_51 = [\T.titling ];
@kc37_first_52 = [\Thorn.titling ];
@kc37_first_53 = [\V.titling \W.titling1 ];
@kc37_first_54 = [\W.titling ];
@kc37_first_55 = [\X.titling ];
@kc37_first_56 = [\Y.titling ];
@kc37_first_57 = [\uniA75B \o_uniA75B ];
@kc37_first_58 = [\zero ];
@kc37_first_59 = [\one ];
@kc37_first_60 = [\two ];
@kc37_first_61 = [\three ];
@kc37_first_62 = [\four ];
@kc37_first_63 = [\five ];
@kc37_first_64 = [\six ];
@kc37_first_65 = [\seven ];
@kc37_first_66 = [\eight ];
@kc37_first_67 = [\nine ];
@kc37_first_68 = [\hyphen \endash \emdash ];
@kc37_first_69 = [\hyphen.titling \endash.titling \emdash.titling ];
@kc37_first_70 = [\quoteright ];
@kc37_second_1 = [\a \aacute \adieresis \amacron \a.alt02 \uni1EA1 \a.swash \ae \ae_t \ae_i
\ae_dotlessi \ae_n \ae_m \ae_r \ae_p \ae_uni01BF \ae_longs
\ae_longs_longs \ae_longs_longs_i \ae_longs_t \ae_longs_i \ae_r_a
\ae_t_t \ae.alt \aeacute \uni01E3 ];
@kc37_second_2 = [\a.alt01 ];
@kc37_second_3 = [\b ];
@kc37_second_4 = [\c \c.alt \uni00630323 ];
@kc37_second_5 = [\d \uni1E0D ];
@kc37_second_6 = [\e \e.alt01 \e_n \e_m \e_p \e_t_u \e_a \e_t \e_x \e_r_i \e_r_dotlessi \e_r_n
\uni1E8F.sc \e_u \e_longs_i \e_longs \e_r_a.alt \e_o \e_r \e_t.alt
\eacute \edieresis \emacron \e_i \e_dotlessi \e_t_i \e_t_dotlessi
\e_longs_t \e_longs_longs \e_longs_longs_i \e.alt02 \e_e \e.alt03
\e_t_t \e_r_a \uni1EB9 ];
@kc37_second_7 = [\e.alt04 ];
@kc37_second_8 = [\f \f_t \f_u \f_r \f_o \f_a \uniFB01 \uniFB02 \f_f_a \f_f.alt \f_f_u
\uni00660323 \f.alt1 ];
@kc37_second_9 = [\g \g.alt1 \g.alt2 \g_o \g_a \uni00670323 \g_y ];
@kc37_second_10 = [\h \uni1E25 ];
@kc37_second_11 = [\i \iacute \idieresis \imacron \dotlessi \uni1ECB ];
@kc37_second_12 = [\j ];
@kc37_second_13 = [\l \uni019A \uni1E37 ];
@kc37_second_14 = [\longs \longs_i \longs_t_dotlessi \longs_t_i ];
@kc37_second_15 = [\m \n ];
@kc37_second_16 = [\o \oacute \odieresis \omacron \o_uniA75B \uni1ECD ];
@kc37_second_17 = [\p \p.alt \uni00700323 ];
@kc37_second_18 = [\quotedblright \quoteright ];
@kc37_second_19 = [\quotedbl \quotesingle ];
@kc37_second_20 = [\r \uni1E5B ];
@kc37_second_21 = [\s \uni1E63 ];
@kc37_second_22 = [\t \t_u \t_i \t_dotlessi \t.alt \t.swash \t_t \uni1E6D ];
@kc37_second_23 = [\u \uacute \udieresis \umacron \uni1EE5 ];
@kc37_second_24 = [\v \w \uni1E7F \uni1E89 ];
@kc37_second_25 = [\x \xdotbelowcomb ];
@kc37_second_26 = [\y \yacute \ydieresis \uni1EF5 \uni1E8F ];
@kc37_second_27 = [\y.alt \uni1E8F.alt ];
@kc37_second_28 = [\z \uni1E93 ];
@kc37_second_29 = [\V \W ];
@kc37_second_30 = [\B ];
@kc37_second_31 = [\H ];