summaryrefslogtreecommitdiff
path: root/tex/context/fonts/mkiv/type-imp-iwona.mkiv
blob: 88cb7e719c3eeadc36eafba203dc9bc3b9c099a9 (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
%D \module
%D   [       file=type-imp-iwona,
%D        version=2010.06.21,
%D          title=\CONTEXT\ Typescript Macros,
%D       subtitle=Iwona,
%D         author=Mojca Miklavec \& 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.

\starttypescriptcollection[iwona]

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

    % These names are a depressing mess. They have changed over time and are
    % still not consistent. I'd expect Bold-Regular and Bold-Italic.

    \starttypescript [\s!sans] [iwona-light,iwona,iwona-medium,iwona-heavy,iwona-light-cond,iwona-cond,iwona-medium-cond,iwona-heavy-cond]

        \definefontsynonym [Iwona-Regular]               [\s!file:Iwona-Regular]                [\s!features=\s!default]
        \definefontsynonym [Iwona-Italic]                [\s!file:Iwona-Italic]                 [\s!features=\s!default]
        \definefontsynonym [Iwona-Bold]                  [\s!file:Iwona-Bold]                   [\s!features=\s!default]
        \definefontsynonym [Iwona-BoldItalic]            [\s!file:Iwona-BoldItalic]             [\s!features=\s!default]
        \definefontsynonym [Iwona-Light-Regular]         [\s!file:IwonaLight-Regular]           [\s!features=\s!default]
        \definefontsynonym [Iwona-Light-Italic]          [\s!file:IwonaLight-Italic]            [\s!features=\s!default]
        \definefontsynonym [Iwona-Medium-Regular]        [\s!file:IwonaMedium-Regular]          [\s!features=\s!default]
        \definefontsynonym [Iwona-Medium-Italic]         [\s!file:IwonaMedium-Italic]           [\s!features=\s!default]
        \definefontsynonym [Iwona-Heavy-Regular]         [\s!file:IwonaHeavy-Regular]           [\s!features=\s!default]
        \definefontsynonym [Iwona-Heavy-Italic]          [\s!file:IwonaHeavy-Italic]            [\s!features=\s!default]

        \definefontsynonym [Iwona-CapsRegular]           [\s!file:Iwona-Regular]                [\s!features=\s!smallcaps]
        \definefontsynonym [Iwona-CapsItalic]            [\s!file:Iwona-Italic]                 [\s!features=\s!smallcaps]
        \definefontsynonym [Iwona-CapsBold]              [\s!file:Iwona-Bold]                   [\s!features=\s!smallcaps]
        \definefontsynonym [Iwona-CapsBoldItalic]        [\s!file:Iwona-BoldItalic]             [\s!features=\s!smallcaps]
        \definefontsynonym [Iwona-CapsLight]             [\s!file:IwonaLight-Regular]           [\s!features=\s!smallcaps]
        \definefontsynonym [Iwona-CapsLight-Italic]      [\s!file:IwonaLight-Italic]            [\s!features=\s!smallcaps]
        \definefontsynonym [Iwona-CapsMedium]            [\s!file:IwonaMedium-Regular]          [\s!features=\s!smallcaps]
        \definefontsynonym [Iwona-CapsMedium-Italic]     [\s!file:IwonaMedium-Italic]           [\s!features=\s!smallcaps]
        \definefontsynonym [Iwona-CapsHeavy]             [\s!file:IwonaHeavy-Regular]           [\s!features=\s!smallcaps]
        \definefontsynonym [Iwona-CapsHeavy-Italic]      [\s!file:IwonaHeavy-Italic]            [\s!features=\s!smallcaps]

        \definefontsynonym [Iwona-CondRegular]           [\s!file:IwonaCond-Regular]            [\s!features=\s!default]
        \definefontsynonym [Iwona-CondItalic]            [\s!file:IwonaCond-Italic]             [\s!features=\s!default]
        \definefontsynonym [Iwona-CondBold]              [\s!file:IwonaCond-Bold]               [\s!features=\s!default]
        \definefontsynonym [Iwona-CondBoldItalic]        [\s!file:IwonaCond-BoldItalic]         [\s!features=\s!default]
        \definefontsynonym [Iwona-CondLight-Regular]     [\s!file:IwonaCondLight-Regular]       [\s!features=\s!default]
        \definefontsynonym [Iwona-CondLight-Italic]      [\s!file:IwonaCondLight-Italic]        [\s!features=\s!default]
        \definefontsynonym [Iwona-CondMedium-Regular]    [\s!file:IwonaCondMedium-Regular]      [\s!features=\s!default]
        \definefontsynonym [Iwona-CondMedium-Italic]     [\s!file:IwonaCondMedium-Italic]       [\s!features=\s!default]
        \definefontsynonym [Iwona-CondHeavy-Regular]     [\s!file:IwonaCondHeavy-Regular]       [\s!features=\s!default]
        \definefontsynonym [Iwona-CondHeavy-Italic]      [\s!file:IwonaCondHeavy-Italic]        [\s!features=\s!default]

        \definefontsynonym [Iwona-CapsCondRegular]       [\s!file:IwonaCond-Regular]            [\s!features=\s!smallcaps]
        \definefontsynonym [Iwona-CapsCondItalic]        [\s!file:IwonaCond-Italic]             [\s!features=\s!smallcaps]
        \definefontsynonym [Iwona-CapsCondBold]          [\s!file:IwonaCond-Bold]               [\s!features=\s!smallcaps]
        \definefontsynonym [Iwona-CapsCondBoldItalic]    [\s!file:IwonaCond-BoldItalic]         [\s!features=\s!smallcaps]
        \definefontsynonym [Iwona-CapsCondLight-Regular] [\s!file:IwonaCondLight-Regular]       [\s!features=\s!smallcaps]
        \definefontsynonym [Iwona-CapsCondLight-Italic]  [\s!file:IwonaCondLight-Italic]        [\s!features=\s!smallcaps]
        \definefontsynonym [Iwona-CapsCondMedium-Regular][\s!file:IwonaCondMedium-Regular]      [\s!features=\s!smallcaps]
        \definefontsynonym [Iwona-CapsCondMedium-Italic] [\s!file:IwonaCondMedium-Italic]       [\s!features=\s!smallcaps]
        \definefontsynonym [Iwona-CapsCondHeavy-Regular] [\s!file:IwonaCondHeavy-Regular]       [\s!features=\s!smallcaps]
        \definefontsynonym [Iwona-CapsCondHeavy-Italic]  [\s!file:IwonaCondHeavy-Italic]        [\s!features=\s!smallcaps]

    \stoptypescript

    % [all] is redundant

    \starttypescript [\s!math][iwona][\s!all]
        \definefontsynonym[\s!MathRoman][iwonamath@iwona-math]
    \stoptypescript
    \starttypescript [\s!math][iwona-light][\s!all]
        \definefontsynonym[\s!MathRoman][iwonalightmath@iwona-light-math]
    \stoptypescript
    \starttypescript [\s!math][iwona-medium][\s!all]
        \definefontsynonym[\s!MathRoman][iwonamediummath@iwona-medium-math]
    \stoptypescript
    \starttypescript [\s!math][iwona-heavy][\s!all]
        \definefontsynonym[\s!MathRoman][iwonaheavymath@iwona-heavy-math]
    \stoptypescript

    \starttypescript [\s!math] [iwona,iwona-light,iwona-medium,iwona-heavy] [\s!all]
        \loadfontgoodies[iwona-math]
    \stoptypescript

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

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

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

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

    \starttypescript [\s!sans] [iwona-medium] [\s!name]
        \setups[\s!font:\s!fallback:\s!sans]
        \definefontsynonym [\s!Sans]            [Iwona-Medium-Regular]
        \definefontsynonym [\s!SansItalic]      [Iwona-Medium-Italic]
        \definefontsynonym [\s!SansBold]        [Iwona-Heavy-Regular]
        \definefontsynonym [\s!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 [\s!sans] [iwona-medium-caps] [\s!name]
        \setups[\s!font:\s!fallback:\s!sans]
        \definefontsynonym [\s!Sans]           [Iwona-CapsHeavy-Regular]
        \definefontsynonym [\s!SansItalic]     [Iwona-CapsMedium-Italic]
        \definefontsynonym [\s!SansBold]       [Iwona-CapsHeavy-Regular]
        \definefontsynonym [\s!SansBoldItalic] [Iwona-CapsHeavy-Italic]
    \stoptypescript

    \starttypescript [\s!sans] [iwona-heavy] [\s!name]
        \setups[\s!font:\s!fallback:\s!sans]
        \definefontsynonym [\s!Sans]            [Iwona-Heavy-Regular]
        \definefontsynonym [\s!SansItalic]      [Iwona-Heavy-Italic]
        \definefontsynonym [\s!SansBold]        [Iwona-Heavy-Regular]
        \definefontsynonym [\s!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 [\s!sans] [iwona-heavy-caps] [\s!name]
       \setups[\s!font:\s!fallback:\s!sans]
       \definefontsynonym [SansCaps]           [Iwona-CapsHeavy-Regular]
       \definefontsynonym [SansItalicCaps]     [Iwona-CapsHeavy-Italic]
       \definefontsynonym [SansBoldCaps]       [Iwona-CapsHeavy-Regular]
       \definefontsynonym [SansBoldItalicCaps] [Iwona-CapsHeavy-Italic]
    \stoptypescript

    \starttypescript [\s!sans] [iwona-light-cond] [\s!name]
        \setups[\s!font:\s!fallback:\s!sans]
        \definefontsynonym [\s!Sans]            [Iwona-CondLight-Regular]
        \definefontsynonym [\s!SansItalic]      [Iwona-CondLight-Italic]
        \definefontsynonym [\s!SansBold]        [Iwona-CondMedium-Regular]
        \definefontsynonym [\s!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 [\s!sans] [iwona-light-cond-caps,iwona-light-caps-cond] [\s!name]
        \setups[\s!font:\s!fallback:\s!sans]
        \definefontsynonym [\s!Sans]           [Iwona-CapsCondLight-Regular]
        \definefontsynonym [\s!SansItalic]     [Iwona-CapsCondLight-Italic]
        \definefontsynonym [\s!SansBold]       [Iwona-CapsCondMedium-Regular]
        \definefontsynonym [\s!SansBoldItalic] [Iwona-CapsCondMedium-Italic]
    \stoptypescript

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

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

    \starttypescript [\s!sans] [iwona-medium-cond] [\s!name]
        \setups[\s!font:\s!fallback:\s!sans]
        \definefontsynonym [\s!Sans]            [Iwona-CondMedium-Regular]
        \definefontsynonym [\s!SansItalic]      [Iwona-CondMedium-Italic]
        \definefontsynonym [\s!SansBold]        [Iwona-CondHeavy-Regular]
        \definefontsynonym [\s!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 [\s!sans] [iwona-medium-cond-caps,iwona-medium-caps-cond] [\s!name]
        \setups[\s!font:\s!fallback:\s!sans]
        \definefontsynonym [\s!Sans]           [Iwona-CapsCondHeavy-Regular]
        \definefontsynonym [\s!SansItalic]     [Iwona-CapsCondMedium-Italic]
        \definefontsynonym [\s!SansBold]       [Iwona-CapsCondHeavy-Regular]
        \definefontsynonym [\s!SansBoldItalic] [Iwona-CapsCondHeavy-Italic]
    \stoptypescript

    \starttypescript [iwona,iwona-light,iwona-heavy,iwona-medium]
        \definetypeface[\typescriptone][\s!ss][\s!sans] [\typescriptone] [\s!default]
        \definetypeface[\typescriptone][\s!rm][\s!serif][modern]         [\s!default]
        \definetypeface[\typescriptone][\s!tt][\s!mono] [modern]         [\s!default]
        \definetypeface[\typescriptone][\s!mm][\s!math] [\typescriptone] [\s!default][text=ss]
        \quittypescriptscanning
    \stoptypescript

\stoptypescriptcollection