summaryrefslogtreecommitdiff
path: root/fonts/bbold/bbgreekl.mf
blob: a6b70be9e6a0ce0617590e94bbb0160d3292fead (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
% Blackboard bold lower case Greek, Alan Jeffrey, 15--18 Dec 1989.
%
% These characters occupy spaces oct "013" to oct "040", and oct "177".
% This is because ! occupies oct "041" and I have to stick omega 
% somewhere.

% -------------------------------------------------------------------

bbchar 
   (oct "013")
   (smallgap#, medlower#, smallgap# + jut#)
   (aTop#, aBottom#);
   
   "Lowercase Greek alpha";
   
   % The curve.
   var (path) alphapath;
   
   alphapath
      = Top~(Right + jut) {down}
           .. obelow Bottom~Middle {left}
           .. Horizon~Left {up}
           .. oabove Top~Middle {right}
           .. Bottom~(Right + jut){right};

   % The emphasis.
   draw
      fatcliptwice
         (rightof obelow Bottom~Left -- rightof oabove Top~Left)
         (alphapath);

   % The curve.
   draw alphapath

endchar;

% -------------------------------------------------------------------

bbchar
   (oct "014")
   (medgap#, smalllower# + fatness#, smallgap#)
   (bTop#, gBottom#);

   "Lowercase Greek beta";

   % The top curve.
   var (path) betapath;

   betapath
      = aBottom~Left
           --- aTop~Left
           .. oabove rightof Top~Middle {right}
           .. (Top -+- aTop)~Right {down}
           .. rightof aTop~Middle {left};

   % The emphasis
   draw
      fatcliponce
         (rightof Bottom~Left -- rightof oabove Top~Left)
         (betapath);

   % The top curve.
   draw betapath;

   % The bottom curve.
   draw
      rightof aTop~Middle {right}
         .. aMiddle~Right {down}
         .. obelow rightof aBottom~Middle {left}
         .. farrightof (aBottom + cCurl)~Left

endchar;

% -------------------------------------------------------------------

bbchar 
   (oct "015")
   (smallgap#, medlower#, smallgap#)
   (aTop#, gBottom#);

   "Lowercase Greek gamma";

   % The curve.
   var (path) gammapath;
   
   gammapath 
      = Top~Left {right}
           .. aBottom~Right {down}
           .. obelow Bottom~Middle {left}
           .. aBottom~Left {up}
           .. Top~Right {right};

   % The emphasis.
   draw
      fatcliptwice
         (obelow rightof Bottom~Left -- rightof Top~Left)
         (subpath (1,infinity) of gammapath);

   % The curve.
   draw gammapath

endchar;

% -------------------------------------------------------------------

bbchar
   (oct "016")
   (smallgap#, medlower#, smallgap#)
   (bTop#, aBottom#);

   "Lowercase Greek delta";

   % The path.
   var (path) deltapath;
   
   deltapath
      = aTop~Middle {left}
           .. aMiddle~Left {down}
           .. obelow Bottom~Middle {right}
           .. aMiddle~Right {up}
           .. aTop~Middle
           .. (aTop -+- Top)~Left {up}
           .. oabove Top~Middle {right}
           .. (Top - cCurl)~Right;

   % The emphasis, clipped by the first bit of the curve (ie the bowl).
   draw
      fatcliptwice
         (obelow rightof Bottom~Left -- rightof Top~Left)
         (subpath (0,4) of deltapath);

   % The curve.
   draw deltapath

endchar;

% -------------------------------------------------------------------

bbchar
   (oct "017")
   (smallgap#, medlower#, smallgap#)
   (aTop#, aBottom#);

   "Lowercase Greek epsilon";

   % The curve.
   var (path) epsilonpath;
   
   epsilonpath
      = (Top - cCurl)~Right
           .. oabove Top~Middle {left}
           .. aMiddle~Left {down}
           .. obelow Bottom~Middle {right}
           .. (Bottom + cCurl)~Right;

   % The emphasis.
   draw
      fatcliptwice
         (obelow rightof Bottom~Left -- oabove rightof Top~Left)
         (epsilonpath);

   % The curve.
   draw epsilonpath;

   % The bar.
   draw
      farrightof eBar~Left
         -- farrightof eBar~(Left + jut)

endchar;
   
% -------------------------------------------------------------------

bbchar 
   (oct "020")
   (medgap#, smalllower#, smallgap#)
   (bTop#, gBottom#);

   "Lowercase Greek zeta";
   
   % The curl.
   var (path) zetapath;
   
   zetapath
      = Top~Right
           .. aMiddle~Left {down}
           .. aBottom~Middle
           .. (aBottom -+- Bottom)~Right {down}
           .. Bottom~(Right - jut) {left};

   % The emphasis.
   draw
      fatcliptwice
         (rightof Bottom~Left -- rightof Top~Left)
         (zetapath);

   % The curl.
   draw zetapath

endchar;

% -------------------------------------------------------------------

bbchar
   (oct "021")
   (medgap#, smalllower# + fatness#, medgap#)
   (aTop#, gBottom#);

   "Lowercase Greek eta";
   
   % The emphasis.
   draw
      fatten
         rightof aBottom~Left
            -- rightof Top~Left;

   % The curl.
   draw
      farrightof (Top - cCurl)~Left
         .. oabove rightof Top~Middle {right}
         .. (Top - hCurl)~Right
         --- Bottom~Right

endchar;

% -------------------------------------------------------------------

bbchar
   (oct "022")
   (smallgap#, medlower#, smallgap#)
   (bTop#, aBottom#);

   "Lowercase Greek theta";
   
   % The curve.
   var (path) thetapath;
   
   thetapath
      = Horizon~Right {up}
           .. oabove Top~Middle {left}
           .. Horizon~Left {down}
           .. obelow Bottom~Middle {right}
           .. cycle;

   % The emphasis.
   draw
      fatcliptwice
         (rightof obelow Bottom~Left -- oabove rightof Top~Left)
         (thetapath);

   % The curve.
   draw thetapath;

   % The bar.
   draw
      farrightof Horizon~Left 
         -- Horizon~Right

endchar;

% -------------------------------------------------------------------

bbchar 
   (oct "023")
   (medgap#, tiny#, medgap#)
   (aTop#, aBottom#);

   "Lowercase Greek iota";
   
   % The vertical, clipped by a curve.
   draw
      fatcliponce
         (Top~Middle -- Bottom~Middle)
         (leftof (Bottom + hCurl)~Middle {down} 
             .. rightof Bottom~Middle {right})

endchar;

% -------------------------------------------------------------------

bbchar
   (oct "024")
   (medgap#, smalllower# + fatness#, smallgap#)
   (aTop#, aBottom#);

   "Lowercase Greek kappa";
   
   % The vertical.
   draw
      fatten
         rightof Bottom~Left
            -- rightof Top~Left;

   % The top stroke.
   draw
      farrightof eBar~Left
         -- Top~Right;

   % The bottom stroke.
   draw
      farrightof eBar~Left {right}
         .. Bottom~Right {right}

endchar;

% -------------------------------------------------------------------

bbchar
   (oct "025")
   (smallgap#, medlower#, smallgap#)
   (bTop#, aBottom#);

   "Lowercase Greek lambda";
   
   % The SW diagonal.
   draw
      Horizon~Middle
         -- Bottom~Left;

   % The SE diagonal, fattened.
   outline
      fatten
         rightof Top~Left
            -- leftof Bottom~Right

endchar;

% -------------------------------------------------------------------

bbchar
   (oct "026")
   (medgap#, smalllower# + fatness#, medgap#)
   (aTop#, gBottom#);

   "Lowercase Greek mu";
   
   % The left vertical, fattened.
   draw
      fatten
         rightof Bottom~Left 
            -- rightof Top~Left;

   % The curl.
   draw
      farrightof (aBottom + cCurl)~Left
        .. obelow rightof aBottom~Middle {right}
        .. (aBottom + hCurl)~Right
        --- Top~Right;

   % The right vertical.
   draw
      Top~Right
         -- aBottom~Right

endchar;

% -------------------------------------------------------------------

bbchar 
   (oct "027")
   (medgap#, medlower#, smallgap#)
   (aTop#, aBottom#);

   "Lowercase Greek nu";
   
   % The left vertical, clipped by the stroke.
   draw
      fatcliponce
         (rightof Top~Left -- rightof Bottom~Left)
         (Bottom~Left .. Top~Right {up});

   % The stroke.
   draw
      Bottom~Left 
         .. Top~Right {up}

endchar;

% -------------------------------------------------------------------

bbchar
   (oct "030")
   (medgap#, smalllower#, smallgap#)
   (bTop#, gBottom#);

   "Lowercase Greek xi";

   % The curls.
   var (path) xitop, xibottom;
   
   xibottom
      = farrightof aTop~(Left + jut) {left}
           .. aMiddle~Left {down}
           .. aBottom~Middle
           .. (aBottom -+- Bottom)~Right {down}
           .. Bottom~(Right - jut) {left};

   xitop
      = Top~Right {left}
           .. (Top -+- aTop)~Left {down}
           .. farrightof aTop~(Left + jut) {right};

   % The top emphasis.
   draw
      fatcliptwice
         (rightof Bottom~Left -- rightof Top~Left)
         (xitop);

   % The top curl.
   draw xitop;

   % The bottom emphasis.
   draw
      fatcliptwice
         (rightof Bottom~Left -- rightof Top~Left)
         (xibottom);

   % The bottom curl.
   draw xibottom

endchar;

% -------------------------------------------------------------------

bbchar 
   (oct "031")
   (smallgap#, smalllower# + fatness#, smallgap#)
   (aTop#, aBottom#);

   "Lowercase Greek pi";
   
   % The top bar.
   draw
      Top~Left
         --- Top~Right;

   % The left vertical, fattened.
   draw
      fatten
         rightof Bottom~(Left + jut)
            -- rightof Top~(Left + jut);

   % The right vertical.
   draw
      Bottom~(Right - jut)
         -- Top~(Right - jut)

endchar;

% -------------------------------------------------------------------

bbchar 
   (oct "032")
   (medgap#, medlower#, smallgap#)
   (aTop#, gBottom#);

   "Lowercase Greek rho";
   
   % The bowl.
   var (path) rhopath;
   
   rhopath
      = aMiddle~Left {up}
           .. oabove aTop~Middle {right}
           .. aMiddle~Right {down}
           .. obelow aBottom~Middle {left}
           .. cycle;

   % The bowl.
   draw rhopath;
   
   % The emphasis, clipped by the beginning of the curve.
   outline
      fatcliponce
         (rightof Bottom~Left --  rightof bracketTop~Left)
         (subpath (0,2) of rhopath);

endchar;

% -------------------------------------------------------------------

bbchar
   (oct "033")
   (smallgap#, medlower#, smallgap# + jut#)
   (aTop#, aBottom#);

   "Lowercase Greek sigma";
   
   % The bowl.
   var (path) sigmapath;
   
   sigmapath
      = Horizon~Right {up}
           .. Top~Middle {left}
           .. Horizon~Left {down}
           .. obelow Bottom~Middle {right}
           .. cycle;

   % The emphasis.
   draw
      fatcliptwice
         (rightof obelow Bottom~Left -- rightof Top~Left)
         (sigmapath);

   % The bowl.
   draw sigmapath;
   
   % The bar, jutting out to the right.
   draw
      Top~Middle 
         -- Top~(Right + jut)

endchar;

% -------------------------------------------------------------------

bbchar
   (oct "034")
   (smallgap#, medlower#, smallgap#)
   (aTop#, aBottom#);
   
   fatsymmetric;

   "Lowercase Greek tau";
   
   % The top line.
   draw
      Top~Left
         -- Top~Right;

   % The vertical, clipped by a curve.
   draw
      fatcliponce
         (Top~Middle -- Bottom~Middle)
         (leftof (Bottom + hCurl)~Middle {down} 
             .. rightof Bottom~Middle {right})

endchar;

% -------------------------------------------------------------------

bbchar
   (oct "035")
   (medgap#, medlower#, medgap#)
   (aTop#, aBottom#);

   "Lowercase Greek upsilon";
   
   % The curve.
   var (path) upsilonpath;
   
   upsilonpath
      = Top~Left
           --- (Bottom + hCurl)~Left
           .. obelow Bottom~Middle {right}
           .. (Bottom + hCurl)~Right
           --- Top~Right;

   % The emphasis.
   draw
      fatcliponce
         (rightof Top~Left -- rightof obelow Bottom~Left)
         (upsilonpath);

   % The curve.
   draw upsilonpath

endchar;

% -------------------------------------------------------------------

bbchar
   (oct "036")
   (smallgap#, medlower#, smallgap#)
   (bTop#, gBottom#);
   
   fatsymmetric;

   "Lowercase Greek phi";
   
   % The bowl.
   draw
      Middle~Right {up}
        .. aTop~Middle {left}
        .. aMiddle~Left {down}
        .. aBottom~Middle {right}
        .. cycle;

   % The vertical, fattened.
   outline
      fatten
         Top~Middle
            -- Bottom~Middle

endchar;
   
% -------------------------------------------------------------------

bbchar
   (oct "037")
   (smallgap#, medlower#, smallgap#) 
   (aTop#, gBottom#);

   "Lowercase Greek chi";

   % The SE diagonal.
   draw
      Top~Left
         -- Bottom~Right;

   % The SW diagonal, fattened.
   outline
      fatten
         leftof Top~Right
            -- rightof Bottom~Left

endchar;

% -------------------------------------------------------------------

bbchar
   (oct "040")
   (medgap#, medlower#, medgap#)
   (bTop#, gBottom#);
   
   fatsymmetric;

   "Lowercase Greek psi";
   
   % The curve.
   draw
      aTop~Left
         --- (aBottom + hCurl)~Left
         .. aBottom~Middle {right}
         .. (aBottom + hCurl)~Right
         --- aTop~Right;

   % The vertical, fattened.
   outline
      fatten
         Top~Middle
            -- Bottom~Middle

endchar;

% -------------------------------------------------------------------

bbchar 
   (oct "177")
   (smallgap#, biglower#, smallgap#)
   (aTop#, aBottom#);
   
   symmetric;

   "Lowercase Greek omega";
   
   % The left curve.
   var (path) omegapath;
   
   omegapath
      = farrightof Top~Left
           .. Horizon~Left {down}
           .. obelow Bottom~(Left -+- Middle) {right}
           .. eBar~Middle {up};

   % The emphasis.
   draw
      fatcliptwice
         (rightof Top~Left -- obelow rightof Bottom~Left)
         (omegapath);

   % The left curve.
   draw omegapath;
   
   % The right curve.
   draw
      eBar~Middle {down}
         .. obelow Bottom~(Right -+- Middle) {right}
         .. Horizon~Right {up}
         .. farleftof Top~Right

endchar;

% -------------------------------------------------------------------