summaryrefslogtreecommitdiff
path: root/tex/context/base/mkii/type-one.mkii
blob: d5e281ff7453d969203a5dffa3dcae61ba2d3efd (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
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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
%D \module
%D   [       file=type-one,
%D        version=2007.07.30,
%D          title=\CONTEXT\ Typescript Macros,
%D       subtitle=Type One Definitions,
%D         author=Hans Hagen,
%D           date=\currentdate,
%D      copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.

%D This file merges the traditional enc, syn and map files into one. If
%D you think that it looks messy you're right. It shows some history of
%D \TEX\ fonts and the development towards latin modern.

% texfont --ven=public --col=antt     --enc=ec --sou=auto
% texfont --ven=public --col=antp     --enc=ec --sou=auto
% texfont --ven=urw    --col=palatino --enc=ec --sou=auto
% texfont --ven-lucas  --col=sun      --enc=ec --sou=.

% \usetypescript [all] [modern] [texnansi]
% \setupbodyfont[reset] \setupbodyfont[cmr]
% \starttext \showfont[Serif] \stoptext

\starttypescriptcollection[latinmodern]

    \starttypescript [map] [all]
        \loadmapfile[original-base.map]
        \loadmapfile[original-ams-base.map]
    \stoptypescript

    \starttypescript[all][modern,latin-modern][all]
        % fallbacks, no math in latin modern
        \definefontsynonym[lmdunh10][cmdunh10]
        \definefontsynonym[lmff10]  [cmff10]
        \definefontsynonym[lmfi10]  [cmfi10]
        \definefontsynonym[lmfib8]  [cmfib8]
        \definefontsynonym[lmtex10] [cmtex10]
        \definefontsynonym[lmtex8]  [cmtex8]
        \definefontsynonym[lmtex9]  [cmtex9]
        \loadmapfile[original-public-lm.map]
    \stoptypescript

    \starttypescript [serif] [modern,latin-modern] [texnansi,ec,qx,t5]
        \definefontsynonym [LMRoman5-Regular]         [\typescriptthree-lmr5]     [encoding=\typescriptthree]
        \definefontsynonym [LMRoman6-Regular]         [\typescriptthree-lmr6]     [encoding=\typescriptthree]
        \definefontsynonym [LMRoman7-Regular]         [\typescriptthree-lmr7]     [encoding=\typescriptthree]
        \definefontsynonym [LMRoman8-Regular]         [\typescriptthree-lmr8]     [encoding=\typescriptthree]
        \definefontsynonym [LMRoman9-Regular]         [\typescriptthree-lmr9]     [encoding=\typescriptthree]
        \definefontsynonym [LMRoman10-Regular]        [\typescriptthree-lmr10]    [encoding=\typescriptthree]
        \definefontsynonym [LMRoman12-Regular]        [\typescriptthree-lmr12]    [encoding=\typescriptthree]
        \definefontsynonym [LMRoman17-Regular]        [\typescriptthree-lmr17]    [encoding=\typescriptthree]
        \definefontsynonym [LMRoman5-Bold]            [\typescriptthree-lmbx5]    [encoding=\typescriptthree]
        \definefontsynonym [LMRoman6-Bold]            [\typescriptthree-lmbx6]    [encoding=\typescriptthree]
        \definefontsynonym [LMRoman7-Bold]            [\typescriptthree-lmbx7]    [encoding=\typescriptthree]
        \definefontsynonym [LMRoman8-Bold]            [\typescriptthree-lmbx8]    [encoding=\typescriptthree]
        \definefontsynonym [LMRoman9-Bold]            [\typescriptthree-lmbx9]    [encoding=\typescriptthree]
        \definefontsynonym [LMRoman10-Bold]           [\typescriptthree-lmbx10]   [encoding=\typescriptthree]
        \definefontsynonym [LMRoman12-Bold]           [\typescriptthree-lmbx12]   [encoding=\typescriptthree]
        \definefontsynonym [LMRoman7-Italic]          [\typescriptthree-lmri7]    [encoding=\typescriptthree]
        \definefontsynonym [LMRoman8-Italic]          [\typescriptthree-lmri8]    [encoding=\typescriptthree]
        \definefontsynonym [LMRoman9-Italic]          [\typescriptthree-lmri9]    [encoding=\typescriptthree]
        \definefontsynonym [LMRoman10-Italic]         [\typescriptthree-lmri10]   [encoding=\typescriptthree]
        \definefontsynonym [LMRoman12-Italic]         [\typescriptthree-lmri12]   [encoding=\typescriptthree]
        \definefontsynonym [LMRoman10-BoldItalic]     [\typescriptthree-lmbxi10]  [encoding=\typescriptthree]
        \definefontsynonym [LMRoman8-Oblique]         [\typescriptthree-lmro8]    [encoding=\typescriptthree]
        \definefontsynonym [LMRoman9-Oblique]         [\typescriptthree-lmro9]    [encoding=\typescriptthree]
        \definefontsynonym [LMRoman10-Oblique]        [\typescriptthree-lmro10]   [encoding=\typescriptthree]
        \definefontsynonym [LMRoman12-Oblique]        [\typescriptthree-lmro12]   [encoding=\typescriptthree]
        \definefontsynonym [LMRoman17-Oblique]        [\typescriptthree-lmro17]   [encoding=\typescriptthree]
        \definefontsynonym [LMRoman10-BoldOblique]    [\typescriptthree-lmbxo10]  [encoding=\typescriptthree]
        \definefontsynonym [LMRoman10-Demi]           [\typescriptthree-lmb10]    [encoding=\typescriptthree]
        \definefontsynonym [LMRoman10-DemiOblique]    [\typescriptthree-lmbo10]   [encoding=\typescriptthree]
        \definefontsynonym [LMRoman10-CapsRegular]    [\typescriptthree-lmcsc10]  [encoding=\typescriptthree]
        \definefontsynonym [LMRoman10-CapsOblique]    [\typescriptthree-lmcsco10] [encoding=\typescriptthree]

        \definefontsynonym [LMRoman10-Dunhill]        [\typescriptthree-lmdunh10] [encoding=\typescriptthree]
        \definefontsynonym [LMRoman10-DunhillOblique] [\typescriptthree-lmduno10] [encoding=\typescriptthree]
        \loadmapfile[lm-\typescriptthree.map]
    \stoptypescript

    \starttypescript [sans] [modern,latin-modern] [texnansi,ec,qx,t5]
        \definefontsynonym [LMSans8-Regular]               [\typescriptthree-lmss8]    [encoding=\typescriptthree]
        \definefontsynonym [LMSans9-Regular]               [\typescriptthree-lmss9]    [encoding=\typescriptthree]
        \definefontsynonym [LMSans10-Regular]              [\typescriptthree-lmss10]   [encoding=\typescriptthree]
        \definefontsynonym [LMSans12-Regular]              [\typescriptthree-lmss12]   [encoding=\typescriptthree]
        \definefontsynonym [LMSans17-Regular]              [\typescriptthree-lmss17]   [encoding=\typescriptthree]
        \definefontsynonym [LMSans10-Bold]                 [\typescriptthree-lmssbx10] [encoding=\typescriptthree]
        \definefontsynonym [LMSans8-Oblique]               [\typescriptthree-lmsso8]   [encoding=\typescriptthree]
        \definefontsynonym [LMSans9-Oblique]               [\typescriptthree-lmsso9]   [encoding=\typescriptthree]
        \definefontsynonym [LMSans10-Oblique]              [\typescriptthree-lmsso10]  [encoding=\typescriptthree]
        \definefontsynonym [LMSans12-Oblique]              [\typescriptthree-lmsso12]  [encoding=\typescriptthree]
        \definefontsynonym [LMSans17-Oblique]              [\typescriptthree-lmsso17]  [encoding=\typescriptthree]
        \definefontsynonym [LMSans10-BoldOblique]          [\typescriptthree-lmssbo10] [encoding=\typescriptthree]
        \definefontsynonym [LMSans10-DemiCondensed]        [\typescriptthree-lmssdc10] [encoding=\typescriptthree]
        \definefontsynonym [LMSans10-DemiCondensedOblique] [\typescriptthree-lmssdo10] [encoding=\typescriptthree]
        \definefontsynonym [LMSansQuotation8-Regular]      [\typescriptthree-lmssq8]   [encoding=\typescriptthree]
        \definefontsynonym [LMSansQuotation8-Bold]         [\typescriptthree-lmssqbx8] [encoding=\typescriptthree]
        \definefontsynonym [LMSansQuotation8-Oblique]      [\typescriptthree-lmssqo8]  [encoding=\typescriptthree]
        \definefontsynonym [LMSansQuotation8-BoldOblique]  [\typescriptthree-lmssqbo8] [encoding=\typescriptthree]
        \loadmapfile[lm-\typescriptthree.map]
    \stoptypescript

    \starttypescript [mono] [modern,latin-modern,modern-vari,latin-modern-vari,modern-cond,latin-modern-cond] [texnansi,ec,qx,t5]
        \definefontsynonym [LMTypewriter8-Regular]                [\typescriptthree-lmtt8]    [encoding=\typescriptthree]
        \definefontsynonym [LMTypewriter9-Regular]                [\typescriptthree-lmtt9]    [encoding=\typescriptthree]
        \definefontsynonym [LMTypewriter10-Regular]               [\typescriptthree-lmtt10]   [encoding=\typescriptthree]
        \definefontsynonym [LMTypewriter12-Regular]               [\typescriptthree-lmtt12]   [encoding=\typescriptthree]
        \definefontsynonym [LMTypewriter10-Italic]                [\typescriptthree-lmtti10]  [encoding=\typescriptthree]
        \definefontsynonym [LMTypewriter10-Oblique]               [\typescriptthree-lmtto10]  [encoding=\typescriptthree]
        \definefontsynonym [LMTypewriter10-CapsRegular]           [\typescriptthree-lmtcsc10] [encoding=\typescriptthree]
        \definefontsynonym [LMTypewriter10-CapsOblique]           [\typescriptthree-lmtcso10] [encoding=\typescriptthree]
        \definefontsynonym [LMTypewriter10-Light]                 [\typescriptthree-lmtl10]   [encoding=\typescriptthree]
        \definefontsynonym [LMTypewriter10-LightOblique]          [\typescriptthree-lmtlo10]  [encoding=\typescriptthree]
        \definefontsynonym [LMTypewriter10-LightCondensed]        [\typescriptthree-lmtlc10]  [encoding=\typescriptthree]
        \definefontsynonym [LMTypewriter10-LightCondensedOblique] [\typescriptthree-lmtlco10] [encoding=\typescriptthree]
        \definefontsynonym [LMTypewriter10-Dark]                  [\typescriptthree-lmtk10]   [encoding=\typescriptthree]
        \definefontsynonym [LMTypewriter10-DarkOblique]           [\typescriptthree-lmtko10]  [encoding=\typescriptthree]
        \definefontsynonym [LMTypewriter10-Unslanted]             [\typescriptthree-lmu10]    [encoding=\typescriptthree]
        \definefontsynonym [LMTypewriterVarWd10-Regular]          [\typescriptthree-lmvtt10]  [encoding=\typescriptthree]
        \definefontsynonym [LMTypewriterVarWd10-Oblique]          [\typescriptthree-lmvtto10] [encoding=\typescriptthree]
        \definefontsynonym [LMTypewriterVarWd10-Light]            [\typescriptthree-lmvtl10]  [encoding=\typescriptthree]
        \definefontsynonym [LMTypewriterVarWd10-LightOblique]     [\typescriptthree-lmvtlo10] [encoding=\typescriptthree]
        \definefontsynonym [LMTypewriterVarWd10-Dark]             [\typescriptthree-lmvtk10]  [encoding=\typescriptthree]
        \definefontsynonym [LMTypewriterVarWd10-DarkOblique]      [\typescriptthree-lmvtko10] [encoding=\typescriptthree]
        \loadmapfile[lm-\typescriptthree.map]
    \stoptypescript

    \starttypescript [math] [modern,latin-modern]
        \definefontsynonym [LMMathRoman5-Regular]      [rm-lmr5]
        \definefontsynonym [LMMathRoman6-Regular]      [rm-lmr6]
        \definefontsynonym [LMMathRoman7-Regular]      [rm-lmr7]
        \definefontsynonym [LMMathRoman8-Regular]      [rm-lmr8]
        \definefontsynonym [LMMathRoman9-Regular]      [rm-lmr9]
        \definefontsynonym [LMMathRoman10-Regular]     [rm-lmr10]
        \definefontsynonym [LMMathRoman12-Regular]     [rm-lmr12]
        \definefontsynonym [LMMathRoman17-Regular]     [rm-lmr17]
        \definefontsynonym [LMMathRoman5-Bold]         [rm-lmbx5]
        \definefontsynonym [LMMathRoman6-Bold]         [rm-lmbx6]
        \definefontsynonym [LMMathRoman7-Bold]         [rm-lmbx7]
        \definefontsynonym [LMMathRoman8-Bold]         [rm-lmbx8]
        \definefontsynonym [LMMathRoman9-Bold]         [rm-lmbx9]
        \definefontsynonym [LMMathRoman10-Bold]        [rm-lmbx10]
        \definefontsynonym [LMMathRoman12-Bold]        [rm-lmbx12]
        \definefontsynonym [LMMathSymbols5-BoldItalic] [lmbsy5]
        \definefontsynonym [LMMathSymbols7-BoldItalic] [lmbsy7]
        \definefontsynonym [LMMathSymbols10-BoldItalic][lmbsy10]
        \definefontsynonym [LMMathSymbols5-Italic]     [lmsy5]
        \definefontsynonym [LMMathSymbols6-Italic]     [lmsy6]
        \definefontsynonym [LMMathSymbols7-Italic]     [lmsy7]
        \definefontsynonym [LMMathSymbols8-Italic]     [lmsy8]
        \definefontsynonym [LMMathSymbols9-Italic]     [lmsy9]
        \definefontsynonym [LMMathSymbols10-Italic]    [lmsy10]
        \definefontsynonym [LMMathExtension10-Regular] [lmex10]
        \definefontsynonym [LMMathItalic5-Italic]      [lmmi5]
        \definefontsynonym [LMMathItalic6-Italic]      [lmmi6]
        \definefontsynonym [LMMathItalic7-Italic]      [lmmi7]
        \definefontsynonym [LMMathItalic8-Italic]      [lmmi8]
        \definefontsynonym [LMMathItalic9-Italic]      [lmmi9]
        \definefontsynonym [LMMathItalic10-Italic]     [lmmi10]
        \definefontsynonym [LMMathItalic12-Italic]     [lmmi12]
        \definefontsynonym [LMMathItalic5-BoldItalic]  [lmmib5]
        \definefontsynonym [LMMathItalic7-BoldItalic]  [lmmib7]
        \definefontsynonym [LMMathItalic10-BoldItalic] [lmmib10]
        \usemathcollection[default]
        \loadmapfile[lm-math.map]
        \loadmapfile[lm-rm.map]
    \stoptypescript

    %D {\em Comments by Victor Figurnov:} the wcmb10, wcmbx10,
    %D \unknown\ fonts below are taken from the Paradissa
    %D collection by Basil Malyshev. These fonts don't conform t2a
    %D encoding but are in MS Windows Cyrillic codepage 1251
    %D encoding. These fonts contain only 33 russian letters in
    %D upper and lower case, the number sign, and guillemots. But
    %D even among these characters only the basic 32 russian
    %D letters (in upper and lower case) will be typeset correctly
    %D with this definition. The letters cyrillicYO and
    %D cyrillicyo, as well as number sign (textnumero) and
    %D guillemots won't be typeset properly, because these symbols
    %D have different positions in t2a and MS CP1251 encodings.
    %D
    %D I think that the russian lh fonts and|/|or cm-super provide
    %D better alternatives (type1). Therefore, the names below
    %D match those of cm-super (\type {0NNN} instead of \type
    %D {NNN}, i.e.\ four digit numbers).

    \starttypescript [serif] [computer-modern] [cyr]
        \definefontsynonym [cmb10]    [wcmb10]    [encoding=t2a]
        \definefontsynonym [cmbsy10]  [wcmbsy10]  [encoding=t2a]
        \definefontsynonym [cmbx10]   [wcmbx10]   [encoding=t2a]
        \definefontsynonym [cmbx12]   [wcmbx12]   [encoding=t2a]
        \definefontsynonym [cmbx5]    [wcmbx5]    [encoding=t2a]
        \definefontsynonym [cmbx6]    [wcmbx6]    [encoding=t2a]
        \definefontsynonym [cmbx7]    [wcmbx7]    [encoding=t2a]
        \definefontsynonym [cmbx8]    [wcmbx8]    [encoding=t2a]
        \definefontsynonym [cmbx9]    [wcmbx9]    [encoding=t2a]
        \definefontsynonym [cmbxsl10] [wcmbxsl10] [encoding=t2a]
        \definefontsynonym [cmbxti10] [wcmbxti10] [encoding=t2a]
        \definefontsynonym [cmcsc10]  [wcmcsc10]  [encoding=t2a]
        %definefontsynonym [cmdunh10] [wcmdunh10] [encoding=t2a]
        \definefontsynonym [cminch]   [wcminch]   [encoding=t2a]
        \definefontsynonym [cmr10]    [wcmr10]    [encoding=t2a]
        \definefontsynonym [cmr12]    [wcmr12]    [encoding=t2a]
        \definefontsynonym [cmr17]    [wcmr17]    [encoding=t2a]
        \definefontsynonym [cmr5]     [wcmr5]     [encoding=t2a]
        \definefontsynonym [cmr6]     [wcmr6]     [encoding=t2a]
        \definefontsynonym [cmr7]     [wcmr7]     [encoding=t2a]
        \definefontsynonym [cmr8]     [wcmr8]     [encoding=t2a]
        \definefontsynonym [cmr9]     [wcmr9]     [encoding=t2a]
        \definefontsynonym [cmsl10]   [wcmsl10]   [encoding=t2a]
        \definefontsynonym [cmsl12]   [wcmsl12]   [encoding=t2a]
        \definefontsynonym [cmsl8]    [wcmsl8]    [encoding=t2a]
        \definefontsynonym [cmsl9]    [wcmsl9]    [encoding=t2a]
        \definefontsynonym [cmti10]   [wcmti10]   [encoding=t2a]
        \definefontsynonym [cmti12]   [wcmti12]   [encoding=t2a]
        \definefontsynonym [cmti7]    [wcmti7]    [encoding=t2a]
        \definefontsynonym [cmti8]    [wcmti8]    [encoding=t2a]
        \definefontsynonym [cmti9]    [wcmti9]    [encoding=t2a]
        \definefontsynonym [cmu10]    [wcmu10]    [encoding=t2a]
    \stoptypescript

    \starttypescript [sans] [computer-modern] [cyr]
        \definefontsynonym [cmss10]   [wcmss10]   [encoding=t2a]
        \definefontsynonym [cmss12]   [wcmss12]   [encoding=t2a]
        \definefontsynonym [cmss17]   [wcmss17]   [encoding=t2a]
        \definefontsynonym [cmss8]    [wcmss8]    [encoding=t2a]
        \definefontsynonym [cmss9]    [wcmss9]    [encoding=t2a]
        %definefontsynonym [cmssbi10] [wcmssbi10] [encoding=t2a]
        \definefontsynonym [cmssbx10] [wcmssbx10] [encoding=t2a]
        \definefontsynonym [cmssdc10] [wcmssdc10] [encoding=t2a]
        \definefontsynonym [cmssi10]  [wcmssi10]  [encoding=t2a]
        \definefontsynonym [cmssi12]  [wcmssi12]  [encoding=t2a]
        \definefontsynonym [cmssi17]  [wcmssi17]  [encoding=t2a]
        \definefontsynonym [cmssi8]   [wcmssi8]   [encoding=t2a]
        \definefontsynonym [cmssi9]   [wcmssi9]   [encoding=t2a]
        \definefontsynonym [cmssq8]   [wcmssq8]   [encoding=t2a]
        \definefontsynonym [cmssqi8]  [wcmssqi8]  [encoding=t2a]
    \stoptypescript

    \starttypescript [mono] [computer-modern] [cyr]
        \definefontsynonym [cmitt10]  [wcmitt10]  [encoding=t2a]
        \definefontsynonym [cmsltt10] [wcmsltt10] [encoding=t2a]
        \definefontsynonym [cmtt10]   [wcmtt10]   [encoding=t2a]
        \definefontsynonym [cmtt12]   [wcmtt12]   [encoding=t2a]
        \definefontsynonym [cmtt8]    [wcmtt8]    [encoding=t2a]
        \definefontsynonym [cmtt9]    [wcmtt9]    [encoding=t2a]
        %definefontsynonym [cmvtt10]  [wcmvtt10]  [encoding=t2a]
    \stoptypescript

    \definetypescriptprefix [c:t2a] [la]
    \definetypescriptprefix [c:t2b] [lb]
    \definetypescriptprefix [c:t2c] [lc]
    \definetypescriptprefix [c:x2]  [rx]

    \starttypescript [all] [computer-modern] [t2a,t2b,t2c,x2]
        \loadmapfile[subset-cmsuper-\typescriptthree.map]
        \loadmapfile[subset-cmsuper-\typescriptthree.map]
        \loadmapfile[cm-super-\typescriptthree.map]
    \stoptypescript

    \starttypescript [serif] [computer-modern] [t2a,t2b,t2c,x2]
        \definefontsynonym [cmb10]    [\typescriptprefix{c:\typescriptthree}rb1000]   [encoding=\typescriptthree]
        \definefontsynonym [cmbx10]   [\typescriptprefix{c:\typescriptthree}bx1000]   [encoding=\typescriptthree]
        \definefontsynonym [cmbx12]   [\typescriptprefix{c:\typescriptthree}bx1200]   [encoding=\typescriptthree]
        \definefontsynonym [cmbx5]    [\typescriptprefix{c:\typescriptthree}bx0500]   [encoding=\typescriptthree]
        \definefontsynonym [cmbx6]    [\typescriptprefix{c:\typescriptthree}bx0600]   [encoding=\typescriptthree]
        \definefontsynonym [cmbx7]    [\typescriptprefix{c:\typescriptthree}bx0700]   [encoding=\typescriptthree]
        \definefontsynonym [cmbx8]    [\typescriptprefix{c:\typescriptthree}bx0800]   [encoding=\typescriptthree]
        \definefontsynonym [cmbx9]    [\typescriptprefix{c:\typescriptthree}bx0900]   [encoding=\typescriptthree]
        \definefontsynonym [cmbxsl10] [\typescriptprefix{c:\typescriptthree}bl1000]   [encoding=\typescriptthree]
        \definefontsynonym [cmbxti10] [\typescriptprefix{c:\typescriptthree}bi1000]   [encoding=\typescriptthree]
        \definefontsynonym [cmcsc10]  [\typescriptprefix{c:\typescriptthree}cc1000]   [encoding=\typescriptthree]
        \definefontsynonym [cmdunh10] [\typescriptprefix{c:\typescriptthree}dh1000]   [encoding=\typescriptthree]
        \definefontsynonym [cmff10]   [\typescriptprefix{c:\typescriptthree}ff1000]   [encoding=\typescriptthree]
        \definefontsynonym [cmfi10]   [\typescriptprefix{c:\typescriptthree}fi1000]   [encoding=\typescriptthree]
        \definefontsynonym [cmfib8]   [\typescriptprefix{c:\typescriptthree}fb0800]   [encoding=\typescriptthree]
       %\definefontsynonym [cminch]   [\typescriptprefix{c:\typescriptthree}inch00]   [encoding=\typescriptthree]
        \definefontsynonym [cmr10]    [\typescriptprefix{c:\typescriptthree}rm1000]   [encoding=\typescriptthree]
        \definefontsynonym [cmr12]    [\typescriptprefix{c:\typescriptthree}rm1200]   [encoding=\typescriptthree]
        \definefontsynonym [cmr17]    [\typescriptprefix{c:\typescriptthree}rm1700]   [encoding=\typescriptthree]
        \definefontsynonym [cmr5]     [\typescriptprefix{c:\typescriptthree}rm0500]   [encoding=\typescriptthree]
        \definefontsynonym [cmr6]     [\typescriptprefix{c:\typescriptthree}rm0600]   [encoding=\typescriptthree]
        \definefontsynonym [cmr7]     [\typescriptprefix{c:\typescriptthree}rm0700]   [encoding=\typescriptthree]
        \definefontsynonym [cmr8]     [\typescriptprefix{c:\typescriptthree}rm0800]   [encoding=\typescriptthree]
        \definefontsynonym [cmr9]     [\typescriptprefix{c:\typescriptthree}rm0900]   [encoding=\typescriptthree]
        \definefontsynonym [cmsl10]   [\typescriptprefix{c:\typescriptthree}sl1000]   [encoding=\typescriptthree]
        \definefontsynonym [cmsl12]   [\typescriptprefix{c:\typescriptthree}sl1200]   [encoding=\typescriptthree]
        \definefontsynonym [cmsl8]    [\typescriptprefix{c:\typescriptthree}sl0800]   [encoding=\typescriptthree]
        \definefontsynonym [cmsl9]    [\typescriptprefix{c:\typescriptthree}sl0900]   [encoding=\typescriptthree]
        \definefontsynonym [cmtcsc10] [\typescriptprefix{c:\typescriptthree}tc1000]   [encoding=\typescriptthree]
        \definefontsynonym [cmti10]   [\typescriptprefix{c:\typescriptthree}ti1000]   [encoding=\typescriptthree]
        \definefontsynonym [cmti12]   [\typescriptprefix{c:\typescriptthree}ti1200]   [encoding=\typescriptthree]
        \definefontsynonym [cmti7]    [\typescriptprefix{c:\typescriptthree}ti0700]   [encoding=\typescriptthree]
        \definefontsynonym [cmti8]    [\typescriptprefix{c:\typescriptthree}ti0800]   [encoding=\typescriptthree]
        \definefontsynonym [cmti9]    [\typescriptprefix{c:\typescriptthree}ti0900]   [encoding=\typescriptthree]
        \definefontsynonym [cmu10]    [\typescriptprefix{c:\typescriptthree}ui1000]   [encoding=\typescriptthree]
    \stoptypescript

    \starttypescript [sans] [computer-modern] [t2a,t2b,t2c,x2]
        \definefontsynonym [cmss10]   [\typescriptprefix{c:\typescriptthree}ss1000]   [encoding=\typescriptthree]
        \definefontsynonym [cmss12]   [\typescriptprefix{c:\typescriptthree}ss1200]   [encoding=\typescriptthree]
        \definefontsynonym [cmss17]   [\typescriptprefix{c:\typescriptthree}ss1700]   [encoding=\typescriptthree]
        \definefontsynonym [cmss8]    [\typescriptprefix{c:\typescriptthree}ss0800]   [encoding=\typescriptthree]
        \definefontsynonym [cmss9]    [\typescriptprefix{c:\typescriptthree}ss0900]   [encoding=\typescriptthree]
        \definefontsynonym [cmssbx10] [\typescriptprefix{c:\typescriptthree}sx1000]   [encoding=\typescriptthree]
       %\definefontsynonym [cmssdc10] [\typescriptprefix{c:\typescriptthree}ssdc1000] [encoding=\typescriptthree]
        \definefontsynonym [cmssi10]  [\typescriptprefix{c:\typescriptthree}si1000]   [encoding=\typescriptthree]
        \definefontsynonym [cmssi12]  [\typescriptprefix{c:\typescriptthree}si1200]   [encoding=\typescriptthree]
        \definefontsynonym [cmssi17]  [\typescriptprefix{c:\typescriptthree}si1700]   [encoding=\typescriptthree]
        \definefontsynonym [cmssi8]   [\typescriptprefix{c:\typescriptthree}si0800]   [encoding=\typescriptthree]
        \definefontsynonym [cmssi9]   [\typescriptprefix{c:\typescriptthree}si0900]   [encoding=\typescriptthree]
        \definefontsynonym [cmssq8]   [\typescriptprefix{c:\typescriptthree}ss0800]   [encoding=\typescriptthree]
        \definefontsynonym [cmssqi8]  [\typescriptprefix{c:\typescriptthree}si0800]   [encoding=\typescriptthree]
    \stoptypescript

    \starttypescript [mono] [computer-modern] [t2a,t2b,t2c,x2]
        \definefontsynonym [cmitt10]  [\typescriptprefix{c:\typescriptthree}it1000]   [encoding=\typescriptthree]
        \definefontsynonym [cmsltt10] [\typescriptprefix{c:\typescriptthree}st1000]   [encoding=\typescriptthree]
        \definefontsynonym [cmtt10]   [\typescriptprefix{c:\typescriptthree}tt1000]   [encoding=\typescriptthree]
        \definefontsynonym [cmtt12]   [\typescriptprefix{c:\typescriptthree}tt1200]   [encoding=\typescriptthree]
        \definefontsynonym [cmtt8]    [\typescriptprefix{c:\typescriptthree}tt0800]   [encoding=\typescriptthree]
        \definefontsynonym [cmtt9]    [\typescriptprefix{c:\typescriptthree}tt0900]   [encoding=\typescriptthree]
        \definefontsynonym [cmvtt10]  [\typescriptprefix{c:\typescriptthree}vt1000]   [encoding=\typescriptthree]
    \stoptypescript

    \starttypescript [serif] [computer-modern] [lcy]
        \definefontsynonym [cmb10]    [lhb10]    [encoding=lcy]
        \definefontsynonym [cmbx10]   [lhbx10]   [encoding=lcy]
        \definefontsynonym [cmbx12]   [lhbx12]   [encoding=lcy]
        \definefontsynonym [cmbx5]    [lhbx5]    [encoding=lcy]
        \definefontsynonym [cmbx6]    [lhbx6]    [encoding=lcy]
        \definefontsynonym [cmbx7]    [lhbx7]    [encoding=lcy]
        \definefontsynonym [cmbx8]    [lhbx8]    [encoding=lcy]
        \definefontsynonym [cmbx9]    [lhbx9]    [encoding=lcy]
        \definefontsynonym [cmbxsl10] [lhbxsl10] [encoding=lcy]
        \definefontsynonym [cmbxti10] [lhbxti10] [encoding=lcy]
        \definefontsynonym [cmcsc10]  [lhcsc10]  [encoding=lcy]
        \definefontsynonym [cmdunh10] [lhdunh10] [encoding=lcy]
        \definefontsynonym [cmff10]   [lhff10]   [encoding=lcy]
        \definefontsynonym [cmfi10]   [lhfi10]   [encoding=lcy]
        \definefontsynonym [cmfib8]   [lhfib8]   [encoding=lcy]
        \definefontsynonym [cminch]   [lhinch]   [encoding=lcy]
        \definefontsynonym [cmr10]    [lhr10]    [encoding=lcy]
        \definefontsynonym [cmr12]    [lhr12]    [encoding=lcy]
        \definefontsynonym [cmr17]    [lhr17]    [encoding=lcy]
        \definefontsynonym [cmr5]     [lhr5]     [encoding=lcy]
        \definefontsynonym [cmr6]     [lhr6]     [encoding=lcy]
        \definefontsynonym [cmr7]     [lhr7]     [encoding=lcy]
        \definefontsynonym [cmr8]     [lhr8]     [encoding=lcy]
        \definefontsynonym [cmr9]     [lhr9]     [encoding=lcy]
        \definefontsynonym [cmsl10]   [lhsl10]   [encoding=lcy]
        \definefontsynonym [cmsl12]   [lhsl12]   [encoding=lcy]
        \definefontsynonym [cmsl8]    [lhsl8]    [encoding=lcy]
        \definefontsynonym [cmsl9]    [lhsl9]    [encoding=lcy]
        \definefontsynonym [cmtcsc10] [lhtcsc10] [encoding=lcy]
        \definefontsynonym [cmtex10]  [lhtex10]  [encoding=lcy]
        \definefontsynonym [cmtex8]   [lhtex8]   [encoding=lcy]
        \definefontsynonym [cmtex9]   [lhtex9]   [encoding=lcy]
        \definefontsynonym [cmti10]   [lhti10]   [encoding=lcy]
        \definefontsynonym [cmti12]   [lhti12]   [encoding=lcy]
        \definefontsynonym [cmti7]    [lhti7]    [encoding=lcy]
        \definefontsynonym [cmti8]    [lhti8]    [encoding=lcy]
        \definefontsynonym [cmti9]    [lhti9]    [encoding=lcy]
        \definefontsynonym [cmu10]    [lhu10]    [encoding=lcy]
    \stoptypescript

    \starttypescript [sans] [computer-modern] [lcy]
        \definefontsynonym [cmss10]   [lhss10]   [encoding=lcy]
        \definefontsynonym [cmss12]   [lhss12]   [encoding=lcy]
        \definefontsynonym [cmss17]   [lhss17]   [encoding=lcy]
        \definefontsynonym [cmss8]    [lhss8]    [encoding=lcy]
        \definefontsynonym [cmss9]    [lhss9]    [encoding=lcy]
        \definefontsynonym [cmssbi10] [lhssbi10] [encoding=lcy]
        \definefontsynonym [cmssbx10] [lhssbx10] [encoding=lcy]
        \definefontsynonym [cmssdc10] [lhssdc10] [encoding=lcy]
        \definefontsynonym [cmssi10]  [lhssi10]  [encoding=lcy]
        \definefontsynonym [cmssi12]  [lhssi12]  [encoding=lcy]
        \definefontsynonym [cmssi17]  [lhssi17]  [encoding=lcy]
        \definefontsynonym [cmssi8]   [lhssi8]   [encoding=lcy]
        \definefontsynonym [cmssi9]   [lhssi9]   [encoding=lcy]
        \definefontsynonym [cmssq8]   [lhssq8]   [encoding=lcy]
        \definefontsynonym [cmssqi8]  [lhssqi8]  [encoding=lcy]
    \stoptypescript

    \starttypescript [mono] [computer-modern] [lcy]
        \definefontsynonym [cmitt10]  [lhitt10]  [encoding=lcy]
        \definefontsynonym [cmsltt10] [lhsltt10] [encoding=lcy]
        \definefontsynonym [cmtt10]   [lhtt10]   [encoding=lcy]
        \definefontsynonym [cmtt12]   [lhtt12]   [encoding=lcy]
        \definefontsynonym [cmtt8]    [lhtt8]    [encoding=lcy]
        \definefontsynonym [cmtt9]    [lhtt9]    [encoding=lcy]
        \definefontsynonym [cmvtt10]  [lhvtt10]  [encoding=lcy]
    \stoptypescript

    %

    \starttypescript [math] [modern,computer-modern,latin-modern] % [default]
        % watch the space, it prevents remapping
        \definefontsynonym [ComputerModernMath-Roman]     [rm-lmr10]% [lmr10 ]
        \definefontsynonym [ComputerModernMath-Extension] [lmex10]
        \definefontsynonym [ComputerModernMath-Italic]    [lmmi10]
        \definefontsynonym [ComputerModernMath-Symbol]    [lmsy10]
    \stoptypescript

    \starttypescript [boldmath,bfmath] [modern,computer-modern,latin-modern] % [default]
        % watch the space, it prevents remapping
        \definefontsynonym [ComputerModernMath-Roman-Bold]  [rm-lmb10] % [lmb10 ]
        \definefontsynonym [ComputerModernMath-Extension]   [lmex10]
        \definefontsynonym [ComputerModernMath-Italic-Bold] [lmmib10]
        \definefontsynonym [ComputerModernMath-Symbol-Bold] [lmbsy10]
    \stoptypescript

    % Till we have cyrilic in lm:

    % \usetypescript[modern-base][t2a]
    % \setupbodyfont[modern,10pt]

    \starttypescript [serif] [computer-modern] [t2a,t2b,t2c,x2]
        \definefontsynonym [Serif]                [\typescriptprefix{c:\typescriptthree}rm1000] [encoding=\typescriptthree]
        \definefontsynonym [SerifItalic]          [\typescriptprefix{c:\typescriptthree}ti1000] [encoding=\typescriptthree]
        \definefontsynonym [SerifSlanted]         [\typescriptprefix{c:\typescriptthree}sl1000] [encoding=\typescriptthree]
        \definefontsynonym [SerifBold]            [\typescriptprefix{c:\typescriptthree}bx1000] [encoding=\typescriptthree]
        \definefontsynonym [SerifBoldItalic]      [\typescriptprefix{c:\typescriptthree}bi1000] [encoding=\typescriptthree]
        \definefontsynonym [SerifBoldSlanted]     [\typescriptprefix{c:\typescriptthree}bl1000] [encoding=\typescriptthree]
        \definefontsynonym [SerifCaps]            [\typescriptprefix{c:\typescriptthree}cc1000] [encoding=\typescriptthree]
        \definefontsynonym [SerifCapsSlanted]     [\typescriptprefix{c:\typescriptthree}sc1000] [encoding=\typescriptthree]
    \stoptypescript

    \starttypescript [sans] [computer-modern] [t2a,t2b,t2c,x2]
        \definefontsynonym [Sans]            [\typescriptprefix{c:\typescriptthree}ss1000] [encoding=\typescriptthree]
        \definefontsynonym [SansItalic]      [\typescriptprefix{c:\typescriptthree}si1000] [encoding=\typescriptthree]
        \definefontsynonym [SansSlanted]     [\typescriptprefix{c:\typescriptthree}si1000] [encoding=\typescriptthree]
        \definefontsynonym [SansBold]        [\typescriptprefix{c:\typescriptthree}sx1000] [encoding=\typescriptthree]
        \definefontsynonym [SansBoldItalic]  [\typescriptprefix{c:\typescriptthree}so1000] [encoding=\typescriptthree]
        \definefontsynonym [SansBoldSlanted] [\typescriptprefix{c:\typescriptthree}so1000] [encoding=\typescriptthree]
        \definefontsynonym [SansCaps]        [\typescriptprefix{c:\typescriptthree}ss1000] [encoding=\typescriptthree]
        \definefontsynonym [SansCapsSlanted] [\typescriptprefix{c:\typescriptthree}si1000] [encoding=\typescriptthree]
    \stoptypescript

    \starttypescript [mono] [computer-modern] [t2a,t2b,t2c,x2]
        \definefontsynonym [Mono]            [\typescriptprefix{c:\typescriptthree}tt1000] [encoding=\typescriptthree]
        \definefontsynonym [MonoItalic]      [\typescriptprefix{c:\typescriptthree}it1000] [encoding=\typescriptthree]
        \definefontsynonym [MonoSlanted]     [\typescriptprefix{c:\typescriptthree}st1000] [encoding=\typescriptthree]
        \definefontsynonym [MonoBold]        [\typescriptprefix{c:\typescriptthree}tt1000] [encoding=\typescriptthree]
        \definefontsynonym [MonoBoldItalic]  [\typescriptprefix{c:\typescriptthree}it1000] [encoding=\typescriptthree]
        \definefontsynonym [MonoBoldSlanted] [\typescriptprefix{c:\typescriptthree}st1000] [encoding=\typescriptthree]
        \definefontsynonym [MonoCaps]        [\typescriptprefix{c:\typescriptthree}tc1000] [encoding=\typescriptthree]
        \definefontsynonym [MonoCapsSlanted] [\typescriptprefix{c:\typescriptthree}tc1000] [encoding=\typescriptthree]
    \stoptypescript

    % Computer Concrete (AMS)

    \starttypescript [serif] [concrete] [default]
        \definefontsynonym [ComputerConcrete]             [ccr10]
        \definefontsynonym [ComputerConcrete-Italic]      [ccti10]
        \definefontsynonym [ComputerConcrete-Slanted]     [ccsl10]
        \definefontsynonym [ComputerConcrete-Bold]        [ComputerConcrete]
        \definefontsynonym [ComputerConcrete-BoldItalic]  [ComputerConcrete-Italic]
        \definefontsynonym [ComputerConcrete-BoldSlanted] [ComputerConcrete-Slanted]
        \definefontsynonym [ComputerConcrete-Caps]        [cccsc10]
    \stoptypescript

    \starttypescript [serif] [modern,computer-modern,latin-modern] [name]
        \definefontsynonym [Serif]            [LMRoman-Regular]
        \definefontsynonym [SerifBold]        [LMRoman-Bold]
        \definefontsynonym [SerifItalic]      [LMRoman-Italic]
        \definefontsynonym [SerifSlanted]     [LMRoman-Oblique]
        \definefontsynonym [SerifBoldItalic]  [LMRoman-BoldItalic]
        \definefontsynonym [SerifBoldSlanted] [LMRoman-BoldOblique]
        \definefontsynonym [SerifCaps]        [LMRoman-CapsRegular]
        \definefontsynonym [SerifCapsSlanted] [LMRoman-CapsOblique]
    \stoptypescript

    \starttypescript [sans] [modern,computer-modern,latin-modern] [name]
        \definefontsynonym [Sans]             [LMSans-Regular]
        \definefontsynonym [SansBold]         [LMSans-Bold]
        \definefontsynonym [SansItalic]       [LMSans-Oblique]
        \definefontsynonym [SansSlanted]      [LMSans-Oblique]
        \definefontsynonym [SansBoldItalic]   [LMSans-BoldOblique]
        \definefontsynonym [SansBoldSlanted]  [LMSans-BoldOblique]
        \definefontsynonym [SansCaps]         [LMSans-Regular]
        \definefontsynonym [SansCapsSlanted]  [LMSans-Oblique]
    \stoptypescript

    \starttypescript [mono] [modern,computer-modern,latin-modern] [name]
        \definefontsynonym [Mono]             [LMTypewriter-Regular]
        \definefontsynonym [MonoBold]         [LMTypewriter-Dark]
        \definefontsynonym [MonoItalic]       [LMTypewriter-Italic]
        \definefontsynonym [MonoSlanted]      [LMTypewriter-Oblique]
        \definefontsynonym [MonoBoldItalic]   [LMTypewriter-DarkOblique]
        \definefontsynonym [MonoBoldSlanted]  [LMTypewriter-DarkOblique]
        \definefontsynonym [MonoCaps]         [LMTypewriter-CapsRegular]
        \definefontsynonym [MonoCapsSlanted]  [LMTypewriter-CapsOblique]
        \definefontsynonym [MonoVariable]     [LMTypewriterVarWd-Regular]
    \stoptypescript

    \starttypescript [math] [modern,computer-modern,latin-modern] [name]
        \definefontsynonym [MathRoman]        [LMMathRoman-Regular]
        \definefontsynonym [MathExtension]    [LMMathExtension-Regular]
        \definefontsynonym [MathItalic]       [LMMathItalic-Italic]
        \definefontsynonym [MathSymbol]       [LMMathSymbols-Italic]
    \stoptypescript

    \starttypescript [boldmath] [modern,computer-modern,latin-modern] [name]
        \definefontsynonym [MathRoman]        [LMMathRoman-Bold]
        \definefontsynonym [MathExtension]    [LMMathExtension-Regular]
        \definefontsynonym [MathItalic]       [LMMathItalic-BoldItalic]
        \definefontsynonym [MathSymbol]       [LMMathSymbols-BoldItalic]
    \stoptypescript

    \starttypescript [bfmath] [modern,computer-modern,latin-modern] [name]
        \definefontsynonym [MathRomanBold]    [LMMathRoman-Bold]
        \definefontsynonym [MathExtension]    [LMMathExtension-Regular]
        \definefontsynonym [MathItalicBold]   [LMMathItalic-BoldItalic]
        \definefontsynonym [MathSymbolBold]   [LMMathSymbols-BoldItalic]
    \stoptypescript

    \starttypescript [math,boldmath,bfmath] [modern,computer-modern,latin-modern] [name]
      \usemathcollection[default]
    \stoptypescript

    \starttypescript [serif] [modern-vari,computer-modern-vari,latin-modern-vari] [name]
        \definefontsynonym [Serif]            [LMTypewriterVarWd-Regular]
        \definefontsynonym [SerifBold]        [LMTypewriterVarWd-Oblique]
        \definefontsynonym [SerifItalic]      [LMTypewriterVarWd-Oblique]
        \definefontsynonym [SerifSlanted]     [LMTypewriterVarWd-Dark]
        \definefontsynonym [SerifBoldItalic]  [LMTypewriterVarWd-DarkOblique]
        \definefontsynonym [SerifBoldSlanted] [LMTypewriterVarWd-DarkOblique]
        \definefontsynonym [SerifCaps]        [LMTypewriterVarWd-Regular]
        \definefontsynonym [SerifCapsSlanted] [LMTypewriterVarWd-Oblique]
    \stoptypescript

    \starttypescript [mono] [modern-cond,computer-modern-cond,latin-modern-cond,modern-lightcond,computer-modern-lightcond,latin-modern-lightcond] [name]
        \definefontsynonym [Mono]             [LMTypewriter-LightCondensed]
        \definefontsynonym [MonoBold]         [LMTypewriter-LightCondensed]
        \definefontsynonym [MonoItalic]       [LMTypewriter-LightCondensedOblique]
        \definefontsynonym [MonoSlanted]      [LMTypewriter-LightCondensedOblique]
        \definefontsynonym [MonoBoldItalic]   [LMTypewriter-LightCondensed]
        \definefontsynonym [MonoBoldSlanted]  [LMTypewriter-LightCondensed]
        \definefontsynonym [MonoCaps]         [LMTypewriter-LightCondensed]
        \definefontsynonym [MonoCapsSlanted]  [LMTypewriter-LightCondensed]
    \stoptypescript

    \starttypescript [mono] [modern-light,computer-modern-light,latin-modern-light] [name]
        \definefontsynonym [Mono]             [LMTypewriter-Light]
        \definefontsynonym [MonoBold]         [LMTypewriter-Light]
        \definefontsynonym [MonoItalic]       [LMTypewriter-LightOblique]
        \definefontsynonym [MonoSlanted]      [LMTypewriter-LightOblique]
        \definefontsynonym [MonoBoldItalic]   [LMTypewriter-Light]
        \definefontsynonym [MonoBoldSlanted]  [LMTypewriter-Light]
        \definefontsynonym [MonoCaps]         [LMTypewriter-Light]
        \definefontsynonym [MonoCapsSlanted]  [LMTypewriter-Light]
    \stoptypescript

    % Later we will map the real fonts, here we just map synonyms.

    \starttypescript [serif] [modern,latin-modern]
        \definefontsynonym [LMRoman-DemiOblique] [LMRoman10-DemiOblique]
        \definefontsynonym [LMRoman-Bold]        [LMRoman10-Bold]
        \definefontsynonym [LMRoman-BoldItalic]  [LMRoman10-BoldItalic]
        \definefontsynonym [LMRoman-BoldOblique] [LMRoman10-BoldOblique]
        \definefontsynonym [LMRoman-CapsRegular] [LMRoman10-CapsRegular]
        \definefontsynonym [LMRoman-CapsOblique] [LMRoman10-CapsOblique]
        \definefontsynonym [LMRoman-Regular]     [LMRoman10-Regular]
        \definefontsynonym [LMRoman-Italic]      [LMRoman10-Italic]
        \definefontsynonym [LMRoman-Oblique]     [LMRoman10-Oblique]
    \stoptypescript

    \starttypescript [sans] [modern,latin-modern]
        \definefontsynonym [LMSans-Regular]              [LMSans10-Regular]
        \definefontsynonym [LMSans-BoldOblique]          [LMSans10-BoldOblique]
        \definefontsynonym [LMSans-Bold]                 [LMSans10-Bold]
        \definefontsynonym [LMSans-DemiCondensed]        [LMSans10-DemiCondensed]
        \definefontsynonym [LMSans-DemiCondensedOblique] [LMSans10-DemiCondensedOblique]
        \definefontsynonym [LMSans-Oblique]              [LMSans10-Oblique]
    \stoptypescript

    \starttypescript [mono] [modern,latin-modern,modern-vari,latin-modern-vari,modern-cond,latin-modern-cond]
        \definefontsynonym [LMTypewriter-CapsRegular]           [LMTypewriter10-CapsRegular]
        \definefontsynonym [LMTypewriter-CapsOblique]           [LMTypewriter10-CapsOblique]
        \definefontsynonym [LMTypewriter-Light]                 [LMTypewriter10-Light]
        \definefontsynonym [LMTypewriter-LightOblique]          [LMTypewriter10-LightOblique]
        \definefontsynonym [LMTypewriter-LightCondensed]        [LMTypewriter10-LightCondensed]
        \definefontsynonym [LMTypewriter-LightCondensedOblique] [LMTypewriter10-LightCondensedOblique]
        \definefontsynonym [LMTypewriter-Dark]                  [LMTypewriter10-Dark]
        \definefontsynonym [LMTypewriter-DarkOblique]           [LMTypewriter10-DarkOblique]
        \definefontsynonym [LMTypewriter-Regular]               [LMTypewriter10-Regular]
        \definefontsynonym [LMTypewriter-Italic]                [LMTypewriter10-Italic]
        \definefontsynonym [LMTypewriter-Oblique]               [LMTypewriter10-Oblique]
        \definefontsynonym [LMTypewriterVarWd-Regular]          [LMTypewriterVarWd10-Regular]
        \definefontsynonym [LMTypewriterVarWd-Oblique]          [LMTypewriterVarWd10-Oblique]
        \definefontsynonym [LMTypewriterVarWd-Light]            [LMTypewriterVarWd10-Light]
        \definefontsynonym [LMTypewriterVarWd-LightOblique]     [LMTypewriterVarWd10-LightOblique]
        \definefontsynonym [LMTypewriterVarWd-Dark]             [LMTypewriterVarWd10-Dark]
        \definefontsynonym [LMTypewriterVarWd-DarkOblique]      [LMTypewriterVarWd10-DarkOblique]
    \stoptypescript

    \starttypescript [serif] [modern,computer-modern,latin-modern]
        \definefontsynonym [ComputerModern]             [LMRoman-Regular]
        \definefontsynonym [ComputerModern-Italic]      [LMRoman-Italic]
        \definefontsynonym [ComputerModern-Slanted]     [LMRoman-Oblique]
        \definefontsynonym [ComputerModern-Bold]        [LMRoman-Bold]
        \definefontsynonym [ComputerModern-BoldItalic]  [LMRoman-BoldItalic]
        \definefontsynonym [ComputerModern-BoldSlanted] [LMRoman-BoldOblique]
        \definefontsynonym [ComputerModern-Caps]        [LMRoman-CapsRegular]
        \definefontsynonym [ComputerModern-CapsSlanted] [LMRoman-CapsOblique]
    \stoptypescript

    \starttypescript [sans] [modern,computer-modern,latin-modern]
        \definefontsynonym [ComputerModernSans]             [LMSans-Regular]
        \definefontsynonym [ComputerModernSans-Italic]      [LMSans-Oblique]
        \definefontsynonym [ComputerModernSans-Slanted]     [LMSans-Oblique]
        \definefontsynonym [ComputerModernSans-Bold]        [LMSans-Bold]
        \definefontsynonym [ComputerModernSans-BoldItalic]  [LMSans-BoldOblique]
        \definefontsynonym [ComputerModernSans-BoldSlanted] [LMSans-BoldOblique]
        \definefontsynonym [ComputerModernSans-Caps]        [LMSans-Regular] % [LMSans-CapsRegular]
        \definefontsynonym [ComputerModernSans-CapsSlanted] [LMSans-Oblique] % [LMSans-CapsOblique]
    \stoptypescript

    \starttypescript [mono] [modern,computer-modern,latin-modern]
        \definefontsynonym [ComputerModernMono]             [LMTypewriter-Regular]
        \definefontsynonym [ComputerModernMono-Italic]      [LMTypewriter-Italic]
        \definefontsynonym [ComputerModernMono-Slanted]     [LMTypewriter-Oblique]
        \definefontsynonym [ComputerModernMono-Bold]        [LMTypewriter-Dark]
        \definefontsynonym [ComputerModernMono-BoldItalic]  [LMTypewriter-DarkOblique] % !
        \definefontsynonym [ComputerModernMono-BoldSlanted] [LMTypewriter-DarkOblique]
        \definefontsynonym [ComputerModernMono-Caps]        [LMTypewriter-CapsRegular]
        \definefontsynonym [ComputerModernMono-CapsSlanted] [LMTypewriter-CapsOblique]
        \definefontsynonym [ComputerModernMono-Variable]    [LMTypewriterVarWd-Regular]
    \stoptypescript

    \starttypescript [serif] [modern-vari,computer-modern-vari,latin-modern-vari]
        \definefontsynonym [ComputerModernVariable]             [LMTypewriterVarWd-Regular]
        \definefontsynonym [ComputerModernVariable-Italic]      [LMTypewriterVarWd-Oblique]
        \definefontsynonym [ComputerModernVariable-Slanted]     [LMTypewriterVarWd-Oblique]
        \definefontsynonym [ComputerModernVariable-Bold]        [LMTypewriterVarWd-Dark]
        \definefontsynonym [ComputerModernVariable-BoldItalic]  [LMTypewriterVarWd-DarkOblique]
        \definefontsynonym [ComputerModernVariable-BoldSlanted] [LMTypewriterVarWd-DarkOblique]
        \definefontsynonym [ComputerModernVariable-Caps]        [LMTypewriterVarWd-Regular]
        \definefontsynonym [ComputerModernVariable-CapsSlanted] [LMTypewriterVarWd-Oblique]
    \stoptypescript

    \starttypescript [math] [modern,latin-modern]
        \definefontsynonym [LMMathRoman-Regular]       [LMMathRoman10-Regular]
        \definefontsynonym [LMMathRoman-Bold]          [LMMathRoman10-Bold]
        \definefontsynonym [LMMathSymbols-BoldItalic]  [LMMathSymbols10-BoldItalic]
        \definefontsynonym [LMMathSymbols-Italic]      [LMMathSymbols10-Italic]
        \definefontsynonym [LMMathExtension-Regular]   [LMMathExtension10-Regular]
        \definefontsynonym [LMMathItalic-Italic]       [LMMathItalic10-Italic]
        \definefontsynonym [LMMathItalic-BoldItalic]   [LMMathItalic10-BoldItalic]
    \stoptypescript

    % can boldmath and bfmath be joined?
    \starttypescript [boldmath] [modern,computer-modern,latin-modern] [name]
        \definefontsynonym [LMMathRoman-Bold]         [LMMathRoman10-Bold]
        \definefontsynonym [LMMathExtension-Regular]  [LMMathExtension10-Regular]
        \definefontsynonym [LMMathItalic-BoldItalic]  [LMMathItalic10-BoldItalic]
        \definefontsynonym [LMMathSymbols-BoldItalic] [LMMathSymbols10-BoldItalic]
    \stoptypescript

    \starttypescript [bfmath] [modern,computer-modern,latin-modern] [name]
        \definefontsynonym [LMMathRoman-Bold]         [LMMathRoman10-Bold]
        \definefontsynonym [LMMathExtension-Regular]  [LMMathExtension10-Regular]
        \definefontsynonym [LMMathItalic-BoldItalic]  [LMMathItalic10-BoldItalic]
        \definefontsynonym [LMMathSymbols-BoldItalic] [LMMathSymbols10-BoldItalic]
    \stoptypescript

    \starttypescript [serif] [modern,latin-modern,computer-modern]
        \definefontsynonym [cmr5]     [LMRoman5-Regular]
        \definefontsynonym [cmr6]     [LMRoman6-Regular]
        \definefontsynonym [cmr7]     [LMRoman7-Regular]
        \definefontsynonym [cmr8]     [LMRoman8-Regular]
        \definefontsynonym [cmr9]     [LMRoman9-Regular]
        \definefontsynonym [cmr10]    [LMRoman10-Regular]
        \definefontsynonym [cmr12]    [LMRoman12-Regular]
        \definefontsynonym [cmr17]    [LMRoman17-Regular]
        \definefontsynonym [cmbx5]    [LMRoman5-Bold]
        \definefontsynonym [cmbx6]    [LMRoman6-Bold]
        \definefontsynonym [cmbx7]    [LMRoman7-Bold]
        \definefontsynonym [cmbx8]    [LMRoman8-Bold]
        \definefontsynonym [cmbx9]    [LMRoman9-Bold]
        \definefontsynonym [cmbx10]   [LMRoman10-Bold]
        \definefontsynonym [cmbx12]   [LMRoman12-Bold]
        \definefontsynonym [cmsl10]   [LMRoman10-Oblique]
        \definefontsynonym [cmsl12]   [LMRoman12-Oblique]
        \definefontsynonym [cmsl17]   [LMRoman17-Oblique]
        \definefontsynonym [cmsl8]    [LMRoman8-Oblique]
        \definefontsynonym [cmsl9]    [LMRoman9-Oblique]
        \definefontsynonym [cmti7]    [LMRoman7-Italic]
        \definefontsynonym [cmti8]    [LMRoman8-Italic]
        \definefontsynonym [cmti9]    [LMRoman9-Italic]
        \definefontsynonym [cmti10]   [LMRoman10-Italic]
        \definefontsynonym [cmti12]   [LMRoman12-Italic]
        \definefontsynonym [cmbsl10]  [LMRoman10-DemiOblique]
        \definefontsynonym [cmbxsl10] [LMRoman10-BoldOblique]
        \definefontsynonym [cmbxti10] [LMRoman10-BoldItalic]
        \definefontsynonym [cmcsc10]  [LMRoman10-CapsRegular]
        \definefontsynonym [cmcscsl10][LMRoman10-CapsOblique]

        %definefontsynonym [cmb10]
    \stoptypescript

    \starttypescript [sans] [modern,latin-modern,computer-modern]
        \definefontsynonym [cmss8]    [LMSans8-Regular]
        \definefontsynonym [cmss9]    [LMSans9-Regular]
        \definefontsynonym [cmss10]   [LMSans10-Regular]
        \definefontsynonym [cmss12]   [LMSans12-Regular]
        \definefontsynonym [cmss17]   [LMSans17-Regular]
        \definefontsynonym [cmssi10]  [LMSans10-Oblique]
        \definefontsynonym [cmssi12]  [LMSans12-Oblique]
        \definefontsynonym [cmssi17]  [LMSans17-Oblique]
        \definefontsynonym [cmssi8]   [LMSans8-Oblique]
        \definefontsynonym [cmssi9]   [LMSans9-Oblique]
        \definefontsynonym [cmssq8]   [LMSansQuotation8-Regular]
        \definefontsynonym [cmssqb8]  [LMSansQuotation8-Bold]
        \definefontsynonym [cmssqbi8] [LMSansQuotation8-BoldOblique]
        \definefontsynonym [cmssqi8]  [LMSansQuotation8-Oblique]
        \definefontsynonym [cmssbx10] [LMSans10-Bold]
        \definefontsynonym [cmssdc10] [LMSans10-DemiCondensed]
        \definefontsynonym [cmssbi10] [LMSans10-BoldOblique]
        \definefontsynonym [cmssdi10] [LMSans10-DemiCondensedOblique]
    \stoptypescript

    \starttypescript [mono] [modern,latin-modern,computer-modern]
        \definefontsynonym [cmtt8]    [LMTypewriter8-Regular]
        \definefontsynonym [cmtt9]    [LMTypewriter9-Regular]
        \definefontsynonym [cmtt10]   [LMTypewriter10-Regular]
        \definefontsynonym [cmtt12]   [LMTypewriter12-Regular]
        \definefontsynonym [cmitt10]  [LMTypewriter10-Italic]
        \definefontsynonym [cmsltt10] [LMTypewriter10-Oblique]
        \definefontsynonym [cmvtt10]  [LMTypewriterVarWd10-Regular]
        \definefontsynonym [cmvtti10] [LMTypewriterVarWd10-Oblique]
        \definefontsynonym [cmtcsc10] [LMTypewriter10-CapsRegular]
    \stoptypescript

    \starttypescript [math] [modern,latin-modern,computer-modern]
        \definefontsynonym [cmbsy5]  [LMMathSymbols5-BoldItalic]
        \definefontsynonym [cmbsy7]  [LMMathSymbols7-BoldItalic]
        \definefontsynonym [cmbsy10] [LMMathSymbols10-BoldItalic]
        \definefontsynonym [cmsy5]   [LMMathSymbols5-Italic]
        \definefontsynonym [cmsy6]   [LMMathSymbols6-Italic]
        \definefontsynonym [cmsy7]   [LMMathSymbols7-Italic]
        \definefontsynonym [cmsy8]   [LMMathSymbols8-Italic]
        \definefontsynonym [cmsy9]   [LMMathSymbols9-Italic]
        \definefontsynonym [cmsy10]  [LMMathSymbols10-Italic]
        \definefontsynonym [cmex10]  [LMMathExtension10-Regular]
        \definefontsynonym [cmmi5]   [LMMathItalic5-Italic]
        \definefontsynonym [cmmi6]   [LMMathItalic6-Italic]
        \definefontsynonym [cmmi7]   [LMMathItalic7-Italic]
        \definefontsynonym [cmmi8]   [LMMathItalic8-Italic]
        \definefontsynonym [cmmi9]   [LMMathItalic9-Italic]
        \definefontsynonym [cmmi10]  [LMMathItalic10-Italic]
        \definefontsynonym [cmmi12]  [LMMathItalic12-Italic]
        \definefontsynonym [cmmib5]  [LMMathItalic5-BoldItalic]
        \definefontsynonym [cmmib7]  [LMMathItalic7-BoldItalic]
        \definefontsynonym [cmmib10] [LMMathItalic10-BoldItalic]
    \stoptypescript

    % This will change some day.

    \starttypescript [math] [modern,computer-modern,latin-modern] [name]
        \definefontsynonym [OldStyle]     [MathItalic]
        \definefontsynonym [Fraktur]      [eufm10]
        \definefontsynonym [Blackboard]   [msbm10]
        \definefontsynonym [Gothic]       [eufm10]
        \definefontsynonym [Calligraphic] [cmsy10]
    \stoptypescript

    \starttypescript [fallback] [texnansi,ec,qx,t5,default]
        \definetypeface [] [rm] [serif] [modern] [computer-modern] [encoding=\typescripttwo]
        \definetypeface [] [ss] [sans]  [modern] [computer-modern] [encoding=\typescripttwo]
        \definetypeface [] [tt] [mono]  [modern] [computer-modern] [encoding=\typescripttwo]
        \definetypeface [] [mm] [math]  [modern] [computer-modern] [encoding=\typescripttwo]
        \quittypescriptscanning
    \stoptypescript

    \starttypescript [modern] [texnansi,ec,qx,t5,default]
        \definetypeface [modern] [rm] [serif] [modern] [computer-modern] [encoding=\typescripttwo]
        \definetypeface [modern] [ss] [sans]  [modern] [computer-modern] [encoding=\typescripttwo]
        \definetypeface [modern] [tt] [mono]  [modern] [computer-modern] [encoding=\typescripttwo]
        \definetypeface [modern] [mm] [math]  [modern] [computer-modern] [encoding=\typescripttwo]
        \quittypescriptscanning
    \stoptypescript

    \starttypescript [modern-base] [texnansi,ec,qx,t5,default]
        \definetypeface [modern] [rm] [serif] [modern] [default] [encoding=\typescripttwo]
        \definetypeface [modern] [ss] [sans]  [modern] [default] [encoding=\typescripttwo]
        \definetypeface [modern] [tt] [mono]  [modern] [default] [encoding=\typescripttwo]
        \definetypeface [modern] [mm] [math]  [modern] [default] [encoding=\typescripttwo]
        \quittypescriptscanning
    \stoptypescript

    \starttypescript [modern-base] [t2a,t2b,t2c,x2]
        \definetypeface [modern] [rm] [serif] [computer-modern] [default] [encoding=\typescripttwo]
        \definetypeface [modern] [ss] [sans]  [computer-modern] [default] [encoding=\typescripttwo]
        \definetypeface [modern] [tt] [mono]  [computer-modern] [default] [encoding=\typescripttwo]
        \definetypeface [modern] [mm] [math]  [computer-modern] [default] [encoding=\typescripttwo]
        \quittypescriptscanning
    \stoptypescript

    \starttypescript [modernvariable] [texnansi,ec,qx,8r,t5]
        \definetypeface [modernvariable] [rm] [serif] [simple] [default] [encoding=\typescripttwo]
        \definetypeface [modernvariable] [ss] [sans]  [modern] [default] [encoding=\typescripttwo]
        \definetypeface [modernvariable] [tt] [mono]  [modern] [default] [encoding=\typescripttwo]
        \definetypeface [modernvariable] [mm] [math]  [modern] [default]
        \quittypescriptscanning
    \stoptypescript

    \starttypescript [serif] [simple] [name] % bad, will be changed but in sycn with manuals that use it
        \definefontsynonym [Simple] [cmvtt10]
        \setupfontsynonym  [Simple] [handling=pure]
    \stoptypescript

\stoptypescriptcollection

\starttypescriptcollection[concrete]

    \starttypescript [serif] [concrete] [name]
        \definefontsynonym [Serif]            [ComputerConcrete]
        \definefontsynonym [SerifBold]        [ComputerConcrete]
        \definefontsynonym [SerifItalic]      [ComputerConcrete-Italic]
        \definefontsynonym [SerifSlanted]     [ComputerConcrete-Slanted]
        \definefontsynonym [SerifBoldItalic]  [ComputerConcrete-Italic]
        \definefontsynonym [SerifBoldSlanted] [ComputerConcrete-Slanted]
        \definefontsynonym [SerifCaps]        [ComputerConcrete-Caps]
    \stoptypescript

\stoptypescriptcollection

\starttypescriptcollection[euler]

    \starttypescript [math] [euler] [default]
        \definefontsynonym [Euler-Roman]      [zeurm10]
        \definefontsynonym [Euler-Extension]  [zeuex10]
        \definefontsynonym [Euler-Symbol]     [zeusm10]
        \definefontsynonym [Euler-Fraktur]    [eufm10]
        \usemathcollection[eul]
        \loadmapfile[original-ams-euler.map]
    \stoptypescript

    \starttypescript [boldmath,bfmath] [euler] [default]
        \definefontsynonym [Euler-Roman-Bold]     [zeurb10]
        \definefontsynonym [Euler-Extension]      [zeuex10]
        \definefontsynonym [Euler-Symbol-Bold]    [zeusb10]
        \definefontsynonym [Euler-Fraktur-Bold]   [eufb10]
        \usemathcollection[eul]
        \loadmapfile[original-ams-euler.map]
    \stoptypescript

    \starttypescript [math] [euler] [name]
        \definefontsynonym [MathRoman]     [Euler-Roman]      % mr
        \definefontsynonym [MathItalic]    [Euler-Fraktur]    % mi
        \definefontsynonym [MathExtension] [Euler-Extension]  % ex
        \definefontsynonym [MathSymbol]    [Euler-Symbol]     % sy
    \stoptypescript

    \starttypescript [boldmath] [euler] [name]
        \definefontsynonym [MathRoman]     [Euler-Roman-Bold]     % mr
        \definefontsynonym [MathItalic]    [Euler-Fraktur-Bold]   % mi
        \definefontsynonym [MathExtension] [Euler-Extension]      % ex
        \definefontsynonym [MathSymbol]    [Euler-Symbol-Bold]    % sy
    \stoptypescript

    \starttypescript [bfmath] [euler] [name]
        \definefontsynonym [MathRomanBold]  [Euler-Roman-Bold]     % mr
        \definefontsynonym [MathItalicBold] [Euler-Fraktur-Bold]   % mi
        \definefontsynonym [MathExtension]  [Euler-Extension]      % ex
        \definefontsynonym [MathSymbolBold] [Euler-Symbol-Bold]    % sy
    \stoptypescript

    \starttypescript [math] [euler] [name]
        \definefontsynonym [OldStyle]     [MathItalic]
        \definefontsynonym [Fraktur]      [MathItalic]
        \definefontsynonym [Gothic]       [MathItalic]
        \definefontsynonym [Calligraphic] [MathSymbol]
    \stoptypescript

    \starttypescript [boldmath] [euler] [name]
        \definefontsynonym [OldStyle]     [MathItalicBold]
        \definefontsynonym [Fraktur]      [MathItalicBold]
        \definefontsynonym [Gothic]       [MathItalicBold]
        \definefontsynonym [Calligraphic] [MathSymbolBold]
    \stoptypescript

    \starttypescript [math,boldmath,bfmath] [euler] [name]
      \usemathcollection[eul]
    \stoptypescript

\stoptypescriptcollection

\starttypescriptcollection[amssymbols]

    \starttypescript [math] [modern,computer-modern,latin-modern,ams] [default]
        \definefontsynonym [AMS-SymbolA] [msam10]
        \definefontsynonym [AMS-SymbolB] [msbm10]
        \usemathcollection[default]
    \stoptypescript

    \starttypescript [math] [modern,computer-modern,latin-modern,ams] [name]
        \definefontsynonym [MathAlpha] [AMS-SymbolA]
        \definefontsynonym [MathBeta]  [AMS-SymbolB]
    \stoptypescript

\stoptypescriptcollection

\starttypescriptcollection[utopia]

    \starttypescript [math] [fourier] [default,ec]
        \definefontsynonym [Fourier-Math-Letters]         [futr8t]   [encoding=ec]
        %definefontsynonym [Fourier-Math-Letters]         [futmi]
        \definefontsynonym [Fourier-Math-Letters-Italic]  [futmii]
        \definefontsynonym [Fourier-Math-Symbols]         [futsy]
        \definefontsynonym [Fourier-Math-Extension]       [fourier-mex]
        \usemathcollection[fou]
        \loadmapfile[fourier.map]
    \stoptypescript

    \starttypescript [serif] [utopia] [name]
        \definefontsynonym [Serif]            [Utopia-Regular]
        \definefontsynonym [SerifItalic]      [Utopia-Italic]
        \definefontsynonym [SerifBold]        [Utopia-Bold]
        \definefontsynonym [SerifBoldItalic]  [Utopia-BoldItalic]
        \definefontsynonym [SerifSlanted]     [Utopia-Slanted]
        \definefontsynonym [SerifBoldSlanted] [Utopia-BoldSlanted]
        \definefontsynonym [SerifCaps]        [Utopia-Regular-Caps]
    \stoptypescript

    \starttypescript [serif] [fourier] [ec]
        \definefontsynonym [Fourier-Regular]              [futr8t]   [encoding=ec]
        \definefontsynonym [Fourier-Slanted]              [futro8t]  [encoding=ec]
        \definefontsynonym [Fourier-Italic]               [futri8t]  [encoding=ec]
        \definefontsynonym [Fourier-RegularCaps]          [futrc8t]  [encoding=ec]
        \definefontsynonym [Fourier-Bold]                 [futb8t]   [encoding=ec]
        \definefontsynonym [Fourier-BoldSlanted]          [futbo8t]  [encoding=ec]
        \definefontsynonym [Fourier-BoldItalic]           [futbi8t]  [encoding=ec]
        \definefontsynonym [Fourier-BoldCaps]             [futbc8t]  [encoding=ec]
        \definefontsynonym [Fourier-Regular-Expert]       [futr9e]   [encoding=ec]
        \definefontsynonym [Fourier-Slanted-Expert]       [futro9e]  [encoding=ec]
        \definefontsynonym [Fourier-Italic-Expert]        [futri9e]  [encoding=ec]
        \definefontsynonym [Fourier-RegularCaps-Expert]   [futrc9e]  [encoding=ec]
        \definefontsynonym [Fourier-Semi-Expert]          [futs9e]   [encoding=ec]
        \definefontsynonym [Fourier-SemiSlanted-Expert]   [futso9e]  [encoding=ec]
        \definefontsynonym [Fourier-SemiItalic-Expert]    [futsi9e]  [encoding=ec]
        \definefontsynonym [Fourier-SemiCaps-Expert]      [futsc9e]  [encoding=ec]
        \definefontsynonym [Fourier-Bold-Expert]          [futb9e]   [encoding=ec]
        \definefontsynonym [Fourier-BoldSlanted-Expert]   [futbo9e]  [encoding=ec]
        \definefontsynonym [Fourier-BoldItalic-Expert]    [futbi9e]  [encoding=ec]
        \definefontsynonym [Fourier-Black-Expert]         [futc9e]   [encoding=ec]
        \definefontsynonym [Fourier-Regular-OldStyle]     [futr9d]   [encoding=ec]
        \definefontsynonym [Fourier-Slanted-OldStyle]     [futro9d]  [encoding=ec]
        \definefontsynonym [Fourier-Italic-OldStyle]      [futri9d]  [encoding=ec]
        \definefontsynonym [Fourier-RegularCaps-OldStyle] [futrc9d]  [encoding=ec]
        \definefontsynonym [Fourier-Semi-OldStyle]        [futs9d]   [encoding=ec]
        \definefontsynonym [Fourier-SemiSlanted-OldStyle] [futso9d]  [encoding=ec]
        \definefontsynonym [Fourier-SemiItalic-OldStyle]  [futsi9d]  [encoding=ec]
        \definefontsynonym [Fourier-SemiCaps-OldStyle]    [futsc9d]  [encoding=ec]
        \definefontsynonym [Fourier-Bold-OldStyle]        [futb9d]   [encoding=ec]
        \definefontsynonym [Fourier-BoldSlanted-OldStyle] [futbo9d]  [encoding=ec]
        \definefontsynonym [Fourier-BoldItalic-OldStyle]  [futbi9d]  [encoding=ec]
        \definefontsynonym [Fourier-Black-OldStyle]       [futc9d]   [encoding=ec]
        \loadmapfile[fourier.map]
        \loadmapfile[fourier-utopia-expert.map]
    \stoptypescript

    \starttypescript [serif] [fourier] [name]
        \definefontsynonym [Serif]                      [Fourier-Regular]
        \definefontsynonym [SerifSlanted]               [Fourier-Slanted]
        \definefontsynonym [SerifItalic]                [Fourier-Italic]
        \definefontsynonym [SerifCaps]                  [Fourier-RegularCaps]
        \definefontsynonym [SerifBold]                  [Fourier-Bold]
        \definefontsynonym [SerifBoldSlanted]           [Fourier-BoldSlanted]
        \definefontsynonym [SerifBoldItalic]            [Fourier-BoldItalic]
        \definefontsynonym [SerifBoldCaps]              [Fourier-BoldCaps]

        \definefontsynonym [Serif-Expert]               [Fourier-Regular-Expert]
        \definefontsynonym [SerifSlanted-Expert]        [Fourier-Slanted-Expert]
        \definefontsynonym [SerifItalic-Expert]         [Fourier-Italic-Expert]
        \definefontsynonym [SerifCaps-Expert]           [Fourier-RegularCaps-Expert]
        \definefontsynonym [SerifSemiBold-Expert]       [Fourier-Semi-Expert]
        \definefontsynonym [SerifSemiSlanted-Expert]    [Fourier-SemiSlanted-Expert]
        \definefontsynonym [SerifSemiItalic-Expert]     [Fourier-SemiItalic-Expert]
        \definefontsynonym [SerifSemiCaps-Expert]       [Fourier-SemiCaps-Expert]
        \definefontsynonym [SerifBold-Expert]           [Fourier-Bold-Expert]
        \definefontsynonym [SerifBoldSlanted-Expert]    [Fourier-BoldSlanted-Expert]
        \definefontsynonym [SerifBoldItalic-Expert]     [Fourier-BoldItalic-Expert]
        \definefontsynonym [SerifBlack-Expert]          [Fourier-Black-Expert]

        \definefontsynonym [Serif-OldStyle]             [Fourier-Regular-OldStyle]
        \definefontsynonym [SerifSlanted-OldStyle]      [Fourier-Slanted-OldStyle]
        \definefontsynonym [SerifItalic-OldStyle]       [Fourier-Italic-OldStyle]
        \definefontsynonym [SerifCaps-OldStyle]         [Fourier-RegularCaps-OldStyle]
        \definefontsynonym [SerifSemiBold-OldStyle]     [Fourier-Semi-OldStyle]
        \definefontsynonym [SerifSemiSlanted-OldStyle]  [Fourier-SemiSlanted-OldStyle]
        \definefontsynonym [SerifSemiItalic-OldStyle]   [Fourier-SemiItalic-OldStyle]
        \definefontsynonym [SerifSemiCaps-OldStyle]     [Fourier-SemiCaps-OldStyle]
        \definefontsynonym [SerifBold-OldStyle]         [Fourier-Bold-OldStyle]
        \definefontsynonym [SerifBoldSlanted-OldStyle]  [Fourier-BoldSlanted-OldStyle]
        \definefontsynonym [SerifBoldItalic-OldStyle]   [Fourier-BoldItalic-OldStyle]
        \definefontsynonym [SerifBlack-OldStyle]        [Fourier-Black-OldStyle]
        \definefontsynonym [SerifBlackSlanted-OldStyle] [Fourier-BlackSlanted-OldStyle]
    \stoptypescript

    \starttypescript [math] [fourier] [name]
        \definefontsynonym [MathRoman]     [Fourier-Math-Letters]
        \definefontsynonym [MathItalic]    [Fourier-Math-Letters-Italic]
        \definefontsynonym [MathSymbol]    [Fourier-Math-Symbols]
        \definefontsynonym [MathExtension] [Fourier-Math-Extension]
    \stoptypescript

    \starttypescript [math] [fourier] [name] % todo
        \definefontsynonym [OldStyle]     [Serif-OldStyle] % strange, no oldstyles
        \definefontsynonym [Fraktur]      [eufm10]
        \definefontsynonym [Blackboard]   [msbm10]
        \definefontsynonym [Gothic]       [eufm10]
        \definefontsynonym [Calligraphic] [eusm10]
    \stoptypescript

    \starttypescript [serif] [utopia] [ec,texnansi]
        \definefontsynonym [Utopia-Regular]     [\typescriptthree-putr8a]                 [encoding=\typescriptthree]
        \definefontsynonym [Utopia-Italic]      [\typescriptthree-putri8a]                [encoding=\typescriptthree]
        \definefontsynonym [Utopia-Bold]        [\typescriptthree-putb8a]                 [encoding=\typescriptthree]
        \definefontsynonym [Utopia-BoldItalic]  [\typescriptthree-putbi8a]                [encoding=\typescriptthree]
        \definefontsynonym [Utopia-Slanted]     [\typescriptthree-putr8a-slanted-167]     [encoding=\typescriptthree]
        \definefontsynonym [Utopia-BoldSlanted] [\typescriptthree-putb8a-slanted-167]     [encoding=\typescriptthree]
        \definefontsynonym [Utopia-Regular-Caps][\typescriptthree-putr8a-capitalized-800] [encoding=\typescriptthree]
        \loadmapfile[\typescriptthree-adobe-utopia.map]
    \stoptypescript

    \starttypescript [fourier] [ec]
        \definetypeface [fourier] [rm] [serif] [fourier] [default] [encoding=ec]
        \definetypeface [fourier] [ss] [sans]  [modern]  [default] [encoding=ec,rscale=1.07]
        \definetypeface [fourier] [tt] [mono]  [modern]  [default] [encoding=ec,rscale=1.07]
        \definetypeface [fourier] [mm] [math]  [fourier] [default] [encoding=default]
        \quittypescriptscanning
    \stoptypescript

\stoptypescriptcollection

\starttypescriptcollection[antykwa]

    % Antykwa Torunska (GUST)

    % \starttypescript [serif] [antykwa-torunska] [texnansi,ec,8r]
    %   \definefontsynonym [AntykwaTorunska-Regular] [\typescriptthree-anttr]  [encoding=\typescriptthree]
    %   \definefontsynonym [AntykwaTorunska-Bold]    [\typescriptthree-anttb]  [encoding=\typescriptthree]
    %   \definefontsynonym [AntykwaTorunska-Italic]  [\typescriptthree-anttri] [encoding=\typescriptthree]
    % \stoptypescript

    \starttypescript [serif] [antykwa-torunska,antykwa-torunska-light,antykwa-torunska-cond,antykwa-torunska-lightcond] [texnansi,qx,t5,ec,t2a,t2b,t2c,greek]
        \definefontsynonym [AntykwaTorunska-Regular]        [\typescriptthree-anttr]     [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-Italic]         [\typescriptthree-anttri]    [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-Bold]           [\typescriptthree-anttb]     [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-BoldItalic]     [\typescriptthree-anttbi]    [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-Light]          [\typescriptthree-anttl]     [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-LightItalic]    [\typescriptthree-anttli]    [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-Medium]         [\typescriptthree-anttm]     [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-MedItalic]      [\typescriptthree-anttmi]    [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-CondRegular]    [\typescriptthree-anttcr]    [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-CondItalic]     [\typescriptthree-anttcri]   [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-CondBold]       [\typescriptthree-anttcb]    [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-CondBoldItalic] [\typescriptthree-anttcbi]   [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-CondLight]      [\typescriptthree-anttcl]    [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-CondLightItalic][\typescriptthree-anttcli]   [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-CondMedium]     [\typescriptthree-anttcm]    [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-CondMedItalic]  [\typescriptthree-anttcmi]   [encoding=\typescriptthree]
        \loadmapfile[antt-\typescriptthree.map]
    \stoptypescript

    \starttypescript [serif] [antykwa-torunska,antykwa-torunska-light,antykwa-torunska-cond,antykwa-torunska-lightcond] [texnansi,qx,t5,ec]
        \definefontsynonym [AntykwaTorunska-Cap]               [\typescriptthree-anttrcap]   [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-ItalicCap]         [\typescriptthree-anttricap]  [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-BoldCap]           [\typescriptthree-anttbcap]   [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-BoldItalicCap]     [\typescriptthree-anttbicap]  [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-LightCap]          [\typescriptthree-anttlcap]   [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-LightItalicCap]    [\typescriptthree-anttlicap]  [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-MediumCap]         [\typescriptthree-anttmcap]   [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-MedItalicCap]      [\typescriptthree-anttmicap]  [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-CondCap]           [\typescriptthree-anttcrcap]  [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-CondItalicCap]     [\typescriptthree-anttcricap] [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-CondBoldCap]       [\typescriptthree-anttcbcap]  [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-CondBoldItalicCap] [\typescriptthree-anttcbicap] [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-CondLightCap]      [\typescriptthree-anttclcap]  [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-CondLightItalicCap][\typescriptthree-anttclicap] [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-CondMediumCap]     [\typescriptthree-anttcmcap]  [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-CondMedItalicCap]  [\typescriptthree-anttcmicap] [encoding=\typescriptthree]
        \loadmapfile[antt-\typescriptthree.map]
    \stoptypescript

    % duplicates ? ?
    % atl: no: fallbacks for the named variants

    \starttypescript [serif] [antykwa-torunska,antykwa-torunska-light,antykwa-torunska-cond,antykwa-torunska-lightcond] [t2a,t2b,t2c,greek]
        \definefontsynonym [AntykwaTorunska-BoldCap]           [\typescriptthree-anttb]   [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-BoldItalicCap]     [\typescriptthree-anttbi]  [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-LightCap]          [\typescriptthree-anttl]   [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-LightItalicCap]    [\typescriptthree-anttli]  [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-MediumCap]         [\typescriptthree-anttm]   [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-MedItalicCap]      [\typescriptthree-anttmi]  [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-Cap]               [\typescriptthree-anttr]   [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-ItalicCap]         [\typescriptthree-anttri]  [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-CondBoldCap]       [\typescriptthree-anttcb]  [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-CondBoldItalicCap] [\typescriptthree-anttcbi] [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-CondLightCap]      [\typescriptthree-anttcl]  [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-CondLightItalicCap][\typescriptthree-anttcli] [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-CondMediumCap]     [\typescriptthree-anttcm]  [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-CondMedItalicCap]  [\typescriptthree-anttcmi] [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-CondCap]           [\typescriptthree-anttcr]  [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-CondItalicCap]     [\typescriptthree-anttcri] [encoding=\typescriptthree]
        \loadmapfile[antt-\typescriptthree.map]
    \stoptypescript

    \starttypescript [serif] [antykwa-torunska,antykwa-torunska-light,antykwa-torunska-cond,antykwa-torunska-lightcond] [t2a,t2b,t2c]
        \definefontsynonym [AntykwaTorunska-BoldCap]           [\typescriptthree-anttb]   [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-BoldItalicCap]     [\typescriptthree-anttbi]  [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-LightCap]          [\typescriptthree-anttl]   [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-LightItalicCap]    [\typescriptthree-anttli]  [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-MediumCap]         [\typescriptthree-anttm]   [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-MedItalicCap]      [\typescriptthree-anttmi]  [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-Cap]               [\typescriptthree-anttr]   [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-ItalicCap]         [\typescriptthree-anttri]  [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-CondBoldCap]       [\typescriptthree-anttcb]  [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-CondBoldItalicCap] [\typescriptthree-anttcbi] [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-CondLightCap]      [\typescriptthree-anttcl]  [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-CondLightItalicCap][\typescriptthree-anttcli] [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-CondMediumCap]     [\typescriptthree-anttcm]  [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-CondMedItalicCap]  [\typescriptthree-anttcmi] [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-CondCap]           [\typescriptthree-anttcr]  [encoding=\typescriptthree]
        \definefontsynonym [AntykwaTorunska-CondItalicCap]     [\typescriptthree-anttcri] [encoding=\typescriptthree]
        \loadmapfile[antt-\typescriptthree.map]
    \stoptypescript

    % mabye no -Regular etc
    % dunny reverse of condlight lightcond

    \starttypescript [math] [antykwa-torunska] [default]
        \definefontsynonym [AntykwaTorunska-Math-Letters-Regular]       [rm-anttr]
        \definefontsynonym [AntykwaTorunska-Math-Letters-Italic]        [mi-anttri]
        \definefontsynonym [AntykwaTorunska-Math-Symbols-Regular]       [sy-anttrz]
        \definefontsynonym [AntykwaTorunska-Math-Extension-Regular]     [ex-anttr]
    \stoptypescript

    \starttypescript [math] [antykwa-torunska-light] [default]
        \definefontsynonym [AntykwaTorunska-Math-Letters-Light]        [rm-anttl]
        \definefontsynonym [AntykwaTorunska-Math-Letters-LightItalic]  [mi-anttli]
        \definefontsynonym [AntykwaTorunska-Math-Symbols-Light]        [sy-anttlz]
        \definefontsynonym [AntykwaTorunska-Math-Extension-Light]      [ex-anttl]
    \stoptypescript

    \starttypescript [math] [antykwa-torunska-cond] [default]
        \definefontsynonym [AntykwaTorunska-Math-Letters-CondRegular]       [rm-anttcr]
        \definefontsynonym [AntykwaTorunska-Math-Letters-CondItalic]        [mi-anttcri]
        \definefontsynonym [AntykwaTorunska-Math-Symbols-CondRegular]       [sy-anttcrz]
        \definefontsynonym [AntykwaTorunska-Math-Extension-CondRegular]     [ex-anttcr]
    \stoptypescript

    \starttypescript [math] [antykwa-torunska-lightcond] [default]
        \definefontsynonym [AntykwaTorunska-Math-Letters-CondLight]        [rm-anttcl]
        \definefontsynonym [AntykwaTorunska-Math-Letters-CondLightItalic]  [mi-anttcli]
        \definefontsynonym [AntykwaTorunska-Math-Symbols-CondLight]        [sy-anttclz]
        \definefontsynonym [AntykwaTorunska-Math-Extension-CondLight]      [ex-anttcl]
    \stoptypescript

    \starttypescript [math] [antykwa-torunska,antykwa-torunska-light,antykwa-torunska-cond,antykwa-torunska-lightcond] [default]
        \usemathcollection[default]
        \loadmapfile[antt-rm.map]
        \loadmapfile[antt-mi.map]
        \loadmapfile[antt-sy.map]
        \loadmapfile[antt-ex.map]
    \stoptypescript

    \starttypescript [serif] [antykwa-torunska] [name]
        \definefontsynonym [Serif]            [AntykwaTorunska-Regular]
        \definefontsynonym [SerifBold]        [AntykwaTorunska-Bold]
        \definefontsynonym [SerifItalic]      [AntykwaTorunska-Italic]
        \definefontsynonym [SerifSlanted]     [AntykwaTorunska-Italic]
        \definefontsynonym [SerifBoldItalic]  [AntykwaTorunska-BoldItalic]
        \definefontsynonym [SerifBoldSlanted] [AntykwaTorunska-BoldItalic]
        \definefontsynonym [SerifCaps]        [AntykwaTorunska-Cap]
    \stoptypescript

    \starttypescript [serif] [antykwa-torunska-light] [name]
      \definefontsynonym [Serif]            [AntykwaTorunska-Light]
      \definefontsynonym [SerifBold]        [AntykwaTorunska-Medium]
      \definefontsynonym [SerifItalic]      [AntykwaTorunska-LightItalic]
      \definefontsynonym [SerifSlanted]     [AntykwaTorunska-LightItalic]
      \definefontsynonym [SerifBoldItalic]  [AntykwaTorunska-MedItalic]
      \definefontsynonym [SerifBoldSlanted] [AntykwaTorunska-MedItalic]
      \definefontsynonym [SerifCaps]        [AntykwaTorunska-LightCap]
    \stoptypescript

    \starttypescript [serif] [antykwa-torunska-cond] [name]
        \definefontsynonym [Serif]            [AntykwaTorunska-CondRegular]
        \definefontsynonym [SerifBold]        [AntykwaTorunska-CondBold]
        \definefontsynonym [SerifItalic]      [AntykwaTorunska-CondItalic]
        \definefontsynonym [SerifSlanted]     [AntykwaTorunska-CondItalic]
        \definefontsynonym [SerifBoldItalic]  [AntykwaTorunska-CondBoldItalic]
        \definefontsynonym [SerifBoldSlanted] [AntykwaTorunska-CondBoldItalic]
        \definefontsynonym [SerifCaps]        [AntykwaTorunska-CondCap]
    \stoptypescript

    \starttypescript [serif] [antykwa-torunska-lightcond] [name]
        \definefontsynonym [Serif]            [AntykwaTorunska-CondLight]
        \definefontsynonym [SerifBold]        [AntykwaTorunska-CondMedium]
        \definefontsynonym [SerifItalic]      [AntykwaTorunska-CondLightItalic]
        \definefontsynonym [SerifSlanted]     [AntykwaTorunska-CondLightItalic]
        \definefontsynonym [SerifBoldItalic]  [AntykwaTorunska-CondMedItalic]
        \definefontsynonym [SerifBoldSlanted] [AntykwaTorunska-CondMedItalic]
        \definefontsynonym [SerifCaps]        [AntykwaTorunska-CondLightCap]
    \stoptypescript

    \starttypescript [serif] [antykwa-torunska] [name]
        \definefontsynonym [SerifRegular]         [Serif]
        \definefontsynonym [SerifRegularCaps]     [AntykwaTorunska-Cap]
        \definefontsynonym [SerifBoldCaps]        [AntykwaTorunska-BoldCap]
        \definefontsynonym [SerifItalicCaps]      [AntykwaTorunska-ItalicCap]
        \definefontsynonym [SerifSlantedCaps]     [AntykwaTorunska-ItalicCap]
        \definefontsynonym [SerifBoldItalicCaps]  [AntykwaTorunska-BoldItalicCap]
        \definefontsynonym [SerifBoldSlantedCaps] [AntykwaTorunska-BoldItalicCap]
        \definefontsynonym [SerifCapsCaps]        [AntykwaTorunska-Cap]

        \definefontvariant [Serif][osf][Caps]
        \definefontvariant [Serif][sc] [Caps]

        \definefontsynonym [SerifRegularLight]     [AntykwaTorunska-Light]
        \definefontsynonym [SerifBoldLight]        [AntykwaTorunska-Medium]
        \definefontsynonym [SerifItalicLight]      [AntykwaTorunska-LightItalic]
        \definefontsynonym [SerifSlantedLight]     [AntykwaTorunska-LightItalic]
        \definefontsynonym [SerifBoldItalicLight]  [AntykwaTorunska-MedItalic]
        \definefontsynonym [SerifBoldSlantedLight] [AntykwaTorunska-MedItalic]
        \definefontsynonym [SerifCapsLight]        [AntykwaTorunska-LightCap]

        \definefontvariant [Serif][lt][Light]

        \definefontsynonym [SerifRegularCond]     [AntykwaTorunska-CondRegular]
        \definefontsynonym [SerifBoldCond]        [AntykwaTorunska-CondBold]
        \definefontsynonym [SerifItalicCond]      [AntykwaTorunska-CondItalic]
        \definefontsynonym [SerifSlantedCond]     [AntykwaTorunska-CondItalic]
        \definefontsynonym [SerifBoldItalicCond]  [AntykwaTorunska-CondBoldItalic]
        \definefontsynonym [SerifBoldSlantedCond] [AntykwaTorunska-CondBoldItalic]
        \definefontsynonym [SerifCapsCond]        [AntykwaTorunska-CondCap]

        \definefontvariant [Serif][cond][Cond]

    \stoptypescript

    \starttypescript [serif] [antykwa-torunska-light] [name]
        \definefontsynonym [SerifRegular]         [Serif]
        \definefontsynonym [SerifRegularCaps]     [AntykwaTorunska-LightCap]
        \definefontsynonym [SerifBoldCaps]        [AntykwaTorunska-MediumCap]
        \definefontsynonym [SerifItalicCaps]      [AntykwaTorunska-LightItalicCap]
        \definefontsynonym [SerifSlantedCaps]     [AntykwaTorunska-LightItalicCap]
        \definefontsynonym [SerifBoldItalicCaps]  [AntykwaTorunska-MedItalicCap]
        \definefontsynonym [SerifBoldSlantedCaps] [AntykwaTorunska-MedItalicCap]
        \definefontsynonym [SerifCapsCaps]        [AntykwaTorunska-LightCap]

        \definefontvariant [Serif][osf][Caps]
        \definefontvariant [Serif][sc] [Caps]

        \definefontsynonym [SerifRegularDark]     [AntykwaTorunska-Regular]
        \definefontsynonym [SerifBoldDark]        [AntykwaTorunska-Bold]
        \definefontsynonym [SerifItalicDark]      [AntykwaTorunska-Italic]
        \definefontsynonym [SerifSlantedDark]     [AntykwaTorunska-Italic]
        \definefontsynonym [SerifBoldItalicDark]  [AntykwaTorunska-BoldItalic]
        \definefontsynonym [SerifBoldSlantedDark] [AntykwaTorunska-BoldItalic]
        \definefontsynonym [SerifCapsDark]        [AntykwaTorunska-Cap]

        \definefontvariant [Serif][dk][Dark]

        \definefontsynonym [SerifRegularCond]     [AntykwaTorunska-CondLight]
        \definefontsynonym [SerifBoldCond]        [AntykwaTorunska-CondMedium]
        \definefontsynonym [SerifItalicCond]      [AntykwaTorunska-CondLightItalic]
        \definefontsynonym [SerifSlantedCond]     [AntykwaTorunska-CondLightItalic]
        \definefontsynonym [SerifBoldItalicCond]  [AntykwaTorunska-CondMedItalic]
        \definefontsynonym [SerifBoldSlantedCond] [AntykwaTorunska-CondMedItalic]
        \definefontsynonym [SerifCapsCond]        [AntykwaTorunska-CondLightCap]

        \definefontvariant [Serif][cond][Cond]

    \stoptypescript

    \starttypescript [serif] [antykwa-torunska-cond] [name]
        \definefontsynonym [SerifRegular]         [Serif]
        \definefontsynonym [SerifRegularCaps]     [AntykwaTorunska-CondCap]
        \definefontsynonym [SerifBoldCaps]        [AntykwaTorunska-CondBoldCap]
        \definefontsynonym [SerifItalicCaps]      [AntykwaTorunska-CondItalicCap]
        \definefontsynonym [SerifSlantedCaps]     [AntykwaTorunska-CondItalicCap]
        \definefontsynonym [SerifBoldItalicCaps]  [AntykwaTorunska-CondBoldItalicCap]
        \definefontsynonym [SerifBoldSlantedCaps] [AntykwaTorunska-CondBoldItalicCap]
        \definefontsynonym [SerifCapsCaps]        [AntykwaTorunska-CondCap]

        \definefontvariant [Serif][osf][Caps]
        \definefontvariant [Serif][sc] [Caps]

        \definefontsynonym [SerifRegularLight]     [AntykwaTorunska-CondLight]
        \definefontsynonym [SerifBoldLight]        [AntykwaTorunska-CondMedium]
        \definefontsynonym [SerifItalicLight]      [AntykwaTorunska-CondLightItalic]
        \definefontsynonym [SerifSlantedLight]     [AntykwaTorunska-CondLightItalic]
        \definefontsynonym [SerifBoldItalicLight]  [AntykwaTorunska-CondMedItalic]
        \definefontsynonym [SerifBoldSlantedLight] [AntykwaTorunska-CondMedItalic]
        \definefontsynonym [SerifCapsLight]        [AntykwaTorunska-CondLightCap]

        \definefontvariant [Serif][lt][Light]

        \definefontsynonym [SerifRegularExp]     [AntykwaTorunska-Regular]
        \definefontsynonym [SerifBoldExp]        [AntykwaTorunska-Bold]
        \definefontsynonym [SerifItalicExp]      [AntykwaTorunska-Italic]
        \definefontsynonym [SerifSlantedExp]     [AntykwaTorunska-Italic]
        \definefontsynonym [SerifBoldItalicExp]  [AntykwaTorunska-BoldItalic]
        \definefontsynonym [SerifBoldSlantedExp] [AntykwaTorunska-BoldItalic]
        \definefontsynonym [SerifCapsExp]        [AntykwaTorunska-Cap]

        \definefontvariant [Serif][exp][Exp]

    \stoptypescript

    \starttypescript [serif] [antykwa-torunska-lightcond] [name]
        \definefontsynonym [SerifRegular]         [Serif]
        \definefontsynonym [SerifRegularCaps]     [AntykwaTorunska-CondLightCap]
        \definefontsynonym [SerifBoldCaps]        [AntykwaTorunska-CondMediumCap]
        \definefontsynonym [SerifItalicCaps]      [AntykwaTorunska-CondLightItalicCap]
        \definefontsynonym [SerifSlantedCaps]     [AntykwaTorunska-CondLightItalicCap]
        \definefontsynonym [SerifBoldItalicCaps]  [AntykwaTorunska-CondMedItalicCap]
        \definefontsynonym [SerifBoldSlantedCaps] [AntykwaTorunska-CondMedItalicCap]
        \definefontsynonym [SerifCapsCaps]        [AntykwaTorunska-CondLightCap]

        \definefontvariant [Serif][osf][Caps]
        \definefontvariant [Serif][sc] [Caps]

        \definefontsynonym [SerifRegularDark]     [AntykwaTorunska-CondRegular]
        \definefontsynonym [SerifBoldDark]        [AntykwaTorunska-CondBold]
        \definefontsynonym [SerifItalicDark]      [AntykwaTorunska-CondItalic]
        \definefontsynonym [SerifSlantedDark]     [AntykwaTorunska-CondItalic]
        \definefontsynonym [SerifBoldItalicDark]  [AntykwaTorunska-CondBoldItalic]
        \definefontsynonym [SerifBoldSlantedDark] [AntykwaTorunska-CondBoldItalic]
        \definefontsynonym [SerifCapsDark]        [AntykwaTorunska-CondCap]

        \definefontvariant [Serif][dk][Dark]

        \definefontsynonym [SerifRegularExp]     [AntykwaTorunska-Light]
        \definefontsynonym [SerifBoldExp]        [AntykwaTorunska-Medium]
        \definefontsynonym [SerifItalicExp]      [AntykwaTorunska-LightItalic]
        \definefontsynonym [SerifSlantedExp]     [AntykwaTorunska-LightItalic]
        \definefontsynonym [SerifBoldItalicExp]  [AntykwaTorunska-MedItalic]
        \definefontsynonym [SerifBoldSlantedExp] [AntykwaTorunska-MedItalic]
        \definefontsynonym [SerifCapsExp]        [AntykwaTorunska-LightCap]

        \definefontvariant [Serif][exp][Exp]

    \stoptypescript

    % maybe no -Regular etc

    \starttypescript [math] [antykwa-torunska-light] [name]
        \definefontsynonym [MathRoman]     [AntykwaTorunska-Math-Letters-Light]
        \definefontsynonym [MathItalic]    [AntykwaTorunska-Math-Letters-LightItalic]
        \definefontsynonym [MathSymbol]    [AntykwaTorunska-Math-Symbols-Light]
        \definefontsynonym [MathExtension] [AntykwaTorunska-Math-Extension-Light]
    \stoptypescript

    \starttypescript [math] [antykwa-torunska] [name]
        \definefontsynonym [MathRoman]     [AntykwaTorunska-Math-Letters-Regular]
        \definefontsynonym [MathItalic]    [AntykwaTorunska-Math-Letters-Italic]
        \definefontsynonym [MathSymbol]    [AntykwaTorunska-Math-Symbols-Regular]
        \definefontsynonym [MathExtension] [AntykwaTorunska-Math-Extension-Regular]
    \stoptypescript

    \starttypescript [math] [antykwa-torunska-cond] [name]
        \definefontsynonym [MathRoman]     [AntykwaTorunska-Math-Letters-CondRegular]
        \definefontsynonym [MathItalic]    [AntykwaTorunska-Math-Letters-CondItalic]
        \definefontsynonym [MathSymbol]    [AntykwaTorunska-Math-Symbols-CondRegular]
        \definefontsynonym [MathExtension] [AntykwaTorunska-Math-Extension-CondRegular]
    \stoptypescript

    \starttypescript [math] [antykwa-torunska-lightcond] [name]
        \definefontsynonym [MathRoman]     [AntykwaTorunska-Math-Letters-CondLight]
        \definefontsynonym [MathItalic]    [AntykwaTorunska-Math-Letters-CondLightItalic]
        \definefontsynonym [MathSymbol]    [AntykwaTorunska-Math-Symbols-CondLight]
        \definefontsynonym [MathExtension] [AntykwaTorunska-Math-Extension-CondLight]
    \stoptypescript

    \starttypescript [antykwa-torunska] [texnansi,ec,8r,uc,t5,t2a]
        \definetypeface[antykwa][rm][serif][antykwa-torunska]   [default][encoding=\typescripttwo]
        \definetypeface[antykwa][ss][sans] [modern]             [default][encoding=\typescripttwo,rscale=1.05]
        \definetypeface[antykwa][tt][mono] [modern]             [default][encoding=\typescripttwo,rscale=1.1]
        \definetypeface[antykwa][mm][math] [antykwa-torunska]   [default][encoding=\typescripttwo]
        \quittypescriptscanning
    \stoptypescript

    % Antykwa Poltawskiego (GUST)

    \starttypescript [serif] [antykwa-poltawskiego,antykwa-poltawskiego-light] [ec,texnansi,qx,t5]

        \definefontsynonym [AntykwaPoltawskiego-Condensed-Light]                [\typescriptthree-antpl17]     [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-Condensed-LightItalic]          [\typescriptthree-antpli17]    [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-Condensed-Regular]              [\typescriptthree-antpr17]     [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-Condensed-Italic]               [\typescriptthree-antpri17]    [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-Condensed-Medium]               [\typescriptthree-antpm17]     [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-Condensed-MediumItalic]         [\typescriptthree-antpmi17]    [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-Condensed-Bold]                 [\typescriptthree-antpb17]     [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-Condensed-BoldItalic]           [\typescriptthree-antpbi17]    [encoding=\typescriptthree]

        \definefontsynonym [AntykwaPoltawskiego-Condensed-CapsLight]            [\typescriptthree-antpl17-sc]  [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-Condensed-CapsLightItalic]      [\typescriptthree-antpli17-sc] [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-Condensed-CapsRegular]          [\typescriptthree-antpr17-sc]  [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-Condensed-CapsItalic]           [\typescriptthree-antpri17-sc] [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-Condensed-CapsMedium]           [\typescriptthree-antpm17-sc]  [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-Condensed-CapsMediumItalic]     [\typescriptthree-antpmi17-sc] [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-Condensed-CapsBold]             [\typescriptthree-antpb17-sc]  [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-Condensed-CapsBoldItalic]       [\typescriptthree-antpbi17-sc] [encoding=\typescriptthree]

        \definefontsynonym [AntykwaPoltawskiego-SemiCondensed-Regular]          [\typescriptthree-antpl12]     [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-SemiCondensed-Italic]           [\typescriptthree-antpli12]    [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-SemiCondensed-Regular]          [\typescriptthree-antpr12]     [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-SemiCondensed-Italic]           [\typescriptthree-antpri12]    [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-SemiCondensed-Medium]           [\typescriptthree-antpm12]     [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-SemiCondensed-MediumItalic]     [\typescriptthree-antpmi12]    [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-SemiCondensed-Bold]             [\typescriptthree-antpb12]     [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-SemiCondensed-BoldItalic]       [\typescriptthree-antpbi12]    [encoding=\typescriptthree]

        \definefontsynonym [AntykwaPoltawskiego-SemiCondensed-CapsRegular]      [\typescriptthree-antpl12-sc]  [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-SemiCondensed-CapsItalic]       [\typescriptthree-antpli12-sc] [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-SemiCondensed-CapsRegular]      [\typescriptthree-antpr12-sc]  [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-SemiCondensed-CapsItalic]       [\typescriptthree-antpri12-sc] [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-SemiCondensed-CapsMedium]       [\typescriptthree-antpm12-sc]  [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-SemiCondensed-CapsMediumItalic] [\typescriptthree-antpmi12-sc] [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-SemiCondensed-CapsBold]         [\typescriptthree-antpb12-sc]  [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-SemiCondensed-CapsBoldItalic]   [\typescriptthree-antpbi12-sc] [encoding=\typescriptthree]

        \definefontsynonym [AntykwaPoltawskiego-Light]                          [\typescriptthree-antpl10]     [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-LightItalic]                    [\typescriptthree-antpli10]    [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-Regular]                        [\typescriptthree-antpr10]     [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-Italic]                         [\typescriptthree-antpri10]    [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-Medium]                         [\typescriptthree-antpm10]     [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-MediumItalic]                   [\typescriptthree-antpmi10]    [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-Bold]                           [\typescriptthree-antpb10]     [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-BoldItalic]                     [\typescriptthree-antpbi10]    [encoding=\typescriptthree]

        \definefontsynonym [AntykwaPoltawskiego-CapsLight]                      [\typescriptthree-antpl10-sc]  [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-CapsLightItalic]                [\typescriptthree-antpli10-sc] [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-CapsRegular]                    [\typescriptthree-antpr10-sc]  [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-CapsItalic]                     [\typescriptthree-antpri10-sc] [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-CapsMedium]                     [\typescriptthree-antpm10-sc]  [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-CapsMediumItalic]               [\typescriptthree-antpmi10-sc] [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-CapsBold]                       [\typescriptthree-antpb10-sc]  [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-CapsBoldItalic]                 [\typescriptthree-antpbi10-sc] [encoding=\typescriptthree]

        \definefontsynonym [AntykwaPoltawskiego-SemiExpanded-Light]             [\typescriptthree-antpl8]      [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-SemiExpanded-LightItalic]       [\typescriptthree-antpli8]     [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-SemiExpanded-Regular]           [\typescriptthree-antpr8]      [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-SemiExpanded-Italic]            [\typescriptthree-antpri8]     [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-SemiExpanded-Medium]            [\typescriptthree-antpm8]      [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-SemiExpanded-MediumItalic]      [\typescriptthree-antpmi8]     [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-SemiExpanded-Bold]              [\typescriptthree-antpb8]      [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-SemiExpanded-BoldItalic]        [\typescriptthree-antpbi8]     [encoding=\typescriptthree]

        \definefontsynonym [AntykwaPoltawskiego-SemiExpanded-CapsLight]         [\typescriptthree-antpl8-sc]   [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-SemiExpanded-CapsLightItalic]   [\typescriptthree-antpli8-sc]  [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-SemiExpanded-CapsRegular]       [\typescriptthree-antpr8-sc]   [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-SemiExpanded-CapsItalic]        [\typescriptthree-antpri8-sc]  [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-SemiExpanded-CapsMedium]        [\typescriptthree-antpm8-sc]   [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-SemiExpanded-CapsMediumItalic]  [\typescriptthree-antpmi8-sc]  [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-SemiExpanded-CapsBold]          [\typescriptthree-antpb8-sc]   [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-SemiExpanded-CapsBoldItalic]    [\typescriptthree-antpbi8-sc]  [encoding=\typescriptthree]

        \definefontsynonym [AntykwaPoltawskiego-Expanded-Light]                 [\typescriptthree-antpl6]      [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-Expanded-LightItalic]           [\typescriptthree-antpli6]     [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-Expanded-Regular]               [\typescriptthree-antpr6]      [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-Expanded-Italic]                [\typescriptthree-antpri6]     [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-Expanded-Medium]                [\typescriptthree-antpm6]      [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-Expanded-MediumItalic]          [\typescriptthree-antpmi6]     [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-Expanded-Bold]                  [\typescriptthree-antpb6]      [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-Expanded-BoldItalic]            [\typescriptthree-antpbi6]     [encoding=\typescriptthree]

        \definefontsynonym [AntykwaPoltawskiego-Expanded-CapsLight]             [\typescriptthree-antpl6-sc]   [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-Expanded-CapsLightItalic]       [\typescriptthree-antpli6-sc]  [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-Expanded-CapsRegular]           [\typescriptthree-antpr6-sc]   [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-Expanded-CapsItalic]            [\typescriptthree-antpri6-sc]  [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-Expanded-CapsMedium]            [\typescriptthree-antpm6-sc]   [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-Expanded-CapsMediumItalic]      [\typescriptthree-antpmi6-sc]  [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-Expanded-CapsBold]              [\typescriptthree-antpb6-sc]   [encoding=\typescriptthree]
        \definefontsynonym [AntykwaPoltawskiego-Expanded-CapsBoldItalic]        [\typescriptthree-antpbi6-sc]  [encoding=\typescriptthree]

      % \loadmapfile[poltawski-\typescriptthree.map]
        \loadmapfile[ap-\typescriptthree.map]
    \stoptypescript

    \starttypescript [serif] [antykwa-poltawskiego] [name]
        \definefontsynonym [Serif]            [AntykwaPoltawskiego-Regular]
        \definefontsynonym [SerifBold]        [AntykwaPoltawskiego-Bold]
        \definefontsynonym [SerifItalic]      [AntykwaPoltawskiego-Italic]
        \definefontsynonym [SerifSlanted]     [AntykwaPoltawskiego-Italic]
        \definefontsynonym [SerifBoldItalic]  [AntykwaPoltawskiego-BoldItalic]
        \definefontsynonym [SerifBoldSlanted] [AntykwaPoltawskiego-BoldItalic]
        \definefontsynonym [SerifCaps]        [AntykwaPoltawskiego-CapsRegular]
    \stoptypescript

    \starttypescript [serif] [antykwa-poltawskiego-light] [name]
        \definefontsynonym [Serif]            [AntykwaPoltawskiego-Light]
        \definefontsynonym [SerifBold]        [AntykwaPoltawskiego-Medium]
        \definefontsynonym [SerifItalic]      [AntykwaPoltawskiego-LightItalic]
        \definefontsynonym [SerifSlanted]     [AntykwaPoltawskiego-LightItalic]
        \definefontsynonym [SerifBoldItalic]  [AntykwaPoltawskiego-MediumItalic]
        \definefontsynonym [SerifBoldSlanted] [AntykwaPoltawskiego-MediumItalic]
        \definefontsynonym [SerifCaps]        [AntykwaPoltawskiego-CapsLight]
    \stoptypescript

    % condensed and extended variants are still missing

    \starttypescript [antykwa-poltawskiego,antykwa-poltawskiego-light] [ec,texnansi,qx,t5]
        \definetypeface [\typescriptone] [rm] [serif] [\typescriptone] [default] [encoding=\typescripttwo]
        \definetypeface [\typescriptone] [ss] [sans]  [modern]         [default] [encoding=\typescripttwo,rscale=1.05] % scaling?
        \definetypeface [\typescriptone] [tt] [mono]  [modern]         [default] [encoding=\typescripttwo,rscale=1.05] % scaling?
        \definetypeface [\typescriptone] [mm] [math]  [modern]         [default] [encoding=\typescripttwo,rscale=1.05] % scaling?
        \quittypescriptscanning
    \stoptypescript

\stoptypescriptcollection

\starttypescriptcollection[iwona]

    % maybe this will change in Iwona-Math-Letters and Iwona-Math-Letters-Italic

    \starttypescript [sans] [iwona-light,iwona,iwona-medium,iwona-heavy,iwona-light-cond,iwona-cond,iwona-medium-cond,iwona-heavy-cond] [texnansi,ec,el,qx,t5]
        \definefontsynonym[Iwona-Regular]               [\typescriptthree-iwonar]      [encoding=\typescriptthree]
        \definefontsynonym[Iwona-Italic]                [\typescriptthree-iwonari]     [encoding=\typescriptthree]
        \definefontsynonym[Iwona-Bold]                  [\typescriptthree-iwonab]      [encoding=\typescriptthree]
        \definefontsynonym[Iwona-BoldItalic]            [\typescriptthree-iwonabi]     [encoding=\typescriptthree]
        \definefontsynonym[Iwona-Light-Regular]         [\typescriptthree-iwonal]      [encoding=\typescriptthree]
        \definefontsynonym[Iwona-Light-Italic]          [\typescriptthree-iwonali]     [encoding=\typescriptthree]
        \definefontsynonym[Iwona-Medium-Regular]        [\typescriptthree-iwonam]      [encoding=\typescriptthree]
        \definefontsynonym[Iwona-Medium-Italic]         [\typescriptthree-iwonami]     [encoding=\typescriptthree]
        \definefontsynonym[Iwona-Heavy-Regular]         [\typescriptthree-iwonah]      [encoding=\typescriptthree]
        \definefontsynonym[Iwona-Heavy-Italic]          [\typescriptthree-iwonahi]     [encoding=\typescriptthree]
        \definefontsynonym[Iwona-CapsRegular]           [\typescriptthree-iwonar-sc]   [encoding=\typescriptthree]
        \definefontsynonym[Iwona-CapsItalic]            [\typescriptthree-iwonari-sc]  [encoding=\typescriptthree]
        \definefontsynonym[Iwona-CapsBold]              [\typescriptthree-iwonab-sc]   [encoding=\typescriptthree]
        \definefontsynonym[Iwona-CapsBoldItalic]        [\typescriptthree-iwonabi-sc]  [encoding=\typescriptthree]
        \definefontsynonym[Iwona-CapsLight-Regular]     [\typescriptthree-iwonal-sc]   [encoding=\typescriptthree]
        \definefontsynonym[Iwona-CapsLight-Italic]      [\typescriptthree-iwonali-sc]  [encoding=\typescriptthree]
        \definefontsynonym[Iwona-CapsMedium-Regular]    [\typescriptthree-iwonam-sc]   [encoding=\typescriptthree]
        \definefontsynonym[Iwona-CapsMedium-Italic]     [\typescriptthree-iwonami-sc]  [encoding=\typescriptthree]
        \definefontsynonym[Iwona-CapsHeavy-Regular]     [\typescriptthree-iwonah-sc]   [encoding=\typescriptthree]
        \definefontsynonym[Iwona-CapsHeavy-Italic]      [\typescriptthree-iwonahi-sc]  [encoding=\typescriptthree]
        \definefontsynonym[Iwona-CondRegular]           [\typescriptthree-iwonacr]     [encoding=\typescriptthree]
        \definefontsynonym[Iwona-CondItalic]            [\typescriptthree-iwonacri]    [encoding=\typescriptthree]
        \definefontsynonym[Iwona-CondBold]              [\typescriptthree-iwonacb]     [encoding=\typescriptthree]
        \definefontsynonym[Iwona-CondBoldItalic]        [\typescriptthree-iwonacbi]    [encoding=\typescriptthree]
        \definefontsynonym[Iwona-CondLight-Regular]     [\typescriptthree-iwonacl]     [encoding=\typescriptthree]
        \definefontsynonym[Iwona-CondLight-Italic]      [\typescriptthree-iwonacli]    [encoding=\typescriptthree]
        \definefontsynonym[Iwona-CondMedium-Regular]    [\typescriptthree-iwonacm]     [encoding=\typescriptthree]
        \definefontsynonym[Iwona-CondMedium-Italic]     [\typescriptthree-iwonacmi]    [encoding=\typescriptthree]
        \definefontsynonym[Iwona-CondHeavy-Regular]     [\typescriptthree-iwonach]     [encoding=\typescriptthree]
        \definefontsynonym[Iwona-CondHeavy-Italic]      [\typescriptthree-iwonachi]    [encoding=\typescriptthree]
        \definefontsynonym[Iwona-CapsCondRegular]       [\typescriptthree-iwonacr-sc]  [encoding=\typescriptthree]
        \definefontsynonym[Iwona-CapsCondItalic]        [\typescriptthree-iwonacri-sc] [encoding=\typescriptthree]
        \definefontsynonym[Iwona-CapsCondBold]          [\typescriptthree-iwonacb-sc]  [encoding=\typescriptthree]
        \definefontsynonym[Iwona-CapsCondBoldItalic]    [\typescriptthree-iwonacbi-sc] [encoding=\typescriptthree]
        \definefontsynonym[Iwona-CapsCondLight-Regular] [\typescriptthree-iwonacl-sc]  [encoding=\typescriptthree]
        \definefontsynonym[Iwona-CapsCondLight-Italic]  [\typescriptthree-iwonacli-sc] [encoding=\typescriptthree]
        \definefontsynonym[Iwona-CapsCondMedium-Regular][\typescriptthree-iwonacm-sc]  [encoding=\typescriptthree]
        \definefontsynonym[Iwona-CapsCondMedium-Italic] [\typescriptthree-iwonacmi-sc] [encoding=\typescriptthree]
        \definefontsynonym[Iwona-CapsCondHeavy-Regular] [\typescriptthree-iwonach-sc]  [encoding=\typescriptthree]
        \definefontsynonym[Iwona-CapsCondHeavy-Italic]  [\typescriptthree-iwonachi-sc] [encoding=\typescriptthree]
        \loadmapfile[iwona-\typescriptthree.map]
    \stoptypescript

    \starttypescript [math] [iwona] [default]
        \definefontsynonym [Iwona-Math-Letters-Regular]       [rm-iwonar]
        \definefontsynonym [Iwona-Math-Letters-Italic]        [mi-iwonari]
        \definefontsynonym [Iwona-Math-Symbols-Regular]       [sy-iwonarz]
        \definefontsynonym [Iwona-Math-Extension-Regular]     [ex-iwonar]
    \stoptypescript

    \starttypescript [math] [iwona-light] [default]
        \definefontsynonym [Iwona-Math-Letters-Light-Regular] [rm-iwonal]
        \definefontsynonym [Iwona-Math-Letters-Light-Italic]  [mi-iwonali]
        \definefontsynonym [Iwona-Math-Symbols-Light]         [sy-iwonalz]
        \definefontsynonym [Iwona-Math-Extension-Light]       [ex-iwonal]
    \stoptypescript

    \starttypescript [math] [iwona-medium] [default]
        \definefontsynonym [Iwona-Math-Letters-Medium-Regular][rm-iwonam]
        \definefontsynonym [Iwona-Math-Letters-Medium-Italic] [mi-iwonami]
        \definefontsynonym [Iwona-Math-Symbols-Medium]        [sy-iwonamz]
        \definefontsynonym [Iwona-Math-Extension-Medium]      [ex-iwonam]
    \stoptypescript

    \starttypescript [math] [iwona-heavy] [default]
        \definefontsynonym [Iwona-Math-Letters-Heavy-Regular] [rm-iwonah]
        \definefontsynonym [Iwona-Math-Letters-Heavy-Italic]  [mi-iwonahi]
        \definefontsynonym [Iwona-Math-Symbols-Heavy]         [sy-iwonahz]
        \definefontsynonym [Iwona-Math-Extension-Heavy]       [ex-iwonah]
    \stoptypescript

    \starttypescript [math] [iwona,iwona-light,iwona-medium,iwona-heavy] [default]
        \usemathcollection[default]
        \loadmapfile[iwona-rm.map]
        \loadmapfile[iwona-mi.map]
        \loadmapfile[iwona-sy.map]
        \loadmapfile[iwona-ex.map]
    \stoptypescript

    \starttypescript [sans] [iwona-light] [name]
        \setups[font:fallback:sans]
        \definefontsynonym [Sans]               [Iwona-Light-Regular]
        \definefontsynonym [SansItalic]         [Iwona-Light-Italic]
        \definefontsynonym [SansBold]           [Iwona-Medium-Regular]
        \definefontsynonym [SansBoldItalic]     [Iwona-Medium-Italic]
        \definefontsynonym [SansCaps]           [Iwona-CapsLight]
        \definefontsynonym [SansItalicCaps]     [Iwona-CapsLightItalic]
        \definefontsynonym [SansBoldCaps]       [Iwona-CapsMedium]
        \definefontsynonym [SansBoldItalicCaps] [Iwona-CapsMediumItalic]
    \stoptypescript

    \starttypescript [sans] [iwona-light-caps] [name]
        \setups[font:fallback:sans]
        \definefontsynonym [Sans]           [Iwona-CapsLight-Regular]
        \definefontsynonym [SansItalic]     [Iwona-CapsLight-Italic]
        \definefontsynonym [SansBold]       [Iwona-CapsMedium-Regular]
        \definefontsynonym [SansBoldItalic] [Iwona-CapsMedium-Italic]
    \stoptypescript

    \starttypescript [sans] [iwona] [name]
        \setups[font:fallback:sans]
        \definefontsynonym [Sans]               [Iwona-Regular]
        \definefontsynonym [SansItalic]         [Iwona-Italic]
        \definefontsynonym [SansBold]           [Iwona-Bold]
        \definefontsynonym [SansBoldItalic]     [Iwona-BoldItalic]
        \definefontsynonym [SansCaps]           [Iwona-CapsRegular]
        \definefontsynonym [SansItalicCaps]     [Iwona-CapsItalic]
        \definefontsynonym [SansBoldCaps]       [Iwona-CapsBold]
        \definefontsynonym [SansBoldItalicCaps] [Iwona-CapsBoldItalic]
    \stoptypescript

    \starttypescript [sans] [iwona-caps] [name]
        \setups[font:fallback:sans]
        \definefontsynonym [Sans]           [Iwona-CapsRegular]
        \definefontsynonym [SansItalic]     [Iwona-CapsItalic]
        \definefontsynonym [SansBold]       [Iwona-CapsBold]
        \definefontsynonym [SansBoldItalic] [Iwona-CapsBoldItalic]
    \stoptypescript

    \starttypescript [sans] [iwona-medium] [name]
        \setups[font:fallback:sans]
        \definefontsynonym [Sans]               [Iwona-Medium-Regular]
        \definefontsynonym [SansItalic]         [Iwona-Medium-Italic]
        \definefontsynonym [SansBold]           [Iwona-Heavy-Regular]
        \definefontsynonym [SansBoldItalic]     [Iwona-Heavy-Italic]
        \definefontsynonym [SansCaps]           [Iwona-CapsHeavy-Regular]
        \definefontsynonym [SansItalicCaps]     [Iwona-CapsMedium-Italic]
        \definefontsynonym [SansBoldCaps]       [Iwona-CapsHeavy-Regular]
        \definefontsynonym [SansBoldItalicCaps] [Iwona-CapsHeavy-Italic]
    \stoptypescript

    \starttypescript [sans] [iwona-medium-caps] [name]
        \setups[font:fallback:sans]
        \definefontsynonym [Sans]           [Iwona-CapsHeavy-Regular]
        \definefontsynonym [SansItalic]     [Iwona-CapsMedium-Italic]
        \definefontsynonym [SansBold]       [Iwona-CapsHeavy-Regular]
        \definefontsynonym [SansBoldItalic] [Iwona-CapsHeavy-Italic]
    \stoptypescript

    \starttypescript [sans] [iwona-heavy] [name]
        \setups[font:fallback:sans]
        \definefontsynonym [Sans]               [Iwona-Heavy-Regular]
        \definefontsynonym [SansItalic]         [Iwona-Heavy-Italic]
        \definefontsynonym [SansBold]           [Iwona-Heavy-Regular]
        \definefontsynonym [SansBoldItalic]     [Iwona-Heavy-Italic]
        \definefontsynonym [SansCaps]           [Iwona-CapsHeavy-Regular]
        \definefontsynonym [SansItalicCaps]     [Iwona-CapsHeavy-Italic]
        \definefontsynonym [SansBoldCaps]       [Iwona-CapsHeavy-Regular]
        \definefontsynonym [SansBoldItalicCaps] [Iwona-CapsHeavy-Italic]
    \stoptypescript

    \starttypescript [sans] [iwona-heavy-caps] [name]
       \setups[font:fallback:sans]
       \definefontsynonym [SansCaps]           [Iwona-CapsHeavy-Regular]
       \definefontsynonym [SansItalicCaps]     [Iwona-CapsHeavy-Italic]
       \definefontsynonym [SansBoldCaps]       [Iwona-CapsHeavy-Regular]
       \definefontsynonym [SansBoldItalicCaps] [Iwona-CapsHeavy-Italic]
    \stoptypescript

    \starttypescript [sans] [iwona-light-cond] [name]
        \setups[font:fallback:sans]
        \definefontsynonym [Sans]               [Iwona-CondLight-Regular]
        \definefontsynonym [SansItalic]         [Iwona-CondLight-Italic]
        \definefontsynonym [SansBold]           [Iwona-CondMedium-Regular]
        \definefontsynonym [SansBoldItalic]     [Iwona-CondMedium-Italic]
        \definefontsynonym [SansCaps]           [Iwona-CapsCondLight-Regular]
        \definefontsynonym [SansItalicCaps]     [Iwona-CapsCondLight-Italic]
        \definefontsynonym [SansBoldCaps]       [Iwona-CapsCondMedium-Regular]
        \definefontsynonym [SansBoldItalicCaps] [Iwona-CapsCondMedium-Italic]
    \stoptypescript

    \starttypescript [sans] [iwona-light-cond-caps,iwona-light-caps-cond] [name]
        \setups[font:fallback:sans]
        \definefontsynonym [Sans]           [Iwona-CapsCondLight-Regular]
        \definefontsynonym [SansItalic]     [Iwona-CapsCondLight-Italic]
        \definefontsynonym [SansBold]       [Iwona-CapsCondMedium-Regular]
        \definefontsynonym [SansBoldItalic] [Iwona-CapsCondMedium-Italic]
    \stoptypescript

    \starttypescript [sans] [iwona-cond] [name]
        \setups[font:fallback:sans]
        \definefontsynonym [Sans]               [Iwona-CondRegular]
        \definefontsynonym [SansItalic]         [Iwona-CondItalic]
        \definefontsynonym [SansBold]           [Iwona-CondBold]
        \definefontsynonym [SansBoldItalic]     [Iwona-CondBoldItalic]
        \definefontsynonym [SansCaps]           [Iwona-CapsCondRegular]
        \definefontsynonym [SansItalicCaps]     [Iwona-CapsCondItalic]
        \definefontsynonym [SansBoldCaps]       [Iwona-CapsCondBold]
        \definefontsynonym [SansBoldItalicCaps] [Iwona-CapsCondBoldItalic]
    \stoptypescript

    \starttypescript [sans] [iwona-cond-caps,iwona-caps-cond] [name]
        \setups[font:fallback:sans]
        \definefontsynonym [Sans]           [Iwona-CapsCondRegular]
        \definefontsynonym [SansItalic]     [Iwona-CapsCondItalic]
        \definefontsynonym [SansBold]       [Iwona-CapsCondBold]
        \definefontsynonym [SansBoldItalic] [Iwona-CapsCondBoldItalic]
    \stoptypescript

    \starttypescript [sans] [iwona-medium-cond] [name]
        \setups[font:fallback:sans]
        \definefontsynonym [Sans]               [Iwona-CondMedium-Regular]
        \definefontsynonym [SansItalic]         [Iwona-CondMedium-Italic]
        \definefontsynonym [SansBold]           [Iwona-CondHeavy-Regular]
        \definefontsynonym [SansBoldItalic]     [Iwona-CondHeavy-Italic]
        \definefontsynonym [SansCaps]           [Iwona-CapsCondHeavy-Regular]
        \definefontsynonym [SansItalicCaps]     [Iwona-CapsCondMedium-Italic]
        \definefontsynonym [SansBoldCaps]       [Iwona-CapsCondHeavy-Regular]
        \definefontsynonym [SansBoldItalicCaps] [Iwona-CapsCondHeavy-Italic]
    \stoptypescript

    \starttypescript [sans] [iwona-medium-cond-caps,iwona-medium-caps-cond] [name]
        \setups[font:fallback:sans]
        \definefontsynonym [Sans]           [Iwona-CapsCondHeavy-Regular]
        \definefontsynonym [SansItalic]     [Iwona-CapsCondMedium-Italic]
        \definefontsynonym [SansBold]       [Iwona-CapsCondHeavy-Regular]
        \definefontsynonym [SansBoldItalic] [Iwona-CapsCondHeavy-Italic]
    \stoptypescript

    \starttypescript [math] [iwona-light] [name]
        \definefontsynonym [MathRoman]     [Iwona-Math-Letters-Light-Regular]
        \definefontsynonym [MathItalic]    [Iwona-Math-Letters-Light-Italic]
        \definefontsynonym [MathSymbol]    [Iwona-Math-Symbols-Light]
        \definefontsynonym [MathExtension] [Iwona-Math-Extension-Light]
    \stoptypescript

    \starttypescript [math] [iwona] [name]
        \definefontsynonym [MathRoman]     [Iwona-Math-Letters-Regular]
        \definefontsynonym [MathItalic]    [Iwona-Math-Letters-Italic]
        \definefontsynonym [MathSymbol]    [Iwona-Math-Symbols-Regular]
        \definefontsynonym [MathExtension] [Iwona-Math-Extension-Regular]
    \stoptypescript

    \starttypescript [math] [iwona-medium] [name]
        \definefontsynonym [MathRoman]     [Iwona-Math-Letters-Medium-Regular]
        \definefontsynonym [MathItalic]    [Iwona-Math-Letters-Medium-Italic]
        \definefontsynonym [MathSymbol]    [Iwona-Math-Symbols-Medium]
        \definefontsynonym [MathExtension] [Iwona-Math-Extension-Medium]
    \stoptypescript

    \starttypescript [math] [iwona-heavy] [name]
        \definefontsynonym [MathRoman]     [Iwona-Math-Letters-Heavy-Regular]
        \definefontsynonym [MathItalic]    [Iwona-Math-Letters-Heavy-Italic]
        \definefontsynonym [MathSymbol]    [Iwona-Math-Symbols-Heavy]
        \definefontsynonym [MathExtension] [Iwona-Math-Extension-Heavy]
    \stoptypescript

    \starttypescript [iwona,iwona-light,iwona-heavy,iwona-medium] [texnansi,ec,8r,uc,t2a]
        \definetypeface[\typescriptone][ss][sans] [\typescriptone] [default][encoding=\typescripttwo]
        \definetypeface[\typescriptone][rm][serif][modern]         [default][encoding=\typescripttwo]
        \definetypeface[\typescriptone][tt][mono] [modern]         [default][encoding=\typescripttwo]
        \definetypeface[\typescriptone][mm][math] [\typescriptone] [default][encoding=\typescripttwo,text=ss]
        \quittypescriptscanning
    \stoptypescript

\stoptypescriptcollection

\starttypescriptcollection[kurier]

    \starttypescript [sans] [kurier-light,kurier,kurier-medium] [texnansi,ec,qx,t5]
        \definefontsynonym[Kurier-Regular]       [\typescriptthree-kurierr]  [encoding=\typescriptthree]
        \definefontsynonym[Kurier-Italic]        [\typescriptthree-kurierri] [encoding=\typescriptthree]
        \definefontsynonym[Kurier-RegularItalic] [Kurier-Italic]
        \definefontsynonym[Kurier-Bold]          [\typescriptthree-kurierb]  [encoding=\typescriptthree]
        \definefontsynonym[Kurier-BoldItalic]    [\typescriptthree-kurierbi] [encoding=\typescriptthree]
        \definefontsynonym[Kurier-Light]         [\typescriptthree-kurierl]  [encoding=\typescriptthree]
        \definefontsynonym[Kurier-LightItalic]   [\typescriptthree-kurierli] [encoding=\typescriptthree]
        \definefontsynonym[Kurier-Medium]        [\typescriptthree-kurierm]  [encoding=\typescriptthree]
        \definefontsynonym[Kurier-MediumItalic]  [\typescriptthree-kuriermi] [encoding=\typescriptthree]
        \definefontsynonym[Kurier-Heavy]         [\typescriptthree-kurierh]  [encoding=\typescriptthree]
        \definefontsynonym[Kurier-HeavyItalic]   [\typescriptthree-kurierhi] [encoding=\typescriptthree]
        \loadmapfile[kurier-\typescriptthree.map]
    \stoptypescript

    \starttypescript [math] [kurier] [default]
        \definefontsynonym [Kurier-Math-Letters-Regular]       [rm-kurierr]
        \definefontsynonym [Kurier-Math-Letters-Italic]        [mi-kurierri]
        \definefontsynonym [Kurier-Math-Symbols-Regular]       [sy-kurierrz]
        \definefontsynonym [Kurier-Math-Extension-Regular]     [ex-kurierr]
    \stoptypescript

    \starttypescript [math] [kurier-light] [default]
        \definefontsynonym [Kurier-Math-Letters-Light-Regular] [rm-kurierl]
        \definefontsynonym [Kurier-Math-Letters-Light-Italic]  [mi-kurierli]
        \definefontsynonym [Kurier-Math-Symbols-Light]         [sy-kurierlz]
        \definefontsynonym [Kurier-Math-Extension-Light]       [ex-kurierl]
    \stoptypescript

    \starttypescript [math] [kurier-medium] [default]
        \definefontsynonym [Kurier-Math-Letters-Medium-Regular][rm-kurierm]
        \definefontsynonym [Kurier-Math-Letters-Medium-Italic] [mi-kuriermi]
        \definefontsynonym [Kurier-Math-Symbols-Medium]        [sy-kuriermz]
        \definefontsynonym [Kurier-Math-Extension-medium]      [ex-kurierm]
    \stoptypescript

    \starttypescript [math] [kurier,kurier-light,kurier-medium] [default]
        \usemathcollection[default]
        \loadmapfile[kurier-rm.map]
        \loadmapfile[kurier-mi.map]
        \loadmapfile[kurier-sy.map]
        \loadmapfile[kurier-ex.map]
    \stoptypescript

    \starttypescript [sans] [kurier-light] [name]
        \setups[font:fallback:sans]
        \definefontsynonym [Sans]           [Kurier-Light-Regular]
        \definefontsynonym [SansItalic]     [Kurier-Light-Italic]
        \definefontsynonym [SansBold]       [Kurier-Medium-Regular]
        \definefontsynonym [SansBoldItalic] [Kurier-Medium-Italic]
    \stoptypescript

    \starttypescript [sans] [kurier] [name]
        \setups[font:fallback:sans]
        \definefontsynonym [Sans]           [Kurier-Regular]
        \definefontsynonym [SansItalic]     [Kurier-Italic]
        \definefontsynonym [SansBold]       [Kurier-Bold]
        \definefontsynonym [SansBoldItalic] [Kurier-BoldItalic]
    \stoptypescript

    \starttypescript [sans] [kurier-medium] [name]
        \setups[font:fallback:sans]
        \definefontsynonym [Sans]           [Kurier-Medium-Regular]
        \definefontsynonym [SansItalic]     [Kurier-Medium-Italic]
        \definefontsynonym [SansBold]       [Kurier-Heavy-Regular]
        \definefontsynonym [SansBoldItalic] [Kurier-Heavy-Italic]
    \stoptypescript

    \starttypescript [math] [kurier-light] [name]
        \definefontsynonym [MathRoman]     [Kurier-Math-Letters-Light-Regular]
        \definefontsynonym [MathItalic]    [Kurier-Math-Letters-Light-Italic]
        \definefontsynonym [MathSymbol]    [Kurier-Math-Symbols-Light]
        \definefontsynonym [MathExtension] [Kurier-Math-Extension-Light]
    \stoptypescript

    \starttypescript [math] [kurier] [name]
        \definefontsynonym [MathRoman]     [Kurier-Math-Letters-Regular]
        \definefontsynonym [MathItalic]    [Kurier-Math-Letters-Italic]
        \definefontsynonym [MathSymbol]    [Kurier-Math-Symbols-Regular]
        \definefontsynonym [MathExtension] [Kurier-Math-Extension-Regular]
    \stoptypescript

    \starttypescript [math] [kurier-medium] [name]
        \definefontsynonym [MathRoman]     [Kurier-Math-Letters-Medium-Regular]
        \definefontsynonym [MathItalic]    [Kurier-Math-Letters-Medium-Italic]
        \definefontsynonym [MathSymbol]    [Kurier-Math-Symbols-Medium]
        \definefontsynonym [MathExtension] [Kurier-Math-Extension-Medium]
    \stoptypescript

    \starttypescript [kurier-light,kurier,kurier-medium] [texnansi,ec,qx,t5]
        \definetypeface[\typescriptone][ss][sans] [\typescriptone] [default][encoding=\typescripttwo]
        \definetypeface[\typescriptone][rm][serif][modern]         [default][encoding=\typescripttwo]
        \definetypeface[\typescriptone][tt][mono] [modern]         [default][encoding=\typescripttwo,rscale=1.05]
        \definetypeface[\typescriptone][mm][math] [\typescriptone] [default][encoding=\typescripttwo,text=ss]
        \quittypescriptscanning
    \stoptypescript

\stoptypescriptcollection

\starttypescriptcollection[charter]

    \starttypescript [serif] [charter] [ec,texnansi,8r]
        \definefontsynonym [Charter-Roman]      [\typescriptthree-bchr8a]                 [encoding=\typescriptthree]
        \definefontsynonym [Charter-Italic]     [\typescriptthree-bchri8a]                [encoding=\typescriptthree]
        \definefontsynonym [Charter-Bold]       [\typescriptthree-bchb8a]                 [encoding=\typescriptthree]
        \definefontsynonym [Charter-BoldItalic] [\typescriptthree-bchbi8a]                [encoding=\typescriptthree]
        \definefontsynonym [Charter-Slanted]    [\typescriptthree-bchr8a-slanted-167]     [encoding=\typescriptthree]
        \definefontsynonym [Charter-BoldSlanted][\typescriptthree-bchb8a-slanted-167]     [encoding=\typescriptthree]
        \definefontsynonym [Charter-Roman-Caps] [\typescriptthree-bchr8a-capitalized-800] [encoding=\typescriptthree]
        \loadmapfile[\typescriptthree-bitstrea-charter.map]
    \stoptypescript

    \starttypescript [serif] [charter] [name]
        \definefontsynonym [Serif]            [Charter-Roman]
        \definefontsynonym [SerifItalic]      [Charter-Italic]
        \definefontsynonym [SerifBold]        [Charter-Bold]
        \definefontsynonym [SerifBoldItalic]  [Charter-BoldItalic]
        \definefontsynonym [SerifSlanted]     [Charter-Slanted]
        \definefontsynonym [SerifBoldSlanted] [Charter-BoldSlanted]
        \definefontsynonym [SerifCaps]        [Charter-Roman-Caps]
    \stoptypescript

\stoptypescriptcollection

\starttypescriptcollection[symbols]

    \starttypescript
        \definefontsynonym [ZapfDingbats]          [uzdr]
        \definefontsynonym [RalfSmithFormalScript] [rsfs10]
        \definefontsynonym [MartinVogel]           [umvs]
    \stoptypescript

\stoptypescriptcollection

\starttypescriptcollection[texgyre]

    \definetypescriptprefix [f:pagella] [pl]  \definetypescriptprefix [f:palatino]   [pl]
    \definetypescriptprefix [f:termes]  [tm]  \definetypescriptprefix [f:times]      [tm]
    \definetypescriptprefix [f:heros]   [hv]  \definetypescriptprefix [f:helvetica]  [hv]
    \definetypescriptprefix [f:bonum]   [bk]  \definetypescriptprefix [f:bookman]    [bk]
    \definetypescriptprefix [f:schola]  [cs]  \definetypescriptprefix [f:schoolbook] [cs]
    \definetypescriptprefix [f:adventor][ag]  %definetypescriptprefix [f:adventor]   [ag]
    \definetypescriptprefix [f:cursor]  [cr]  \definetypescriptprefix [f:courier]    [cr]
    \definetypescriptprefix [f:chorus]  [zc]  \definetypescriptprefix [f:chancery]   [zc] % not the full set

    \starttypescript [serif,sans,mono] [pagella,palatino,termes,times,adventor,bonum,bookman,cursor,courier,heros,helvetica,schola,schoolbook] [ec,texnansi,cs,qx,rm,t5,t2a,t2b,t2c,l7x]
        \definefontsynonym [\typescriptprefix{n:\typescripttwo}-Regular]        [\typescriptthree-q\typescriptprefix{f:\typescripttwo}r]     [encoding=\typescriptthree]
        \definefontsynonym [\typescriptprefix{n:\typescripttwo}-Italic]         [\typescriptthree-q\typescriptprefix{f:\typescripttwo}ri]    [encoding=\typescriptthree]
        \definefontsynonym [\typescriptprefix{n:\typescripttwo}-Bold]           [\typescriptthree-q\typescriptprefix{f:\typescripttwo}b]     [encoding=\typescriptthree]
        \definefontsynonym [\typescriptprefix{n:\typescripttwo}-BoldItalic]     [\typescriptthree-q\typescriptprefix{f:\typescripttwo}bi]    [encoding=\typescriptthree]
        \loadmapfile[q\typescriptprefix{f:\typescripttwo}-\typescriptthree.map]
    \stoptypescript

    \starttypescript [serif,sans,mono] [pagella,palatino,termes,times,adventor,bonum,bookman,cursor,courier,heros,helvetica,schola,schoolbook] [ec,texnansi,cs,qx,rm,t5,l7x]
        \definefontsynonym [\typescriptprefix{n:\typescripttwo}-Caps]           [\typescriptthree-q\typescriptprefix{f:\typescripttwo}r-sc]  [encoding=\typescriptthree]
        \definefontsynonym [\typescriptprefix{n:\typescripttwo}-ItalicCaps]     [\typescriptthree-q\typescriptprefix{f:\typescripttwo}ri-sc] [encoding=\typescriptthree]
        \definefontsynonym [\typescriptprefix{n:\typescripttwo}-BoldCaps]       [\typescriptthree-q\typescriptprefix{f:\typescripttwo}b-sc]  [encoding=\typescriptthree]
        \definefontsynonym [\typescriptprefix{n:\typescripttwo}-BoldItalicCaps] [\typescriptthree-q\typescriptprefix{f:\typescripttwo}bi-sc] [encoding=\typescriptthree]
        \loadmapfile[q\typescriptprefix{f:\typescripttwo}-\typescriptthree.map]
    \stoptypescript

    \starttypescript [serif,calligraphy] [chorus,chancery] [ec,texnansi,cs,qx,rm,t5,t2a,t2b,t2c,l7x]
        \definefontsynonym [TeXGyreChorus-MediumItalic] [\typescriptthree-qzcmi] [encoding=\typescriptthree]
        \loadmapfile[qzc-\typescriptthree.map]
    \stoptypescript

    \definetypescriptprefix [n:pagella]    [TeXGyrePagella]  \definetypescriptprefix [n:palatino]   [TeXGyrePagella]
    \definetypescriptprefix [n:termes]     [TeXGyreTermes]   \definetypescriptprefix [n:times]      [TeXGyreTermes]
    \definetypescriptprefix [n:heros]      [TeXGyreHeros]    \definetypescriptprefix [n:helvetica]  [TeXGyreHeros]
    \definetypescriptprefix [n:bonum]      [TeXGyreBonum]    \definetypescriptprefix [n:bookman]    [TeXGyreBonum]
    \definetypescriptprefix [n:schola]     [TeXGyreSchola]   \definetypescriptprefix [n:schoolbook] [TeXGyreSchola]
    \definetypescriptprefix [n:adventor]   [TeXGyreAdventor] %definetypescriptprefix [n:adventor]   [TeXGyreAdventor]
    \definetypescriptprefix [n:cursor]     [TeXGyreCursor]   \definetypescriptprefix [n:courier]    [TeXGyreCursor]
    \definetypescriptprefix [n:chorus]     [TeXGyreChorus]   \definetypescriptprefix [n:chancery]   [TeXGyreChorus] % not the full set

    \starttypescript [serif] [pagella,palatino,termes,times,bonum,bookman,schola,schoolbook] [name]
        \definefontsynonym [Serif]                [\typescriptprefix{n:\typescripttwo}-Regular]
        \definefontsynonym [SerifItalic]          [\typescriptprefix{n:\typescripttwo}-Italic]
        \definefontsynonym [SerifBold]            [\typescriptprefix{n:\typescripttwo}-Bold]
        \definefontsynonym [SerifBoldItalic]      [\typescriptprefix{n:\typescripttwo}-BoldItalic]
        \definefontsynonym [SerifSlanted]         [SerifItalic]
        \definefontsynonym [SerifBoldSlanted]     [SerifBoldItalic]
        \definefontsynonym [SerifCaps]            [\typescriptprefix{n:\typescripttwo}-Caps]

        \definefontvariant [Serif][osf][Caps]
        \definefontvariant [Serif][sc] [Caps]

        \definefontsynonym [SerifRegular]         [Serif]
        \definefontsynonym [SerifRegularCaps]     [SerifCaps]
        \definefontsynonym [SerifItalicCaps]      [\typescriptprefix{n:\typescripttwo}-ItalicCaps]
        \definefontsynonym [SerifBoldCaps]        [\typescriptprefix{n:\typescripttwo}-BoldCaps]
        \definefontsynonym [SerifBoldItalicCaps]  [\typescriptprefix{n:\typescripttwo}-BoldItalicCaps]
        \definefontsynonym [SerifSlantedCaps]     [SerifItalicCaps]
        \definefontsynonym [SerifBoldSlantedCaps] [SerifBoldItalicCaps]
        \definefontsynonym [SerifCapsCaps]        [SerifCaps]
    \stoptypescript

    \starttypescript [serif] [chorus,chancery] [name]
        \definefontsynonym [SerifMediumItalic] [TeXGyreChorus-MediumItalic]
        \definefontsynonym [Serif]             [SerifMediumItalic]
        \definefontsynonym [SerifItalic]       [SerifMediumItalic]
        \definefontsynonym [SerifBold]         [SerifMediumItalic]
        \definefontsynonym [SerifBoldItalic]   [SerifMediumItalic]
        \definefontsynonym [SerifSlanted]      [SerifMediumItalic]
        \definefontsynonym [SerifBoldSlanted]  [SerifMediumItalic]
        \definefontsynonym [SerifCaps]         [SerifMediumItalic]
    \stoptypescript

    \starttypescript [calligraphy] [chorus,chancery] [name]
        \definefontsynonym [Calligraphy] [TeXGyreChorus-MediumItalic]
    \stoptypescript

    \starttypescript [sans] [heros,helvetica,adventor] [name]
        \definefontsynonym [Sans]                [\typescriptprefix{n:\typescripttwo}-Regular]
        \definefontsynonym [SansItalic]          [\typescriptprefix{n:\typescripttwo}-Italic]
        \definefontsynonym [SansBold]            [\typescriptprefix{n:\typescripttwo}-Bold]
        \definefontsynonym [SansBoldItalic]      [\typescriptprefix{n:\typescripttwo}-BoldItalic]
        \definefontsynonym [SansSlanted]         [SansItalic]
        \definefontsynonym [SansBoldSlanted]     [SansBoldItalic]
        \definefontsynonym [SansCaps]            [\typescriptprefix{n:\typescripttwo}-Caps]

        \definefontvariant [Sans][osf][Caps]
        \definefontvariant [Sans][sc] [Caps]

        \definefontsynonym [SansRegular]         [Sans]
        \definefontsynonym [SansRegularCaps]     [SansCaps]
        \definefontsynonym [SansItalicCaps]      [\typescriptprefix{n:\typescripttwo}-ItalicCaps]
        \definefontsynonym [SansBoldCaps]        [\typescriptprefix{n:\typescripttwo}-BoldCaps]
        \definefontsynonym [SansBoldItalicCaps]  [\typescriptprefix{n:\typescripttwo}-BoldItalicCaps]
        \definefontsynonym [SansSlantedCaps]     [SansItalicCaps]
        \definefontsynonym [SansBoldSlantedCaps] [SansBoldItalicCaps]
        \definefontsynonym [SansCapsCaps]        [SansCaps]
    \stoptypescript

    \starttypescript [mono] [cursor,courier] [name]
        \definefontsynonym [Mono]                [\typescriptprefix{n:\typescripttwo}-Regular]
        \definefontsynonym [MonoItalic]          [\typescriptprefix{n:\typescripttwo}-Italic]
        \definefontsynonym [MonoBold]            [\typescriptprefix{n:\typescripttwo}-Bold]
        \definefontsynonym [MonoBoldItalic]      [\typescriptprefix{n:\typescripttwo}-BoldItalic]
        \definefontsynonym [MonoSlanted]         [MonoItalic]
        \definefontsynonym [MonoBoldSlanted]     [MonoBoldItalic]

        \definefontvariant [Mono][osf][Caps]
        \definefontvariant [Mono][sc] [Caps]

        \definefontsynonym [MonoRegular]         [Mono]
        \definefontsynonym [MonoRegularCaps]     [MonoCaps]
        \definefontsynonym [MonoItalicCaps]      [\typescriptprefix{n:\typescripttwo}-ItalicCaps]
        \definefontsynonym [MonoBoldCaps]        [\typescriptprefix{n:\typescripttwo}-BoldCaps]
        \definefontsynonym [MonoBoldItalicCaps]  [\typescriptprefix{n:\typescripttwo}-BoldItalicCaps]
        \definefontsynonym [MonoSlantedCaps]     [MonoItalicCaps]
        \definefontsynonym [MonoBoldSlantedCaps] [MonoBoldItalicCaps]
        \definefontsynonym [MonoCapsCaps]        [MonoCaps]
    \stoptypescript

    % bonus definitions

    % when these fonts are in tex live ...
    %
    % \definefontsynonym [Palatino-Caps] [TeXPalladioL-SC] [encoding=\typescriptthree]
    %
    % \starttypescript [serif] [palatino] [ec,texnansi]
    %     \definefontsynonym[TeXPalladioL-BoldItalicOsF][\typescriptthree-fplbij8a][encoding=\typescriptthree]
    %     \definefontsynonym[TeXPalladioL-BoldOsF]      [\typescriptthree-fplbj8a] [encoding=\typescriptthree]
    %     \definefontsynonym[TeXPalladioL-SC]           [\typescriptthree-fplrc8a] [encoding=\typescriptthree]
    %     \definefontsynonym[TeXPalladioL-ItalicOsF]    [\typescriptthree-fplrij8a][encoding=\typescriptthree]
    %     \loadmapfile[\typescriptthree-urw-palatino.map]
    % \stoptypescript

    % Faces:

    \starttypescript [times,termes] [ec,texnansi,cs,qx,rm,t5,t2a,t2b,t2c,l7x]
        \definetypeface [\typescriptone] [rm] [serif] [\typescriptone] [default] [encoding=\typescripttwo]
        \definetypeface [\typescriptone] [ss] [sans]  [helvetica]      [default] [encoding=\typescripttwo,rscale=0.9]
        \definetypeface [\typescriptone] [tt] [mono]  [modern]         [default] [encoding=\typescripttwo,rscale=1.05]
        \definetypeface [\typescriptone] [mm] [math]  [times]          [default] [encoding=\typescripttwo]
        \quittypescriptscanning
    \stoptypescript

    \starttypescript [palatino,pagella] [ec,texnansi,cs,qx,rm,t5,t2a,t2b,t2c,l7x]
        \definetypeface [\typescriptone] [rm] [serif] [\typescriptone] [default] [encoding=\typescripttwo]
        \definetypeface [\typescriptone] [ss] [sans]  [modern]         [default] [encoding=\typescripttwo,rscale=1.075]
        \definetypeface [\typescriptone] [tt] [mono]  [modern]         [default] [encoding=\typescripttwo,rscale=1.075]
        \definetypeface [\typescriptone] [mm] [math]  [palatino]       [default] [encoding=default]
        \quittypescriptscanning
    \stoptypescript

    \starttypescript [schoolbook,schola] [ec,texnansi,cs,qx,rm,t5,t2a,t2b,t2c,l7x]
        \definetypeface [\typescriptone] [rm] [serif] [\typescriptone] [default] [encoding=\typescripttwo]
        \definetypeface [\typescriptone] [ss] [sans]  [modern]         [default] [encoding=\typescripttwo]
        \definetypeface [\typescriptone] [tt] [mono]  [modern]         [default] [encoding=\typescripttwo]
        \definetypeface [\typescriptone] [mm] [math]  [modern]         [default] [encoding=default]
        \quittypescriptscanning
    \stoptypescript

    \starttypescript [bookman,bonum] [ec,texnansi,cs,qx,rm,t5,t2a,t2b,t2c,l7x]
        \definetypeface [\typescriptone] [rm] [serif] [\typescriptone] [default] [encoding=\typescripttwo]
        \definetypeface [\typescriptone] [ss] [sans]  [modern]         [default] [encoding=\typescripttwo]
        \definetypeface [\typescriptone] [tt] [mono]  [modern]         [default] [encoding=\typescripttwo]
        \definetypeface [\typescriptone] [mm] [math]  [modern]         [default] [encoding=default]
        \quittypescriptscanning
    \stoptypescript

    \starttypescript [chancery,chorus] [ec,texnansi,cs,qx,rm,t5,t2a,t2b,t2c,l7x]
        \definetypeface [\typescriptone] [rm] [serif] [\typescriptone] [default] [encoding=\typescripttwo]
        \definetypeface [\typescriptone] [ss] [sans]  [modern]         [default] [encoding=\typescripttwo]
        \definetypeface [\typescriptone] [tt] [mono]  [modern]         [default] [encoding=\typescripttwo]
        \definetypeface [\typescriptone] [mm] [math]  [modern]         [default] [encoding=default]
        \quittypescriptscanning
    \stoptypescript

    \starttypescript [helvetica,heros] [ec,texnansi,cs,qx,rm,t5,t2a,t2b,t2c,l7x]
        \definetypeface [\typescriptone] [ss] [sans]  [\typescriptone] [default] [encoding=\typescripttwo]
        \definetypeface [\typescriptone] [rm] [serif] [modern]         [default] [encoding=\typescripttwo,rscale=1.15]
        \definetypeface [\typescriptone] [tt] [mono]  [modern]         [default] [encoding=\typescripttwo,rscale=1.15]
        \definetypeface [\typescriptone] [mm] [math]  [modern]         [default] [encoding=default,rscale=1.15]
        \quittypescriptscanning
    \stoptypescript

    \starttypescript [avantgarde,adventor] [ec,texnansi,cs,qx,rm,t5,t2a,t2b,t2c,l7x]
        \definetypeface [\typescriptone] [ss] [sans]  [adventor] [default] [encoding=\typescripttwo]
        \definetypeface [\typescriptone] [rm] [serif] [modern]   [default] [encoding=\typescripttwo,rscale=1.15]
        \definetypeface [\typescriptone] [tt] [mono]  [modern]   [default] [encoding=\typescripttwo,rscale=1.15]
        \definetypeface [\typescriptone] [mm] [math]  [modern]   [default] [encoding=default]
        \quittypescriptscanning
    \stoptypescript

    \starttypescript [courier,cursor] [ec,texnansi,cs,qx,rm,t5,t2a,t2b,t2c,l7x]
        \definetypeface [\typescriptone] [tt] [mono]  [\typescriptone] [default] [encoding=\typescripttwo]
        \definetypeface [\typescriptone] [rm] [serif] [modern]         [default] [encoding=\typescripttwo]
        \definetypeface [\typescriptone] [ss] [sans]  [modern]         [default] [encoding=\typescripttwo]
        \definetypeface [\typescriptone] [mm] [math]  [modern]         [default] [encoding=default]
        \quittypescriptscanning
    \stoptypescript

\stoptypescriptcollection

\starttypescriptcollection[xmath]

    \starttypescript [math] [palatino] [all]
        \definefontsynonym [Palatino-Roman-Upright]     [pxr]
        \definefontsynonym [Palatino-Roman-Italic]      [pxi]
        \definefontsynonym [Palatino-Roman-Slanted]     [pxsl]
        \definefontsynonym [Palatino-Roman-Caps]        [pxsc]
        \definefontsynonym [Palatino-Companion-Upright] [pcxr]
        \definefontsynonym [Palatino-Companion-Italic]  [pcxi]
        \definefontsynonym [Palatino-Companion-Slanted] [pcxsl]
        \definefontsynonym [Palatino-Math-Italic]       [pxmi]
        \definefontsynonym [Palatino-Math-Symbols]      [pxsy]
        \definefontsynonym [Palatino-Math-Extension]    [pxex]
        \definefontsynonym [Palatino-Math-SymbolsA]     [pxsya]
        \definefontsynonym [Palatino-Math-SymbolsB]     [pxsyb]
        \definefontsynonym [Palatino-Math-SymbolsC]     [pxsyc]
        \definefontsynonym [Palatino-Math-Italic-A]     [pxmia]
        \definefontsynonym [Palatino-Math-Extension-A]  [pxexa]
        \usemathcollection[default]
        \loadmapfile[original-youngryu-px.map]
    \stoptypescript

    \starttypescript [math] [times] [all]
        \definefontsynonym [Times-Roman-Upright]     [txr]
        \definefontsynonym [Times-Roman-Italic]      [txi]
        \definefontsynonym [Times-Roman-Slanted]     [txsl]
        \definefontsynonym [Times-Roman-Caps]        [txsc]
        \definefontsynonym [Times-Companion-Upright] [tcxr]
        \definefontsynonym [Times-Companion-Italic]  [tcxi]
        \definefontsynonym [Times-Companion-Slanted] [tcxsl]
        \definefontsynonym [Times-Math-Italic]       [txmi]
        \definefontsynonym [Times-Math-Symbols]      [txsy]
        \definefontsynonym [Times-Math-Extension]    [txex]
        \definefontsynonym [Times-Math-SymbolsA]     [txsya]
        \definefontsynonym [Times-Math-SymbolsB]     [txsyb]
        \definefontsynonym [Times-Math-SymbolsC]     [txsyc]
        \definefontsynonym [Times-Math-Italic-A]     [txmia]
        \definefontsynonym [Times-Math-Extension-A]  [txexa]
        \usemathcollection[default]
        \loadmapfile[original-youngryu-tx.map]
    \stoptypescript

\stoptypescriptcollection

\starttypescriptcollection[pregyre]

    %D These are just fallbacks in case anyone stil uses the
    %D old names (might also be removed?).

    % TeXGyrePagella

    \starttypescript [serif] [palatino]
      \definefontsynonym [Palatino]             [TeXGyrePagella-Regular]
      \definefontsynonym [Palatino-Italic]      [TeXGyrePagella-Italic]
      \definefontsynonym [Palatino-Bold]        [TeXGyrePagella-Bold]
      \definefontsynonym [Palatino-BoldItalic]  [TeXGyrePagella-BoldItalic]
      \definefontsynonym [Palatino-Slanted]     [TeXGyrePagella-Italic]
      \definefontsynonym [Palatino-BoldSlanted] [TeXGyrePagella-BoldItalic]
      \definefontsynonym [Palatino-Caps]        [TeXGyrePagella-Caps]
    \stoptypescript

    \starttypescript [serif] [palatino] [name]
        \definefontsynonym [Serif]            [Palatino]
        \definefontsynonym [SerifBold]        [Palatino-Bold]
        \definefontsynonym [SerifItalic]      [Palatino-Italic]
        \definefontsynonym [SerifSlanted]     [Palatino-Slanted]
        \definefontsynonym [SerifBoldItalic]  [Palatino-BoldItalic]
        \definefontsynonym [SerifBoldSlanted] [Palatino-BoldSlanted]
        \definefontsynonym [SerifCaps]        [Palatino-Caps]
    \stoptypescript

    \starttypescript [math] [palatino] [name]
        \definefontsynonym [MathRoman]     [Palatino-Roman-Upright]
        \definefontsynonym [MathExtension] [Palatino-Math-Extension]
        \definefontsynonym [MathItalic]    [Palatino-Math-Italic]
        \definefontsynonym [MathSymbol]    [Palatino-Math-Symbols]
        \definefontsynonym [MathAlpha]     [Palatino-Math-SymbolsA]
        \definefontsynonym [MathBeta]      [Palatino-Math-SymbolsB]
    \stoptypescript

    \starttypescript [math] [palatino] [name]
        \definefontsynonym [OldStyle]     [MathItalic]
        \definefontsynonym [Fraktur]      [eufm10]
        \definefontsynonym [Blackboard]   [MathBeta]
        \definefontsynonym [Gothic]       [eufm10]
        \definefontsynonym [Calligraphic] [eusm10]
    \stoptypescript

    % TeXGyreTermes

    \starttypescript [serif] [times]
      \definefontsynonym [Times-Roman]          [TeXGyreTermes-Regular]
      \definefontsynonym [Times-Italic]         [TeXGyreTermes-Italic]
      \definefontsynonym [Times-Bold]           [TeXGyreTermes-Bold]
      \definefontsynonym [Times-BoldItalic]     [TeXGyreTermes-BoldItalic]
      \definefontsynonym [Times-Slanted]        [TeXGyreTermes-Italic]
      \definefontsynonym [Times-BoldSlanted]    [TeXGyreTermes-BoldItalic]
      \definefontsynonym [Times-Caps]           [TeXGyreTermes-Caps]
    \stoptypescript

    \starttypescript [serif] [times] [name]
        \definefontsynonym [Serif]            [Times-Roman]
        \definefontsynonym [SerifBold]        [Times-Bold]
        \definefontsynonym [SerifItalic]      [Times-Italic]
        \definefontsynonym [SerifSlanted]     [Times-Italic]
        \definefontsynonym [SerifBoldItalic]  [Times-BoldItalic]
        \definefontsynonym [SerifBoldSlanted] [Times-BoldItalic]
        \definefontsynonym [SerifCaps]        [Times-Caps]
    \stoptypescript

    \starttypescript [math] [times] [name]
        \definefontsynonym [MathRoman]     [Times-Roman-Upright]
        \definefontsynonym [MathExtension] [Times-Math-Extension]
        \definefontsynonym [MathItalic]    [Times-Math-Italic]
        \definefontsynonym [MathSymbol]    [Times-Math-Symbols]
        \definefontsynonym [MathAlpha]     [Times-Math-SymbolsA]
        \definefontsynonym [MathBeta]      [Times-Math-SymbolsB]
    \stoptypescript

    \starttypescript [math] [times] [name]
        \definefontsynonym [OldStyle]     [MathItalic]
        \definefontsynonym [Fraktur]      [eufm10]
        \definefontsynonym [Blackboard]   [MathBeta]
        \definefontsynonym [Gothic]       [eufm10]
        \definefontsynonym [Calligraphic] [eusm10]
    \stoptypescript

    % TeXGyreHeros

    \starttypescript [sans] [helvetica]
      \definefontsynonym [Helvetica]              [TeXGyreHeros-Regular]
      \definefontsynonym [Helvetica-Oblique]      [TeXGyreHeros-Italic]
      \definefontsynonym [Helvetica-Bold]         [TeXGyreHeros-Bold]
      \definefontsynonym [Helvetica-BoldOblique]  [TeXGyreHeros-BoldItalic]
      \definefontsynonym [Helvetica-Caps]         [TeXGyreHeros-Caps]
    \stoptypescript

    \starttypescript [sans] [helvetica] [name]
        \definefontsynonym [Sans]            [Helvetica]
        \definefontsynonym [SansBold]        [Helvetica-Bold]
        \definefontsynonym [SansItalic]      [Helvetica-Oblique]
        \definefontsynonym [SansSlanted]     [Helvetica-Oblique]
        \definefontsynonym [SansBoldItalic]  [Helvetica-BoldOblique]
        \definefontsynonym [SansBoldSlanted] [Helvetica-BoldOblique]
        \definefontsynonym [SansCaps]        [Helvetica-Caps]
    \stoptypescript

    \starttypescript [math] [helvetica] [name]
        \definefontsynonym [MathRoman]     [Helvetica-MathRoman]
        \definefontsynonym [MathExtension] [Helvetica-MathExtendedSymbols]
        \definefontsynonym [MathItalic]    [Helvetica-MathItalics]
        \definefontsynonym [MathSymbol]    [Helvetica-MathSymbols]
    \stoptypescript

    % TeXGyreBonum

    \starttypescript [serif] [bookman]
      \definefontsynonym [Bookman-Light]            [TeXGyreBonum-Regular]
      \definefontsynonym [Bookman-LightItalic]      [TeXGyreBonum-Italic]
      \definefontsynonym [Bookman-DemiBold]         [TeXGyreBonum-Bold]
      \definefontsynonym [Bookman-DemiBoldItalic]   [TeXGyreBonum-BoldItalic]
      \definefontsynonym [Bookman-LightSlanted]     [TeXGyreBonum-Italic]
      \definefontsynonym [Bookman-DemiBoldSlanted]  [TeXGyreBonum-BoldItalic]
      \definefontsynonym [Bookman-Light-Caps]       [TeXGyreBonum-Caps]
    \stoptypescript

    \starttypescript [serif] [bookman] [name]
        \definefontsynonym [Serif]            [Bookman-Light]
        \definefontsynonym [SerifItalic]      [Bookman-LightItalic]
        \definefontsynonym [SerifBold]        [Bookman-DemiBold]
        \definefontsynonym [SerifBoldItalic]  [Bookman-DemiBoldItalic]
        \definefontsynonym [SerifSlanted]     [Bookman-LightSlanted]
        \definefontsynonym [SerifBoldSlanted] [Bookman-DemiBoldSlanted]
        \definefontsynonym [SerifCaps]        [Bookman-Light-Caps]
    \stoptypescript

    % TeXGyreScola

    \starttypescript [serif] [schoolbook]
      \definefontsynonym [Schoolbook-Roman]        [TeXGyreScola-Regular]
      \definefontsynonym [Schoolbook-Italic]       [TeXGyreScola-Italic]
      \definefontsynonym [Schoolbook-Bold]         [TeXGyreScola-Bold]
      \definefontsynonym [Schoolbook-BoldItalic]   [TeXGyreScola-BoldItalic]
      \definefontsynonym [Schoolbook-Slanted]      [TeXGyreScola-Italic]
      \definefontsynonym [Schoolbook-BoldSlanted]  [TeXGyreScola-BoldItalic]
      \definefontsynonym [Schoolbook-Roman-Caps]   [TeXGyreScola-Caps]
    \stoptypescript

    \starttypescript [serif] [schoolbook] [name]
        \definefontsynonym [Serif]            [Schoolbook-Roman]
        \definefontsynonym [SerifItalic]      [Schoolbook-Italic]
        \definefontsynonym [SerifBold]        [Schoolbook-Bold]
        \definefontsynonym [SerifBoldItalic]  [Schoolbook-BoldItalic]
        \definefontsynonym [SerifSlanted]     [Schoolbook-RomanSlanted]
        \definefontsynonym [SerifBoldSlanted] [Schoolbook-BoldSlanted]
        \definefontsynonym [SerifCaps]        [Schoolbook-Roman-Caps]
    \stoptypescript

    % TeXGyreAdventor

    % TeXGyreCursor

    \starttypescript [mono] [courier]
        \definefontsynonym [Courier]              [TeXGyreCursor-Regular]
        \definefontsynonym [Courier-Bold]         [TeXGyreCursor-Bold]
        \definefontsynonym [Courier-Oblique]      [TeXGyreCursor-Italic]
        \definefontsynonym [Courier-BoldOblique]  [TeXGyreCursor-BoldItalic]
        \fakecontrolspace
    \stoptypescript

    \starttypescript [mono] [courier] [name]
        \definefontsynonym [Mono]            [Courier]
        \definefontsynonym [MonoBold]        [Courier-Bold]
        \definefontsynonym [MonoItalic]      [Courier-Oblique]
        \definefontsynonym [MonoSlanted]     [Courier-Oblique]
        \definefontsynonym [MonoBoldItalic]  [Courier-BoldOblique]
        \definefontsynonym [MonoBoldSlanted] [Courier-BoldOblique]
        \definefontsynonym [MonoCaps]        [Courier]
    \stoptypescript

    % TeXGyreChorus

    \starttypescript [calligraphy] [chancery]
        \definefontsynonym [Chancery] [TeXGyreChorus-MediumItalic]
    \stoptypescript

    \starttypescript [calligraphy] [chancery] [name]
        \definefontsynonym [Calligraphy] [Chancery]
    \stoptypescript

\stoptypescriptcollection

\starttypescriptcollection[Lucida]

    % We can remove the intermediate names as no one will use them.

    \definetypescriptprefix [e:ec]       [8t]
    \definetypescriptprefix [e:texnansi] [8y]
    \definetypescriptprefix [e:8r]       [8r]

    % Lucida Bright

    \starttypescript [serif] [lucida] [ec,texnansi,8r]
        \definefontsynonym [\typescriptthree-lbr]    [hlhr\typescriptprefix{e:\typescriptthree}] [encoding=\typescriptthree] % LucidaBright
        \definefontsynonym [\typescriptthree-lbd]    [hlhb\typescriptprefix{e:\typescriptthree}] [encoding=\typescriptthree] % LucidaBright-Demi
        \definefontsynonym [\typescriptthree-lbi]   [hlhri\typescriptprefix{e:\typescriptthree}] [encoding=\typescriptthree] % LucidaBright-Italic
        \definefontsynonym [\typescriptthree-lbdi]  [hlhbi\typescriptprefix{e:\typescriptthree}] [encoding=\typescriptthree] % LucidaBright-DemiItalic
        \definefontsynonym [\typescriptthree-lbsl]  [hlhro\typescriptprefix{e:\typescriptthree}] [encoding=\typescriptthree] % LucidaBright-Oblique
        \definefontsynonym [\typescriptthree-lbrsc] [hlhrc\typescriptprefix{e:\typescriptthree}] [encoding=\typescriptthree] % LucidaBrightSmallcaps
        \definefontsynonym [\typescriptthree-lbdsc] [hlhbc\typescriptprefix{e:\typescriptthree}] [encoding=\typescriptthree] % LucidaBrightSmallcaps-Demi

        \definefontsynonym [LucidaBright]               [\typescriptthree-lbr]   [encoding=\typescriptthree]
        \definefontsynonym [LucidaBright-Demi]          [\typescriptthree-lbd]   [encoding=\typescriptthree]
        \definefontsynonym [LucidaBright-Italic]        [\typescriptthree-lbi]   [encoding=\typescriptthree]
        \definefontsynonym [LucidaBright-DemiItalic]    [\typescriptthree-lbdi]  [encoding=\typescriptthree]
        \definefontsynonym [LucidaBright-Oblique]       [\typescriptthree-lbsl]  [encoding=\typescriptthree]
        \definefontsynonym [LucidaBrightSmallcaps]      [\typescriptthree-lbrsc] [encoding=\typescriptthree]
        \definefontsynonym [LucidaBrightSmallcaps-Demi] [\typescriptthree-lbdsc] [encoding=\typescriptthree]

        \loadmapfile[lucida.map]
    \stoptypescript

    % Lucida Bright Sans

    \starttypescript [sans] [lucida] [ec,texnansi,8r]
        \definefontsynonym [\typescriptthree-lsr]   [hlsr\typescriptprefix{e:\typescriptthree}] [encoding=\typescriptthree] % LucidaSans
        \definefontsynonym [\typescriptthree-lsd]   [hlsb\typescriptprefix{e:\typescriptthree}] [encoding=\typescriptthree] % LucidaSans-Demi
        \definefontsynonym [\typescriptthree-lsb]   [hlsu\typescriptprefix{e:\typescriptthree}] [encoding=\typescriptthree] % LucidaSans-Bold
        \definefontsynonym [\typescriptthree-lsi]  [hlsri\typescriptprefix{e:\typescriptthree}] [encoding=\typescriptthree] % LucidaSans-Italic
        \definefontsynonym [\typescriptthree-lsdi] [hlsbi\typescriptprefix{e:\typescriptthree}] [encoding=\typescriptthree] % LucidaSans-DemiItalic
        \definefontsynonym [\typescriptthree-lsbi] [hlsui\typescriptprefix{e:\typescriptthree}] [encoding=\typescriptthree] % LucidaSans-BoldItalic

        \definefontsynonym [LucidaSans]            [\typescriptthree-lsr]  [encoding=\typescriptthree]
        \definefontsynonym [LucidaSans-Demi]       [\typescriptthree-lsd]  [encoding=\typescriptthree]
        \definefontsynonym [LucidaSans-Bold]       [\typescriptthree-lsb]  [encoding=\typescriptthree]
        \definefontsynonym [LucidaSans-Italic]     [\typescriptthree-lsi]  [encoding=\typescriptthree]
        \definefontsynonym [LucidaSans-DemiItalic] [\typescriptthree-lsdi] [encoding=\typescriptthree]
        \definefontsynonym [LucidaSans-BoldItalic] [\typescriptthree-lsbi] [encoding=\typescriptthree]

        \loadmapfile[lucida.map]
    \stoptypescript

    % Lucida Bright Typewriter

    \starttypescript [mono] [lucida] [ec,texnansi,8r]
        \definefontsynonym [\typescriptthree-lbtr]   [hlcrt\typescriptprefix{e:\typescriptthree}] [encoding=\typescriptthree] % LucidaTypewriter
        \definefontsynonym [\typescriptthree-lbtb]   [hlcbt\typescriptprefix{e:\typescriptthree}] [encoding=\typescriptthree] % LucidaTypewriterBold
        \definefontsynonym [\typescriptthree-lbto]  [hlcrot\typescriptprefix{e:\typescriptthree}] [encoding=\typescriptthree] % LucidaTypewriterOblique
        \definefontsynonym [\typescriptthree-lbtbo] [hlcbot\typescriptprefix{e:\typescriptthree}] [encoding=\typescriptthree] % LucidaTypewriterBoldOblique

        \definefontsynonym [LucidaTypewriter]            [\typescriptthree-lbtr]  [encoding=\typescriptthree]
        \definefontsynonym [LucidaTypewriterBold]        [\typescriptthree-lbtb]  [encoding=\typescriptthree]
        \definefontsynonym [LucidaTypewriterOblique]     [\typescriptthree-lbto]  [encoding=\typescriptthree]
        \definefontsynonym [LucidaTypewriterBoldOblique] [\typescriptthree-lbtbo] [encoding=\typescriptthree]

        \loadmapfile[lucida.map]
    \stoptypescript

    % Lucida Bright Sans Typewriter

    \starttypescript [mono] [lucida] [ec,texnansi,8r]
        \definefontsynonym [\typescriptthree-lstr]   [hlsrt\typescriptprefix{e:\typescriptthree}] [encoding=\typescriptthree] % LucidaSans-Typewriter
        \definefontsynonym [\typescriptthree-lstb]   [hlsbt\typescriptprefix{e:\typescriptthree}] [encoding=\typescriptthree] % LucidaSans-TypewriterBold
        \definefontsynonym [\typescriptthree-lsto]  [hlsrot\typescriptprefix{e:\typescriptthree}] [encoding=\typescriptthree] % LucidaSans-TypewriterOblique
        \definefontsynonym [\typescriptthree-lstbo] [hlsbot\typescriptprefix{e:\typescriptthree}] [encoding=\typescriptthree] % LucidaSans-TypewriterBoldOblique

        \definefontsynonym [LucidaSans-Typewriter]            [\typescriptthree-lstr]  [encoding=\typescriptthree]
        \definefontsynonym [LucidaSans-TypewriterBold]        [\typescriptthree-lstb]  [encoding=\typescriptthree]
        \definefontsynonym [LucidaSans-TypewriterOblique]     [\typescriptthree-lsto]  [encoding=\typescriptthree]
        \definefontsynonym [LucidaSans-TypewriterBoldOblique] [\typescriptthree-lstbo] [encoding=\typescriptthree]

        \loadmapfile[lucida.map]
    \stoptypescript

    %  Lucida Calligraphy

    \starttypescript [calligraphy] [lucida] [texnansi,ec,8r]
        \definefontsynonym [\typescriptthree-lbc] [hlcrie\typescriptprefix{e:\typescriptthree}] [encoding=\typescriptthree] % LucidaCalligraphy-Italic

        \definefontsynonym [LucidaCalligraphy-Italic] [\typescriptthree-lbc] [encoding=\typescriptthree]

        \loadmapfile[lucida.map]
    \stoptypescript

    % Lucida Casual

    \starttypescript [casual] [lucida] [texnansi,ec,8r]
        \definefontsynonym [\typescriptthree-lbkr]  [hlcrn\typescriptprefix{e:\typescriptthree}] [encoding=\typescriptthree] % LucidaCasual
        \definefontsynonym [\typescriptthree-lbki] [hlcrin\typescriptprefix{e:\typescriptthree}] [encoding=\typescriptthree] % LucidaCasual-Italic

        \definefontsynonym [LucidaCasual]        [\typescriptthree-lbkr] [encoding=\typescriptthree]
        \definefontsynonym [LucidaCasual-Italic] [\typescriptthree-lbki] [encoding=\typescriptthree]

        \loadmapfile[lucida.map]
    \stoptypescript

    % Lucida Handwriting

    \starttypescript [handwriting] [lucida] [texnansi,ec,8r]
        \definefontsynonym [\typescriptthree-lbh] [hlcriw\typescriptprefix{e:\typescriptthree}] [encoding=\typescriptthree] % LucidaHandwriting-Italic

        \definefontsynonym [LucidaHandwriting-Italic] [\typescriptthree-lbh] [encoding=\typescriptthree]

        \loadmapfile[lucida.map]
    \stoptypescript

    % Lucida Fax

    \starttypescript [fax] [lucida] [texnansi,ec,8r]
        \definefontsynonym [\typescriptthree-lfr]    [hlxr\typescriptprefix{e:\typescriptthree}] [encoding=\typescriptthree] % LucidaFax
        \definefontsynonym [\typescriptthree-lfd]    [hlxb\typescriptprefix{e:\typescriptthree}] [encoding=\typescriptthree] % LucidaFax-Demi
        \definefontsynonym [\typescriptthree-lfi]   [hlxri\typescriptprefix{e:\typescriptthree}] [encoding=\typescriptthree] % LucidaFax-Italic
        \definefontsynonym [\typescriptthree-lfdi]  [hlxbi\typescriptprefix{e:\typescriptthree}] [encoding=\typescriptthree] % LucidaFax-DemiItalic

        \definefontsynonym [LucidaFax]            [\typescriptthree-lfr]  [encoding=\typescriptthree] % LucidaFax
        \definefontsynonym [LucidaFax-Demi]       [\typescriptthree-lfd]  [encoding=\typescriptthree] % LucidaFax-Demi
        \definefontsynonym [LucidaFax-Italic]     [\typescriptthree-lfi]  [encoding=\typescriptthree] % LucidaFax-Italic
        \definefontsynonym [LucidaFax-DemiItalic] [\typescriptthree-lfdi] [encoding=\typescriptthree] % LucidaFax-DemiItalic

        \loadmapfile[lucida.map]
    \stoptypescript

    \starttypescript [blackletter] [lucida] [texnansi,ec,8r]
        \definefontsynonym [\typescriptthree-lbl] [hlcrf\typescriptprefix{e:\typescriptthree}] [encoding=\typescriptthree] % LucidaBlackletter

        \definefontsynonym [LucidaBlackletter] [\typescriptthree-lbl] [encoding=\typescriptthree]

        \loadmapfile[lucida.map]
    \stoptypescript

    \starttypescript [lucida,lucidabfm,lucidaboldmath] [texnansi,ec,8r]
        \definetypeface [lucida] [rm] [serif]       [lucida] [default] [encoding=\typescripttwo]
        \definetypeface [lucida] [ss] [sans]        [lucida] [default] [encoding=\typescripttwo]
        \definetypeface [lucida] [tt] [mono]        [lucida] [default] [encoding=\typescripttwo]
        \definetypeface [lucida] [hw] [handwriting] [lucida] [default] [encoding=\typescripttwo]
        \definetypeface [lucida] [cg] [calligraphy] [lucida] [default] [encoding=\typescripttwo]

        \loadmapfile[lucida.map]
    \stoptypescript

    \starttypescript [math] [lucida] [default]
        \definefontsynonym [LucidaNewMath-AltItalic]     [hlcrima]
        \definefontsynonym [LucidaNewMath-Arrows]        [hlcra]
        \definefontsynonym [LucidaNewMath-Extension]     [hlcrv]
        \definefontsynonym [LucidaNewMath-Roman]         [hlcrm]
        \definefontsynonym [LucidaNewMath-Italic]        [hlcrim]
        \definefontsynonym [LucidaNewMath-Symbol]        [hlcry]
        \definefontsynonym [LucidaBlackletter]           [hlcrf8y] % what a mess
        \usemathcollection[lbr]
        \loadmapfile [lucida.map]
    \stoptypescript

    \starttypescript [boldmath,bfmath] [lucida] [default]
        \definefontsynonym [LucidaNewMath-AltDemiItalic] [hlcdima]
        \definefontsynonym [LucidaNewMath-Arrows-Demi]   [hlcda]
        \definefontsynonym [LucidaNewMath-Extension]     [hlcrv]
        \definefontsynonym [LucidaNewMath-Demi]          [hlcdm]
        \definefontsynonym [LucidaNewMath-DemiItalic]    [hlcdim]
        \definefontsynonym [LucidaNewMath-Symbol-Demi]   [hlcdy]
        \loadmapfile [lucida.map]
    \stoptypescript

    % Lucida Bright

    \starttypescript [serif] [lucida] [name]
        \definefontsynonym [Serif]            [LucidaBright]
        \definefontsynonym [SerifBold]        [LucidaBright-Demi]
        \definefontsynonym [SerifItalic]      [LucidaBright-Italic]
        \definefontsynonym [SerifBoldItalic]  [LucidaBright-DemiItalic]
        \definefontsynonym [SerifSlanted]     [LucidaBright-Oblique]
        \definefontsynonym [SerifBoldSlanted] [LucidaBright-DemiItalic]
        \definefontsynonym [SerifCaps]        [LucidaBrightSmallcaps]
        \definefontsynonym [SerifBoldCaps]    [LucidaBrightSmallcaps-Demi]
    \stoptypescript

    % Lucida Bright Sans

    \starttypescript [sans] [lucida] [name]
        \definefontsynonym [Sans]            [LucidaSans]
        \definefontsynonym [SansBold]        [LucidaSans-Demi]
        \definefontsynonym [SansItalic]      [LucidaSans-Italic]
        \definefontsynonym [SansBoldItalic]  [LucidaSans-DemiItalic]
        \definefontsynonym [SansSlanted]     [LucidaSans-Italic]
        \definefontsynonym [SansBoldSlanted] [LucidaSans-DemiItalic]
        \definefontsynonym [SansCaps]        [LucidaSans]
    \stoptypescript

    % Lucida Bright Typewriter

    % only one family may be used as mono; sans used to be that since the beginning,
    % so we keep using that as default

    % \starttypescript [mono] [lucida] [name]
    %     \definefontsynonym [Mono]            [LucidaTypewriter]
    %     \definefontsynonym [MonoBold]        [LucidaTypewriterBold]
    %     \definefontsynonym [MonoItalic]      [LucidaTypewriterOblique]
    %     \definefontsynonym [MonoBoldItalic]  [LucidaTypewriterBoldOblique]
    %     \definefontsynonym [MonoSlanted]     [LucidaTypewriterOblique]
    %     \definefontsynonym [MonoBoldSlanted] [LucidaTypewriterBoldOblique]
    %     \definefontsynonym [MonoCaps]        [LucidaTypewriter]
    % \stoptypescript

    % Lucida Bright Sans Typewriter

    \starttypescript [mono] [lucida] [name]
        \definefontsynonym [Mono]            [LucidaSans-Typewriter]
        \definefontsynonym [MonoBold]        [LucidaSans-TypewriterBold]
        \definefontsynonym [MonoItalic]      [LucidaSans-TypewriterOblique]
        \definefontsynonym [MonoBoldItalic]  [LucidaSans-TypewriterBoldOblique]
        \definefontsynonym [MonoSlanted]     [LucidaSans-TypewriterOblique]
        \definefontsynonym [MonoBoldSlanted] [LucidaSans-TypewriterBoldOblique]
        \definefontsynonym [MonoCaps]        [LucidaSans-Typewriter]
    \stoptypescript

    %  Lucida Calligraphy

    \starttypescript [calligraphy] [lucida] [name]
        \definefontsynonym [Calligraphy] [LucidaCalligraphy-Italic]
    \stoptypescript

    % Lucida Casual

    % \starttypescript [casual] [lucida] [name]
    % 	% LucidaCasual
    % 	% LucidaCasual-Italic
    % \stoptypescript

    % Lucida Handwriting

    \starttypescript [handwriting] [lucida] [name]
        \definefontsynonym [Handwriting] [LucidaHandwriting-Italic]
    \stoptypescript

    % Lucida Fax
    %
    % \starttypescript [fax] [lucida] [name]
    % 	\definefontsynonym [FaksRegular]    [LucidaFax]
    % 	\definefontsynonym [FaksBold]       [LucidaFax-Demi]
    % 	\definefontsynonym [FaksItalic]     [LucidaFax-Italic]
    % 	\definefontsynonym [FaksBoldItalic] [LucidaFax-DemiItalic]
    % \stoptypescript

    % Lucida Black Letter
    %
    % \starttypescript [blackletter] [lucida] [name]
    % 	\definefontsynonym [Blackletter] [LucidaBlackletter]
    % \stoptypescript

    % Lucida Math

    \starttypescript [math] [lucida] [name]
        % \definefontsynonym [MathRoman]     [LucidaBright]
        \definefontsynonym [MathRoman]     [LucidaNewMath-Roman]
        \definefontsynonym [MathExtension] [LucidaNewMath-Extension]
        \definefontsynonym [MathItalic]    [LucidaNewMath-AltItalic]
        \definefontsynonym [MathSymbol]    [LucidaNewMath-Symbol]
        \definefontsynonym [MathAlpha]     [LucidaNewMath-Arrows]
        \definefontsynonym [MathBeta]      [LucidaNewMath-Roman]
    \stoptypescript

    \starttypescript [math] [lucida] [name]
        \definefontsynonym [OldStyle]     [MathItalic]
        \definefontsynonym [Fraktur]      [eufm10]
        \definefontsynonym [Blackboard]   [MathAlpha]
        \definefontsynonym [Gothic]       [eufm10]
        \definefontsynonym [Calligraphic] [MathSymbol] % math caligraphic !
    \stoptypescript

    \starttypescript [boldmath] [lucida] [name]
        \definefontsynonym [MathRoman]     [LucidaBright-Demi]
        \definefontsynonym [MathExtension] [LucidaNewMath-Extension]
        \definefontsynonym [MathItalic]    [LucidaNewMath-AltDemiItalic]
        \definefontsynonym [MathSymbol]    [LucidaNewMath-Symbol-Demi]
        \definefontsynonym [MathAlpha]     [LucidaNewMath-Arrows-Demi]
        \definefontsynonym [MathBeta]      [LucidaNewMath-Demi]
    \stoptypescript

    \starttypescript [bfmath] [lucida] [name]
        \definefontsynonym [MathRomanBold]     [LucidaNewMath-Demi]
        \definefontsynonym [MathExtensionBold] [LucidaNewMath-Extension]
        \definefontsynonym [MathItalicBold]    [LucidaNewMath-AltDemiItalic]
        \definefontsynonym [MathSymbolBold]    [LucidaNewMath-Symbol-Demi]
        \definefontsynonym [MathAlphaBold]     [LucidaNewMath-Arrows-Demi]
        \definefontsynonym [MathBetaBold]      [LucidaNewMath-Demi]
    \stoptypescript

    \starttypescript [lucida,lucidabfm,lucidaboldmath] [texnansi,ec,8r,uc]
        \definetypeface [lucida] [rm] [serif]       [lucida] [default] [encoding=\typescripttwo]
        \definetypeface [lucida] [ss] [sans]        [lucida] [default] [encoding=\typescripttwo]
        \definetypeface [lucida] [tt] [mono]        [lucida] [default] [encoding=\typescripttwo]
        \definetypeface [lucida] [hw] [handwriting] [lucida] [default] [encoding=\typescripttwo]
        \definetypeface [lucida] [cg] [calligraphy] [lucida] [default] [encoding=\typescripttwo]
        \loadmapfile [lucida.map]
    \stoptypescript

    \starttypescript [lucida] [texnansi,ec,8r]
        \definetypeface [lucida]         [mm] [math] [lucida] [default] [encoding=\typescripttwo]
    \stoptypescript

    \starttypescript [lucidabfm] [texnansi,ec,8r]
        \definetypeface [lucida]         [mm] [bfmath] [lucida] [default] [encoding=\typescripttwo]
    \stoptypescript

    \starttypescript [lucidaboldmath] [texnansi,ec,8r]
        \definetypeface [lucida]         [mm] [boldmath] [lucida] [default] [encoding=\typescripttwo]
    \stoptypescript

    \starttypescript [lucidabfm] [texnansi,ec,8r,uc]
        \definetypeface [lucidabfm] [rm] [serif]       [lucida] [default] [encoding=\typescripttwo]
        \definetypeface [lucidabfm] [ss] [sans]        [lucida] [default] [encoding=\typescripttwo]
        \definetypeface [lucidabfm] [tt] [mono]        [lucida] [default] [encoding=\typescripttwo]
        \definetypeface [lucidabfm] [hw] [handwriting] [lucida] [default] [encoding=\typescripttwo]
        \definetypeface [lucidabfm] [cg] [calligraphy] [lucida] [default] [encoding=\typescripttwo]
        \definetypeface [lucidabfm] [mm] [bfmath] [lucida] [default] [encoding=\typescripttwo]
        \loadmapfile [lucida.map]
    \stoptypescript

    \starttypescript [lucidaboldmath] [texnansi,ec,8r,uc]
        \definetypeface [lucidaboldmath] [rm] [serif]       [lucida] [default] [encoding=\typescripttwo]
        \definetypeface [lucidaboldmath] [ss] [sans]        [lucida] [default] [encoding=\typescripttwo]
        \definetypeface [lucidaboldmath] [tt] [mono]        [lucida] [default] [encoding=\typescripttwo]
        \definetypeface [lucidaboldmath] [hw] [handwriting] [lucida] [default] [encoding=\typescripttwo]
        \definetypeface [lucidaboldmath] [cg] [calligraphy] [lucida] [default] [encoding=\typescripttwo]
        \definetypeface [lucidaboldmath] [mm] [boldmath]    [lucida] [default] [encoding=\typescripttwo]
        \loadmapfile [bh-lucida.map]
    \stoptypescript

    \starttypescript [lucida,lucidabfm,lucidaboldmath] [texnansi,ec,8r]
        \usemathcollection[lbr]
        \quittypescriptscanning % last in the row
    \stoptypescript

\stoptypescriptcollection

\starttypescriptcollection[postscript]

    \starttypescript [postscript] [ec,texnansi,cs,qx,rm,t5,t2a,t2b,t2c,l7x]
        \definetypeface [postscript] [rm] [serif] [times]     [default] [encoding=\typescripttwo]
        \definetypeface [postscript] [ss] [sans]  [helvetica] [default] [encoding=\typescripttwo,rscale=0.9]
        \definetypeface [postscript] [tt] [mono]  [courier]   [default] [encoding=\typescripttwo,rscale=1.1]
        \definetypeface [postscript] [mm] [math]  [times]     [default] [encoding=\typescripttwo]
        \quittypescriptscanning
    \stoptypescript

\stoptypescriptcollection

\starttypescriptcollection[libertine]

    \starttypescript [serif] [libertine] [ec]
        \definefontsynonym [Libertine-Regular]    [fxlr-t1]  [encoding=ec]
        \definefontsynonym [Libertine-Italic]     [fxlri-t1] [encoding=ec]
        \definefontsynonym [Libertine-Bold]       [fxlb-t1]  [encoding=ec]
        \definefontsynonym [Libertine-BoldItalic] [fxlbi-t1] [encoding=ec]
        \definefontsynonym [Libertine-SmallCaps]  [fxlrc-t1] %[encoding=ec]
        \loadmapfile [libertine.map]
    \stoptypescript

    \starttypescript [serif] [libertine] [name]
        \definefontsynonym [Serif]           [Libertine-Regular]
        \definefontsynonym [SerifItalic]     [Libertine-Italic]
        \definefontsynonym [SerifSlanted]    [Libertine-Italic]
        \definefontsynonym [SerifBold]       [Libertine-Bold]
        \definefontsynonym [SerifBoldItalic] [Libertine-BoldItalic]
        \definefontsynonym [SerifBoldSlanted][Libertine-BoldItalic]
        \definefontsynonym [SerifCaps]       [Libertine-SmallCaps]
    \stoptypescript

    \starttypescript [libertine] [ec]
        \definetypeface [libertine] [tt] [mono]  [default]   [default] [encoding=ec]
        \definetypeface [libertine] [ss] [sans]  [default]   [default] [encoding=ec]
        \definetypeface [libertine] [rm] [serif] [libertine] [default] [encoding=ec]
    \stoptypescript

\stoptypescriptcollection

\starttypescriptcollection[inconsolata]

    \starttypescript [mono] [inconsolata] [ec]
        \definefontsynonym [Inconsolata] [ec-inconsolata] [encoding=ec]
        \pdfmapline{ec-inconsolata Inconsolata "fi4ECEncoding ReEncodeFont" <[fi4-ec.enc <Inconsolata.pfb}
    \stoptypescript

    \starttypescript [mono] [inconsolata] [name]
        \definefontsynonym [Mono] [Inconsolata]
    \stoptypescript

\stoptypescriptcollection

\starttypescriptcollection[dejavu]

    \definetypescriptprefix [e:ec]  [t1]
    \definetypescriptprefix [e:qx]  [qx]
    \definetypescriptprefix [e:t2a] [t2a]

    \starttypescript [serif] [dejavu] [ec,qx,t2a]
        \definefontsynonym [DejaVuSerif]                     [DejaVuSerif-tlf-\typescriptprefix{e:\typescriptthree}]            [encoding=\typescriptthree]
        \definefontsynonym [DejaVuSerif-Italic]              [DejaVuSerif-Italic-tlf-\typescriptprefix{e:\typescriptthree}]     [encoding=\typescriptthree]
        \definefontsynonym [DejaVuSerif-Bold]                [DejaVuSerif-Bold-tlf-\typescriptprefix{e:\typescriptthree}]       [encoding=\typescriptthree]
        \definefontsynonym [DejaVuSerif-BoldItalic]          [DejaVuSerif-BoldItalic-tlf-\typescriptprefix{e:\typescriptthree}] [encoding=\typescriptthree]

        \loadmapfile[dejavu-truetype.map]
    \stoptypescript

    \starttypescript [serif] [dejavu-condensed] [ec,qx,t2a]
        \definefontsynonym [DejaVuSerifCondensed]            [DejaVuSerifCondensed-tlf-\typescriptprefix{e:\typescriptthree}]            [encoding=\typescriptthree]
        \definefontsynonym [DejaVuSerifCondensed-Italic]     [DejaVuSerifCondensed-Italic-tlf-\typescriptprefix{e:\typescriptthree}]     [encoding=\typescriptthree]
        \definefontsynonym [DejaVuSerifCondensed-Bold]       [DejaVuSerifCondensed-Bold-tlf-\typescriptprefix{e:\typescriptthree}]       [encoding=\typescriptthree]
        \definefontsynonym [DejaVuSerifCondensed-BoldItalic] [DejaVuSerifCondensed-BoldItalic-tlf-\typescriptprefix{e:\typescriptthree}] [encoding=\typescriptthree]

        \loadmapfile[dejavu-truetype.map]
    \stoptypescript

    \starttypescript [sans] [dejavu] [ec,qx,t2a]
        \definefontsynonym [DejaVuSans]                      [DejaVuSans-tlf-\typescriptprefix{e:\typescriptthree}]            [encoding=\typescriptthree]
        \definefontsynonym [DejaVuSans-Italic]               [DejaVuSans-Italic-tlf-\typescriptprefix{e:\typescriptthree}]     [encoding=\typescriptthree]
        \definefontsynonym [DejaVuSans-Bold]                 [DejaVuSans-Bold-tlf-\typescriptprefix{e:\typescriptthree}]       [encoding=\typescriptthree]
        \definefontsynonym [DejaVuSans-BoldItalic]           [DejaVuSans-BoldItalic-tlf-\typescriptprefix{e:\typescriptthree}] [encoding=\typescriptthree]

        \loadmapfile[dejavu-truetype.map]
    \stoptypescript

    \starttypescript [sans] [dejavu-condensed] [ec,qx,t2a]
        \definefontsynonym [DejaVuSansCondensed]             [DejaVuSansCondensed-tlf-\typescriptprefix{e:\typescriptthree}]            [encoding=\typescriptthree]
        \definefontsynonym [DejaVuSansCondensed-Italic]      [DejaVuSansCondensed-Italic-tlf-\typescriptprefix{e:\typescriptthree}]     [encoding=\typescriptthree]
        \definefontsynonym [DejaVuSansCondensed-Bold]        [DejaVuSansCondensed-Bold-tlf-\typescriptprefix{e:\typescriptthree}]       [encoding=\typescriptthree]
        \definefontsynonym [DejaVuSansCondensed-BoldItalic]  [DejaVuSansCondensed-BoldItalic-tlf-\typescriptprefix{e:\typescriptthree}] [encoding=\typescriptthree]

        \loadmapfile[dejavu-truetype.map]
    \stoptypescript

    \starttypescript [mono] [dejavu,dejavu-condensed] [ec,qx,t2a]
        \definefontsynonym [DejaVuSansMono]                      [DejaVuSansMono-tlf-\typescriptprefix{e:\typescriptthree}]            [encoding=\typescriptthree]
        \definefontsynonym [DejaVuSansMono-Italic]               [DejaVuSansMono-Italic-tlf-\typescriptprefix{e:\typescriptthree}]     [encoding=\typescriptthree]
        \definefontsynonym [DejaVuSansMono-Bold]                 [DejaVuSansMono-Bold-tlf-\typescriptprefix{e:\typescriptthree}]       [encoding=\typescriptthree]
        \definefontsynonym [DejaVuSansMono-BoldItalic]           [DejaVuSansMono-BoldItalic-tlf-\typescriptprefix{e:\typescriptthree}] [encoding=\typescriptthree]

        \loadmapfile[dejavu-truetype.map]
    \stoptypescript

    \starttypescript [serif] [dejavu] [name]
        \definefontsynonym [Serif]            [DejaVuSerif]
        \definefontsynonym [SerifItalic]      [DejaVuSerif-Italic]
        \definefontsynonym [SerifBold]        [DejaVuSerif-Bold]
        \definefontsynonym [SerifBoldItalic]  [DejaVuSerif-BoldItalic]

        \definefontsynonym [SerifSlanted]     [SerifItalic]
        \definefontsynonym [SerifBoldSlanted] [SerifBoldItalic]
        \definefontsynonym [SerifCaps]        [Serif]
    \stoptypescript

    \starttypescript [serif] [dejavu-condensed] [name]
        \definefontsynonym [Serif]            [DejaVuSerifCondensed]
        \definefontsynonym [SerifItalic]      [DejaVuSerifCondensed-Italic]
        \definefontsynonym [SerifBold]        [DejaVuSerifCondensed-Bold]
        \definefontsynonym [SerifBoldItalic]  [DejaVuSerifCondensed-BoldItalic]

        \definefontsynonym [SerifSlanted]     [SerifItalic]
        \definefontsynonym [SerifBoldSlanted] [SerifBoldItalic]
        \definefontsynonym [SerifCaps]        [Serif]
    \stoptypescript

    \starttypescript [sans] [dejavu] [name]
        \definefontsynonym [Sans]             [DejaVuSans]
        \definefontsynonym [SansItalic]       [DejaVuSans-Italic]
        \definefontsynonym [SansBold]         [DejaVuSans-Bold]
        \definefontsynonym [SansBoldItalic]   [DejaVuSans-BoldItalic]

        \definefontsynonym [SansSlanted]      [SansItalic]
        \definefontsynonym [SansBoldSlanted]  [SansBoldItalic]
        \definefontsynonym [SansCaps]         [Sans]
    \stoptypescript

    \starttypescript [sans] [dejavu-condensed] [name]
        \definefontsynonym [Sans]             [DejaVuSansCondensed]
        \definefontsynonym [SansItalic]       [DejaVuSansCondensed-Italic]
        \definefontsynonym [SansBold]         [DejaVuSansCondensed-Bold]
        \definefontsynonym [SansBoldItalic]   [DejaVuSansCondensed-BoldItalic]

        \definefontsynonym [SansSlanted]      [SansItalic]
        \definefontsynonym [SansBoldSlanted]  [SansBoldItalic]
        \definefontsynonym [SansCaps]         [Sans]
    \stoptypescript

    \starttypescript [mono] [dejavu,dejavu-condensed] [name]
        \definefontsynonym [Mono]             [DejaVuSansMono]
        \definefontsynonym [MonoItalic]       [DejaVuSansMono-Italic]
        \definefontsynonym [MonoBold]         [DejaVuSansMono-Bold]
        \definefontsynonym [MonoBoldItalic]   [DejaVuSansMono-BoldItalic]

        \definefontsynonym [MonoSlanted]      [MonoItalic]
        \definefontsynonym [MonoBoldSlanted]  [MonoBoldItalic]
        \definefontsynonym [MonoCaps]         [Mono]
    \stoptypescript

    \starttypescript [dejavu] [ec,qx,t2a]
        \definetypeface [dejavu] [rm] [serif] [dejavu] [default] [encoding=\typescripttwo]
        \definetypeface [dejavu] [ss] [sans]  [dejavu] [default] [encoding=\typescripttwo]
        \definetypeface [dejavu] [tt] [mono]  [dejavu] [default] [encoding=\typescripttwo]
        \definetypeface [dejavu] [mm] [math]  [xits]   [default]
        \loadmapfile [dejavu-truetype.map]
    \stoptypescript

    \starttypescript [dejavu-condensed] [ec,qx,t2a]
        \definetypeface [dejavu-condensed] [rm] [serif] [dejavu-condensed] [default] [encoding=\typescripttwo]
        \definetypeface [dejavu-condensed] [ss] [sans]  [dejavu-condensed] [default] [encoding=\typescripttwo]
        \definetypeface [dejavu-condensed] [tt] [mono]  [dejavu-condensed] [default] [encoding=\typescripttwo]
        \definetypeface [dejavu-condensed] [mm] [math]  [xits]             [default]
        \loadmapfile [dejavu-truetype.map]
    \stoptypescript

\stoptypescriptcollection

\starttypescriptcollection[gentium]

    \starttypescript [serif] [gentium] [ec,texnansi,qx,t5,l7x,agr,t2a]
        \definefontsynonym [Gentium-Roman]       [\typescriptthree-gentiumplus-regular]    [encoding=\typescriptthree]
        \definefontsynonym [Gentium-Italic]      [\typescriptthree-gentiumplus-italic]     [encoding=\typescriptthree]
        \definefontsynonym [Gentium-Bold]        [\typescriptthree-gentiumplus-bold]       [encoding=\typescriptthree]
        \definefontsynonym [Gentium-BoldItalic]  [\typescriptthree-gentiumplus-bolditalic] [encoding=\typescriptthree]
        \definefontsynonym [Gentium-RomanCaps]   [\typescriptthree-gentiumplus-regular-sc] [encoding=\typescriptthree]
        \definefontsynonym [Gentium-Slanted]     [\typescriptthree-gentiumplus-italic]     [encoding=\typescriptthree]
        \definefontsynonym [Gentium-BoldSlanted] [\typescriptthree-gentiumplus-bolditalic] [encoding=\typescriptthree]
        \loadmapfile[gentiumplus-\typescriptthree.map]
    \stoptypescript

    \starttypescript [serif] [gentium] [name]
        \usetypescript[serif][fallback]
        \definefontsynonym [Serif]            [Gentium-Roman]
        \definefontsynonym [SerifItalic]      [Gentium-Italic]
        \definefontsynonym [SerifBold]        [Gentium-Bold]
        \definefontsynonym [SerifBoldItalic]  [Gentium-BoldItalic]
        \definefontsynonym [SerifSlanted]     [Gentium-Slanted]
        \definefontsynonym [SerifBoldSlanted] [Gentium-BoldSlanted]
        \definefontsynonym [SerifCaps]        [Gentium-RomanCaps]
        \definefontsynonym [OldStyle]         [Serif]
    \stoptypescript

    \starttypescript [gentium] [ec,texnansi,qx,t5,t2a,agr,l7x]
        \definetypeface [gentium] [rm] [serif] [gentium] [default] [encoding=\typescripttwo]
        \definetypeface [gentium] [ss] [sans]  [dejavu]  [default] [encoding=\typescripttwo]
        \definetypeface [gentium] [tt] [mono]  [dejavu]  [default] [encoding=\typescripttwo]
        \definetypeface [gentium] [mm] [math]  [xits]    [default]
        \loadmapfile [dejavu-truetype.map]
    \stoptypescript

\stoptypescriptcollection

\endinput