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
|
% blackboard typefaces by Anthony Phan.
% file: mbbcrkup.mf (Cork roman uppercase)
% last modification: 25.10.2001.
% some new instructions (eg. begincorkchar)
% and new measures (eg. cap_accent_height#)
% are defined in the driver file `bbcrkdrv.mf'.
use_rule2;
begincorkchar("A","grave",hex"C0",cap_accent_height#,0);
italcorr cork_ic[a];
complete_grave(lshift,rshift);
endcorkchar;
begincorkchar("A","acute",hex"C1",cap_accent_height#,0);
italcorr cork_ic[a];
complete_acute(lshift,rshift);
endcorkchar;
begincorkchar("A","circumflex",hex"C2",cap_accent_height#,0);
italcorr cork_ic[a];
complete_hat(lshift,rshift);
endcorkchar;
begincorkchar("A","tilde",hex"C3",cap_accent_height#,0);
italcorr cork_ic[a];
complete_tilde(lshift,rshift);
endcorkchar;
begincorkchar("A","umlaut",hex"C4",cap_accent_height_bis#,0);
italcorr cork_ic[a];
complete_umlaut(lshift,rshift);
endcorkchar;
begincorkchar("A","circ",hex"C5",0.7cap_accent_height#,0);
italcorr cork_ic[a];
pickup circle.nib;
bot y4=tmp_h-eps; top y2=h+o; y0=y1=y3=0.5[y4,y2];
x0=x2=x4=0.5[apprl,w-apprr]; x1-x0=x0-x3;
lft x3=hround(x0-0.5max(hThick+thin,3u+thin))-eps;
draw superellipse(z1,z2,z3,z4,superness);
labels(1,2,3,4,0);
endcorkchar;
begincorkchar("A","breve",hex"80",cap_accent_height#,0);
italcorr cork_ic[a];
complete_breve(lshift,rshift);
endcorkchar;
begincorkchar("A","ogonek",hex"81",0,desc_depth#);
italcorr cork_ic[a];
complete_ogonek(w-apprr-0.5thin,0);
endcorkchar;
begincorkchar("C","acute",hex"82",cap_accent_height#,0);
italcorr cork_ic[a];
complete_acute(lshift,rshift);
endcorkchar;
begincorkchar("C","hacheck",hex"83",cap_accent_height#,0);
italcorr cork_ic[a];
complete_hacheck(lshift,rshift);
endcorkchar;
begincorkchar("C","cedilla",hex"C7",0,desc_depth#);
italcorr cork_ic[a];
pickup circle.nib; lft x0l=apprl; rt x0r=w-apprr;
complete_cedilla(0.527[x0l,x0r],-o);
endcorkchar;
begincorkchar("D","hacheck",hex"84",cap_accent_height#,0);
italcorr cork_ic[a];
complete_hacheck(lshift,rshift);
endcorkchar;
begincorkchar("D","bar",hex"D0",0,0);
italcorr cork_ic[a];
pickup circle.nib;
lft x1=Apprl-hround 1.25u; x2=Apprl; x3=Apprl+hthick+thin;
rt x4-lft x1=slash_width; y1=y2=y3=y4=good.y 0.5h;
pickup square.nib; draw z1..z2; draw z3..z4; labels(1,2,3,4);
endcorkchar;
begincorkchar("E","grave",hex"C8",cap_accent_height#,0);
italcorr cork_ic[a];
complete_grave(lshift,rshift);
endcorkchar;
begincorkchar("E","acute",hex"C9",cap_accent_height#,0);
italcorr cork_ic[a];
complete_acute(lshift,rshift);
endcorkchar;
begincorkchar("E","circumflex",hex"CA",cap_accent_height#,0);
italcorr cork_ic[a];
complete_hat(Apprl,Apprr);
endcorkchar;
begincorkchar("E","umlaut",hex"CB",cap_accent_height_bis#,0);
italcorr cork_ic[a];
complete_umlaut(Apprl,Apprr);
endcorkchar;
begincorkchar("E","hacheck",hex"85",cap_accent_height#,0);
italcorr cork_ic[a];
complete_hacheck(Apprl,Apprr);
endcorkchar;
begincorkchar("E","ogonek",hex"86",0,desc_depth#);
italcorr cork_ic[a];
pickup circle.nib; rt x0=w-apprr;
complete_ogonek(x0,0);
endcorkchar;
begincorkchar("I","grave",hex"CC",cap_accent_height#,0);
italcorr cork_ic[a];
complete_grave(lshift,rshift);
endcorkchar;
begincorkchar("I","acute",hex"CD",cap_accent_height#,0);
italcorr cork_ic[a];
complete_acute(lshift,rshift);
endcorkchar;
begincorkchar("I","circumflex",hex"CE",cap_accent_height#,0);
italcorr cork_ic[a];
complete_hat(lshift,rshift);
endcorkchar;
begincorkchar("I","umlaut",hex"CF",cap_accent_height_bis#,0);
italcorr cork_ic[a];
complete_umlaut(lshift,rshift);
endcorkchar;
begincorkchar("I","dot",hex"9D",cap_accent_height_bis#,0);
italcorr cork_ic[a];
complete_dot(lshift,rshift);
endcorkchar;
begincorkchar("I","J",hex"9C",0,0);
italcorr cork_ic[a+1];
currentpicture:=currentpicture+cork_picture[a+1] shifted(w,0);
correct_width_by(0,cork_wd[a+1]);
endcorkchar;
begincorkchar("G","breve",hex"87",cap_accent_height#,0);
italcorr cork_ic[a];
complete_breve(w-13u,0);
endcorkchar;
begincorkchar("L","acute",hex"88",cap_accent_height#,0);
italcorr cork_ic[a];
complete_acute(lshift,rshift);
endcorkchar;
begincorkchar("L","hacheck",hex"89",0,0);
italcorr cork_ic[a];
correct_width_by(0,0.5u#);
pickup circle.nib; top y1=x_height; top y4=h;
rt x3=w-apprr; x3-x5=hthick;
lft x1=hround min(Apprl+hthick+thin+u,x5-thin);
complete_comma;
endcorkchar;
begincorkchar("L","cross",hex"8A",0,0);
italcorr cork_ic[a];
y0=x_height-eps; x1l=Apprl-hround 1.25u;
x0-hthick-0.5thin=x2l=x3l-hthick=Apprl+0.5thin;
x4l-x1l=y4l-y1l=slash_width; z0=whatever[z1l,z4l];
y4l-y4r=thin/((1++slant)*sind angle((z4l-z1l)slanted slant));
x4l=x4r; z2l=whatever[z1l,z4l]; z3l=whatever[z1l,z4l];
z1l-z1r=z2l-z2r=z3l-z3r=z4l-z4r;
penstroke z1e..z2e; penstroke z3e..z4e;
labels(0); penlabels(1,2,3,4);
endcorkchar;
begincorkchar("N","acute",hex"8B",cap_accent_height#,0);
italcorr cork_ic[a];
complete_acute(lshift,rshift);
endcorkchar;
begincorkchar("N","hacheck",hex"8C",cap_accent_height#,0);
italcorr cork_ic[a];
complete_hacheck(lshift,rshift);
endcorkchar;
begincorkchar("N","tilde",hex"D1",cap_accent_height#,0);
italcorr cork_ic[a];
complete_tilde(lshift,rshift);
endcorkchar;
begincorkchar("O","grave",hex"D2",cap_accent_height#,0);
italcorr cork_ic[a];
complete_grave(lshift,rshift);
endcorkchar;
begincorkchar("O","acute",hex"D3",cap_accent_height#,0);
italcorr cork_ic[a];
complete_acute(lshift,rshift);
endcorkchar;
begincorkchar("O","circumflex",hex"D4",cap_accent_height#,0);
italcorr cork_ic[a];
complete_hat(lshift,rshift);
endcorkchar;
begincorkchar("O","tilde",hex"D5",cap_accent_height#,0);
italcorr cork_ic[a];
complete_tilde(lshift,rshift);
endcorkchar;
begincorkchar("O","umlaut",hex"D6",cap_accent_height_bis#,0);
italcorr cork_ic[a];
complete_umlaut(lshift,rshift);
endcorkchar;
begincorkchar("O","long umlaut",hex"8E",cap_accent_height#,0);
italcorr cork_ic[a];
complete_long_umlaut(lshift,rshift);
endcorkchar;
begincorkchar("R","acute",hex"8F",cap_accent_height#,0);
italcorr cork_ic[a];
complete_acute(lshift,rshift);
endcorkchar;
begincorkchar("R","hacheck",hex"90",cap_accent_height#,0);
italcorr cork_ic[a];
complete_hacheck(lshift,rshift);
endcorkchar;
begincorkchar("S","acute",hex"91",cap_accent_height#,0);
italcorr cork_ic[a];
complete_acute(lshift,rshift);
endcorkchar;
begincorkchar("S","hacheck",hex"92",cap_accent_height#,0);
italcorr cork_ic[a];
complete_hacheck(lshift,rshift);
endcorkchar;
begincorkchar("S","cedilla",hex"93",0,desc_depth#);
italcorr cork_ic[a];
complete_cedilla(0.5[apprl,w-apprr],-o);
endcorkchar;
begincorkchar("S","S (es-zet)",hex"DF",0,0);
italcorr cork_ic[a];
currentpicture:=currentpicture+cork_picture[a] shifted(w,0);
correct_width_by(0,charwd);
endcorkchar;
begincorkchar("T","hacheck",hex"94",cap_accent_height#,0);
italcorr cork_ic[a];
complete_hacheck(lshift,rshift);
endcorkchar;
begincorkchar("T","cedilla",hex"95",0,desc_depth#);
italcorr cork_ic[a];
complete_cedilla(0.5[apprl,w-apprr],0);
endcorkchar;
begincorkchar("U","grave",hex"D9",cap_accent_height#,0);
italcorr cork_ic[a];
complete_grave(lshift,rshift);
endcorkchar;
begincorkchar("U","acute",hex"DA",cap_accent_height#,0);
italcorr cork_ic[a];
complete_acute(lshift,rshift);
endcorkchar;
begincorkchar("U","circumflex",hex"DB",cap_accent_height#,0);
italcorr cork_ic[a];
complete_hat(lshift,rshift);
endcorkchar;
begincorkchar("U","umlaut",hex"DC",cap_accent_height_bis#,0);
italcorr cork_ic[a];
complete_umlaut(lshift,rshift);
endcorkchar;
begincorkchar("U","long umlaut",hex"96",cap_accent_height#,0);
italcorr cork_ic[a];
complete_long_umlaut(lshift,rshift);
endcorkchar;
begincorkchar("U","circ",hex"97",0.7cap_accent_height#,0);
italcorr cork_ic[a];
pickup circle.nib;
bot y4=tmp_h-eps; top y2=h+o; y0=y1=y3=0.5[y4,y2];
x0=x2=x4=0.5[apprl,w-apprr]; x1-x0=x0-x3;
lft x3=hround(x0-0.5max(hThick+thin,3u+thin))-eps;
draw superellipse(z1,z2,z3,z4,superness);
labels(1,2,3,4,0);
endcorkchar;
begincorkchar("Y","acute",hex"DD",cap_accent_height#,0);
italcorr cork_ic[a];
complete_acute(lshift,rshift);
endcorkchar;
begincorkchar("Y","umlaut",hex"98",cap_accent_height_bis#,0);
italcorr cork_ic[a];
complete_umlaut(lshift,rshift);
endcorkchar;
begincorkchar("Z","acute",hex"99",cap_accent_height#,0);
italcorr cork_ic[a];
complete_acute(lshift,rshift);
endcorkchar;
begincorkchar("Z","hacheck",hex"9A",cap_accent_height#,0);
italcorr cork_ic[a];
complete_hacheck(lshift,rshift);
endcorkchar;
begincorkchar("Z","dot",hex"9B",cap_accent_height_bis#,0);
italcorr cork_ic[a];
complete_dot(lshift,rshift);
endcorkchar;
|