]> git.donarmstrong.com Git - lilypond.git/blob - mf/feta-din-code.mf
* mf/feta-din-code.mf: Format; clean up code.
[lilypond.git] / mf / feta-din-code.mf
1
2 ex# := (dynamic_design_size / 2.4) * pt#;
3 descender# := 0.5 ex#;
4 ascender# := 0.72 ex#;
5 staffspace# := 1.75 / 2.0 * ex#;
6 horizontal_space# := .66 ex#;
7
8 font_x_height ex#;
9 font_normal_space horizontal_space#;
10
11 define_pixels (staffspace, linethickness, ex, descender, ascender);
12
13
14 %
15 % TODO: blot diameter should be fixed, not scalable.
16 %
17
18 save serif_thick, med_thick, bottom_blot;
19
20 serif_thick# = 1.1 linethickness#;
21 define_blacker_pixels (serif_thick);
22
23 med_thick = round (1.5 linethickness);
24 bottom_blot = 1.3 serif_thick;
25
26
27 code := 32;
28
29 fet_beginchar ("Space", "space");
30         set_char_box (0, horizontal_space#, 0, ex#);
31 fet_endchar;
32
33
34 %
35 % Couldn't find many z examples.  This one is losely inspired
36 % by a sfz from Mueller Etuden fuer Horn (Edition Hofmeister).
37 %
38
39 code := 121;
40
41 fet_beginchar ("dynamic z", "z");
42         save thin_thick, top_narrow, over_shoot;
43         save bot_thick;
44
45         set_char_box (0, .98 ex#, 0, 0.9 ex#);
46
47         thin_thick = serif_thick;
48         top_narrow = thin_thick;
49         top_overshoot = .8 serif_thick;
50         top_thick = .3 h;
51         bot_thick = .2 ex;
52         bot_overshoot = serif_thick;
53
54         x0 = top_narrow;
55         y0 = .9 [y1r, y1l];
56
57         penpos1 (top_thick, 80);
58         y1l = .72 h;
59         x1r = .34 ex;
60
61         x2 = .66 ex;
62         y2 = y1r - top_overshoot;
63
64         y3 = h - .7 thin_thick;
65         x3 = w - .6 top_narrow - .5 thin_thick;
66         y4 = .5 thin_thick;
67         x4 = .5 thin_thick;
68
69         penpos3 (thin_thick, angle (z3 - z4) + 90);
70         penpos4 (thin_thick, angle (z3 - z4) + 90);
71
72         penpos5 (bot_thick, 70);
73         x5l =.25 ex;
74         y5l = .4 bot_overshoot;
75
76         penpos6 (3/2 bot_thick, 70);
77         y6l = -bot_overshoot;
78         x6 = w - 3 top_narrow;
79
80         x7 = w;
81         y7 = .82 [y8r, y6r];
82
83         penpos8 (thin_thick, 20);
84         x8r = w - .35 top_narrow;
85         y8r = .45 h;
86
87         penlabels (range 0 thru 8);
88
89 %       pickup pencircle scaled 1;
90
91 %       draw
92         fill z0{down}
93              .. z1l{dir (10)}
94              .. simple_serif (z3l, z3r, 90)
95              .. z2{left}
96              .. z1r{left}
97              .. tension 1.2.. cycle;
98
99 %       draw
100         fill z3l
101              -- z3r
102              -- z4r
103              -- z4l
104              -- cycle;
105
106 %       draw
107         fill simple_serif (z4r, z4l, 90)
108              .. z5l{right}
109              .. z6l{right}
110              .. z7{up}
111              .. simple_serif (z8r, z8l, 90)
112              .. z6r{left}
113              .. z5r{left}
114              .. cycle;
115 fet_endchar;
116
117
118 % forte f, grabbed from Ed Breitkopf Mozart horn concerto 3.
119 %
120 % NOTES:
121 %
122 % * the bulbs are open.
123 %
124 % * blotting around the serif
125 %
126 %
127 %
128 % TODO: insert blots around the serif
129 %
130 %
131 %
132
133 slant_angle = 20;
134 code := 101;
135
136 fet_beginchar ("dynamic f", "f");
137         save left_angle, right_angle;
138         save serif_length, serif_excentricity;
139         save f_thick;
140         save bulb_thick, bulb_diam, fill_up;
141         save slant;
142         save p;
143         path p;
144
145         set_char_box (0, 1.1 ex#, descender#, ex# + ascender#);
146
147         bulb_diam = 7.5 / 40 ex;
148         bulb_thick = 8.5/40 ex;
149         fill_up = 1.5 serif_thick;
150         left_angle = slant_angle - 6;
151         right_angle = slant_angle - 3;
152         f_thick = 7/16 ex;
153         serif_length = 0.96 ex;
154         serif_excentricity = 0.01 ex;
155
156         % z1 is the `base point'
157         z1 = (0.2 ex, -serif_thick);
158
159         penpos2 (f_thick, 0);
160         y2 = y1 + ex;
161         z2l = z1 + whatever * dir (90 - left_angle);
162
163         penpos3 (med_thick, -90);
164         y3l = y1 + ex + ascender;
165         x3l = x1 + ex;
166
167         penpos4 (bulb_thick, -20);
168         z3r = whatever [z4r, z4l];
169
170         x4l - x3l = 1/10 ex;
171
172         penpos5 (bulb_thick, -45);
173         x5r = 0.1 [x4l, x4r];
174         y5l = y4l - bulb_diam;
175
176         z6 = z2r + whatever * dir (90 - right_angle);
177         y6 = y1 + 3/8 ex;
178
179         penpos7 (med_thick, -90);
180         x7 = x1 - 1/4 ex;
181         y7r = y1 -descender;
182
183         penpos8 (bulb_thick, 160);
184         x8l = x7l - 1/10 ex;
185
186         z7l = whatever [z8r,z8l];
187
188         penpos9 (bulb_thick, 135);
189         x9r = 0.1 [x8l, x8r];
190         y9l = y8l + bulb_diam;
191
192         labels (1, 6, 9);
193         penlabels (2, 3, 4, 5, 7, 8, 9);
194
195 %       pickup pencircle scaled 1;
196
197 %       draw
198         fill z1
199              -- z2l{z2l - z1}
200              ..tension 1.1.. z3l{right}
201              .. z4r{down}
202              .. z5r{left}
203              .. z5l{up}
204              ..tension 0.8.. z4l{up}
205              .. z3r{left}
206              ..tension 1.1.. z2r{z6 - z2r}
207              -- z6{z6 - z2r}
208              ..tension 1.25 .. z7r{left}
209              .. z8r{up}
210              .. z9r{right}
211              .. z9l{down}
212              ..tension 0.8.. z8l{down}
213              .. z7l{right}
214              .. {z2l - z1}cycle;
215
216         x13 - x14 = serif_length;
217         y13 = y14;
218         y14 = y2;
219         0.5 [x13, x14] = x2 + serif_excentricity;
220
221         draw_rounded_block (z14 - (0, 0.7 serif_thick),
222                             z13 + (0, 0.7 serif_thick),
223                             1.4 serif_thick);
224
225         labels (13, 14);
226 fet_endchar;
227
228
229 %
230 % Notes:
231 %
232 % - The `s' is trapezoidal (i.e., narrower at the top).
233 %
234 % - The white space is differently shaped at the top (the bulb's inner
235 %   curve is filled up).
236 %
237 % - Less heavy than the `f' and `p' signs.
238 %
239
240 code := 114;
241
242 fet_beginchar ("dynamic s", "s");
243         save left_angle, right_angle;
244         save s_thick, s_thin;
245         save bulb_diam, bulb_len;
246         save over_shoot;
247         save base_point;
248         pair base_point;
249
250         set_char_box (0, 17/24 ex#, 0, ex#);
251
252         over_shoot = 0;                 % .2 serif_thick;
253         bulb_diam = 11/70 ex;
254         bulb_len = 1.0 bulb_diam;
255         left_angle = slant_angle - 2;
256         right_angle = slant_angle - 11;
257         s_thick = 16/70 ex;
258         s_thin = serif_thick;
259
260         base_point = (0, 0);
261
262         penpos1 (bulb_diam, -45);
263         z1 = 0.35 [z2l, z2r] + bulb_len * dir (45);
264
265         penpos2 (bulb_diam, -25);
266         y2l = 0.845 [y7r, y3r];
267         z2l = base_point + whatever * dir (90 - left_angle);
268
269         penpos3 (s_thin, 100);
270         x3l = 1/2 w;
271         y3l = ypart base_point - over_shoot;
272
273         penpos4 (s_thick, 25);
274         y4l = y1r;
275         z4r = base_point + (w, 0) + whatever * dir (90 - right_angle);
276
277         penpos5 (s_thick, 40);
278         z5 = z3l + whatever * dir (90 - right_angle);
279         y5 = 0.48 [y7r, y3r];
280
281         penpos6 (s_thick, 25);
282         z6l = base_point + whatever * dir (90 - left_angle);
283         y6r = y9l;
284
285         penpos7 (.9 s_thin, 110);
286         z7l = 0.45 [z6r, z8l] + whatever * dir (90 - left_angle);
287         y7r = h + over_shoot;
288
289         penpos8 (.9 bulb_diam, -25);
290         z8 = .6 [z4l, z4r] + whatever * dir (90 - right_angle);
291         y8r = 0.23 [y7r, y3r];
292
293         penpos9 (.9 bulb_diam, -45);
294         z9 = .4 [z8r, z8l] + .9 bulb_len * dir (-135);
295
296         penlabels (range 1 thru 9);
297
298 %       pickup pencircle scaled 1;
299
300 %       draw
301         fill z2l{down}
302              .. z3l{right}
303              .. z4r{up}
304              .. z5r
305              .. z6r{up}
306              .. z7l{right}
307         %    .. z8l{down}
308              .. z9l{dir (-125)}
309              .. z9r{right}
310              .. z7r{left}
311              .. z6l{down}
312              .. z5l
313              .. z4l{down}
314              .. z3r{left}
315              .. z2r{up}
316              .. z1r{up}
317              .. z1l{left}
318              .. cycle;
319 fet_endchar;
320
321
322 % for `p' and `m'
323
324 save slant;
325 slant := ypart (dir (slant_angle));
326
327
328 %
329 % Piano `p', grabbed from Ed Breitkopf Mozart horn concerto 3.
330 %
331 % Notes:
332 %
333 % * There is no dishing in the serif (but we do it anyway).
334 %
335 % * The cheek is a little fatter than the stem.
336 %
337 % * The slant is extreme: 20 degrees.
338 %
339 % * The twiddle (what'sitcalled) is a slightly darker than the serif.
340 %
341 % * The hole in the cheek has a straight right side.
342 %
343 % * Corners are filled up.
344 %
345
346 code := 111;
347
348 fet_beginchar("dynamic p", "p")
349         % TODO: w really is 13/12 ex
350         %       but should do kerning
351
352         save twiddle_thick, stem_thick, cheek_thick, cheek_width;
353         save fill_up, straigh_len;
354         save serif, dishing_angle, p, tmp;
355         save cheek_medium, left_serif_protude, right_serif_protude;
356         save lower_overshoot;
357         save blot_t, corner_t;
358         path serif, p;
359         pair tmp, updir;
360
361         set_char_box (0, 15/12 ex#, descender#, 1.0 ex#);
362
363         twiddle_thick = med_thick;
364         cheek_medium = 1/6 ex;
365
366         dishing_angle = 5;
367         fill_up = 1.5 serif_thick;
368         straigh_len = 0.5 ex;
369         lower_overshoot = .3 serif_thick;
370
371         stem_thick = 2/6 ex;
372         cheek_thick = 13/32 ex;
373         cheek_width = 0.72 ex;
374         left_serif_protude = 18/60 ex;
375         right_serif_protude= 15/60 ex;
376
377         currenttransform := currenttransform slanted slant;
378
379         penpos1 (twiddle_thick, -slant - 5);
380         penpos2 (cheek_medium, 90 - slant);
381         penpos3 (cheek_medium, 90 - slant);
382
383         x4r - x4l = cheek_thick;
384
385         penpos4 (whatever, 0);
386         penpos5 (whatever, -38);
387         penpos6 (stem_thick, 0);
388         penpos17 (straigh_len, 90 - slant);
389
390         whatever [z17l, z17r] =  z4l;
391         y17 = 7/16 ex;
392         x6l = 0;
393         y6l = -descender + serif_thick / 2;
394         z1l = z6l - whatever * dir (110);
395         y1r = 0.5 ex;
396         y2r = ex;
397         z7 = whatever * up + z6l;
398         y7 = 43/60 ex;
399         z2l = whatever * up + 0.3 [z7, z1r];
400         y8 = 0.9 [y7, y2l];
401         z8 = 2/3 [z6l, z6r] + whatever * up;
402         y3r = ex;
403         z3l = 0.58 [(stem_thick, -descender),
404                     (stem_thick + cheek_width - cheek_thick, -descender)]
405               + whatever * up;
406         y4r = .38 ex;
407         z4r = whatever * up + (stem_thick + cheek_width, -descender);
408         z5l = whatever * up + z3l;
409         y5r = -lower_overshoot;
410         y5l = y5r + cheek_medium * ypart dir (55);
411         z9 = z6r + whatever * up;
412         y9 = .2 [y5l, y5r];
413
414         p := z2r{right}
415              .. {dir (-60)}z8{dir 60}
416              .. z3r{right}
417              .. z4r{down}
418              ..tension 1.1.. z5r{left}
419              .. {curl 1}z9
420              -- z6r
421              -- z6l
422              -- z7{up}
423              .. z2l{left}
424              ..tension 1.2.. simple_serif (z1r, z1l, -90)
425              .. cycle;
426
427         blot_t := 0.13;
428         corner_t := xpart (p intersectiontimes z9);
429
430 %       pickup pencircle scaled 1;
431
432 %       draw
433         fill subpath (0, corner_t - 2 blot_t) of p
434              .. subpath (corner_t + blot_t, length p) of p
435              .. cycle;
436
437         y12 = 0.5 ex;
438         z12 = z6r + whatever * up;
439
440         unfill z17l
441                ..tension 1.5.. z17r
442                .. z3l{left}
443                ..tension 1.05.. z12{down}
444                ..tension 1.05.. z5l{right}
445                .. cycle;
446
447         penlabels (1, 2, 3, 4, 5, 6, 17);
448         labels (7, 8, 9);
449
450         pickup pencircle scaled serif_thick;
451
452         lft x11 = -left_serif_protude;
453         rt x10 = stem_thick + right_serif_protude;
454         bot y10 = bot y11 = -descender;
455
456         z15 = z6l + up * fill_up;
457         z16 = z6r + up * 1.2 fill_up;
458
459         % Since pens are not affected by currenttransform we directly
460         % transform the necessary points, then simulating the pen with
461         % an outline while using the identity transformation.
462
463         forsuffixes $ = 7, 10, 11, 15, 16:
464                 tmp := z$ transformed currenttransform;
465                 x$ := xpart tmp;
466                 y$ := ypart tmp;
467         endfor;
468
469         currenttransform := identity;
470
471         updir = z7 - z15;
472
473         serif := simple_serif (z10, z11, dishing_angle);
474
475         penpos10 (serif_thick, -dishing_angle - 90);
476         penpos11 (serif_thick, dishing_angle - 90);
477         penpos13 (serif_thick, angle (direction 0.05 of serif) + 90);
478         penpos14 (serif_thick, angle (direction 0.85 of serif) + 90);
479
480         z13 = point 0.05 of serif;
481         z14 = point 0.85 of serif;
482
483         penlabels (10, 11, 13, 14);
484         labels (15, 16);
485
486 %       draw
487         fill z15{-updir}
488              .. z14l{direction 0.85 of serif}
489              .. z11l{-dir (dishing_angle)}
490              .. z11r{dir (dishing_angle)}
491              .. z14r{-direction 0.85 of serif}
492              .. z13r{-direction 0.05 of serif}
493              .. z10r{dir (-dishing_angle)}
494              .. z10l{-dir (-dishing_angle)}
495              .. z13l{direction 0.05 of serif}
496              .. z16{updir}
497              -- cycle;
498 fet_endchar;
499
500
501 %
502 % NOTES:
503 %
504 % * Right stem is fatter and more straight than the left two stems.
505 %
506 % * The twiddle at the left is similar to the `p' twiddle.
507 %
508 % * The bottoms of the stems are blotted.
509 %
510 %
511 % This is cut & paste programming.  Somehow three `i' shapes in two
512 % characters (`p' and `m') -- doesn't seem worth the trouble of writing
513 % a macro.
514 %
515
516 code := 108;
517
518 fet_beginchar ("dynamic m", "m");
519         save i_thick, i_angle, i_twiddle_thick;
520         save i_twiddle_start_angle, i_twiddle_start_y;
521         save i_twiddle_end_angle, i_left_space;
522         save idir, center, right_ending;
523         save overshoot;
524         save p;
525         pair center, idir, right_ending;
526         path p;
527
528         set_char_box (0, 1.5 ex#, 0, 1.0 ex#);
529
530         % should share code with p for twiddle.
531
532         overshoot = .25 serif_thick;
533         i_thick := 21/80 ex;
534         i_twiddle_thick = 1.2 serif_thick;
535         i_twiddle_start_y = 8/16 ex;
536         i_twiddle_start_angle = 0;
537         i_twiddle_end_angle := 35;
538
539         center = (0, 0);
540
541         currenttransform := currenttransform slanted slant;
542
543         i_angle := 0;
544         idir := dir (90 - i_angle);
545         i_left_space = 16/80 ex;
546
547         penpos1 (i_twiddle_thick, -i_twiddle_start_angle);
548         y1 = i_twiddle_start_y;
549         z1r = center - (i_left_space, 0) + whatever * idir;
550
551         y2l = ex + overshoot;
552         z2l = .08 [z3l, z3r] + whatever * idir;
553         z2r = 5/8 [z1r, z3l] + whatever * idir;
554         y2r = y5l + 1/9 ex;
555         z2 = 1/2 [z2l, z2r];
556
557         penpos3 (i_thick, 0);
558         y3 = 0.5 bottom_blot + ypart center;
559         z3l = center + whatever * idir;
560
561         penpos4 (i_thick - bottom_blot, 0);
562         y4 = ypart center;
563         z4 - z3 = whatever * idir;
564
565         penpos5 (i_thick, 0);
566         z5 = z4 + whatever * idir;
567         y5 = 55/80 ex;
568
569         fill simple_serif (z1l, z1r, 90)
570              ..tension 1.2.. z2r{right}
571              .. z5l{z3 - z5}
572              -- z3l{z3 - z5}
573              .. z4l{right}
574              -- z4r{right}
575              .. z3r{z5 - z3}
576              -- z5r{z5 - z3}
577              ..tension 1.2.. z2l{left}
578              .. cycle;
579
580         right_ending := z5r;
581         penlabels (1, 2, 3, 4, 5);
582
583         %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
584
585         clearxy;
586
587         i_angle := -3.2;
588         idir := dir (90 - i_angle);
589         i_left_space := 14/80 ex;
590
591         penpos1 (serif_thick, -i_twiddle_start_angle);
592         z1r = right_ending;
593
594         y2l = ex+ overshoot;
595         z2l = .08 [z3l, z3r] + whatever * idir;
596         z2r = 5/8 [z1r, z3l] + whatever * idir;
597         y2r = y5l + 1/9 ex;
598         z2 = 1/2 [z2l, z2r];
599
600         penpos3 (i_thick, 0);
601         y3 = 0.5 bottom_blot + ypart center;
602         z3l = z5l + whatever * idir;
603
604         penpos4 (i_thick - bottom_blot, 0);
605         y4 = ypart center;
606         z4 - z3 = whatever * idir;
607
608         penpos5 (i_thick, 0);
609         z5l = right_ending + (i_left_space, 0);
610
611         fill simple_serif (z1l, z1r, 90)
612              ..tension 1.05.. z2r{right}
613              .. z5l{z3 - z5}
614              -- z3l
615              ..  z4l{right}
616              -- z4r{right}
617              .. z3r{z5 - z3}
618              -- z5r{z5 - z3}
619              ..tension 1.2.. z2l{left}
620              .. cycle;
621
622         right_ending := z5r;
623         penlabels (1, 2, 3, 4, 5);
624
625         %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
626
627         clearxy;
628
629         i_thick := 23/80 ex;
630         i_angle := -6;
631         idir := dir (90 - i_angle);
632         i_left_space := 14/80 ex;
633
634         penpos1 (serif_thick, -i_twiddle_start_angle);
635         z1r = right_ending;
636
637         y2l = ex + overshoot;
638         z2l = .08 [z3l, z3r] + whatever * idir;
639         z2r = 5/8 [z1r, z3l] + whatever * idir;
640         y2r = y5l + 1/9 ex;
641         z2 = 1/2 [z2l, z2r];
642
643         penpos3 (whatever, 20);
644         y3l = 1/8 ex + ypart center;
645         z3l = z7l + whatever * idir;
646         z3r = z7r + whatever * idir;
647
648         penpos5 (whatever, 10);
649         z5l = right_ending + (i_left_space, 0);
650         z5r = z7r + whatever * idir;
651
652         penpos6 (serif_thick, -i_twiddle_end_angle);
653         y6l = 23/80 ex + ypart center;
654         z6l = 1.6 [z3l, z3r] + whatever * idir;
655
656         penpos7 (i_thick ,0);
657         y7 = 0;
658         z7l = z5l + whatever * idir;
659
660         z8 = z7 - (0, overshoot);
661
662         fill simple_serif (z1l, z1r, 90)
663              ..tension 1.05.. z2r{right}
664              .. z5l{z3 - z5}
665              -- z3l{z3 - z5}
666              .. z8{right}
667              .. simple_serif (z6r, z6l, 90)
668              ..tension 0.85.. z3r{z5 - z3}
669              -- z5r{z5 - z3}
670              ..tension 1.2.. z2l{left}
671              .. cycle;
672
673         penlabels (range 1 thru 8);
674 fet_endchar;
675
676
677 code := 113;
678
679 fet_beginchar ("dynamic r", "r");
680         save base_point, stem_thick, bulb_diam;
681         save twiddle_thick, attach_len, overshoot, taille;
682         pair base_point;
683
684         set_char_box (0, .75 ex#, 0, 1ex#);
685
686         stem_thick =.26 ex;
687         bulb_diam = .30 ex;
688         twiddle_thick= 1.1 serif_thick;
689         overshoot = .5 serif_thick;
690         taille = -0.3 serif_thick;
691         attach_len + bulb_diam / 2 + stem_thick = w;
692
693
694         base_point = (0, 0);
695
696         currenttransform := identity slanted ypart (dir (15));
697
698         penpos1 (stem_thick, 0);
699         x1l = 0;
700         y1l = .5 bottom_blot;
701
702         penpos2 (stem_thick, 0);
703         x2l = x1l;
704         y2l - y1l = 36/47 ex;
705
706         penpos3 (twiddle_thick, -20);
707         x3r = x2l - .2 ex;
708         y3 = .77  ex;
709
710         x4l = -0.1 [x1l, x1r];
711         y4l = ex + overshoot;
712         x4r = 0.62 [x3r, x2l];
713         y4r = 0.5 [y4l, y2l];
714
715         penpos5 (whatever, -74);
716         y5l - y5r =  bulb_diam;
717         y5l = ex + overshoot;
718         x5 = x2r + attach_len;
719
720         penpos6 (bulb_diam, 0);
721         z6 = z5;
722
723 %       z7 = z6l + taille * dir (180);
724         z7 = z6 + .4 * bulb_diam * dir (-125);
725
726         z8 = 9/10 [z1r, z2r];
727
728         x9 = 0.15 [x1r, x1l];
729         y9 = y4l - .12 ex;
730
731         penpos10 (stem_thick - bottom_blot, 0);
732         x10 = x1;
733         y10 = 0;
734
735 %       pickup pencircle scaled 1;
736
737 %       draw 
738         fill z1r{down}
739              .. z10r{left}
740              -- z10l{left}
741              .. z1l{up}
742              -- z2l{up}
743              .. z4r{left}
744              ..tension 1.2.. {down}simple_serif (z3r, z3l,-90){up}
745              ..tension 0.95.. z4l
746              .. {curl 1}z9{curl 1}
747              .. z5l
748              .. z6r{dir (-80)}
749              .. z5r{left}
750              .. z7
751              .. z6l
752              ..tension 1.2.. z8{down}
753              -- cycle;
754
755         penlabels (range 1 thru 10);
756 fet_endchar;
757
758
759 %%% KERNING
760
761 ligtable "m":
762         "p" kern 0.2 ex#,
763         "f" kern -0.1 ex#;
764
765 ligtable "f":
766         "f" kern -0.13 ex#;
767
768 ligtable "r":
769         "f" kern 0.1 ex#;
770
771
772 %% notes from old dyn code.
773
774 % `f' obviously has a _lot_ bigger slant than `p' (see Wanske p.239).
775 % However; perhaps we need two f symbols:
776 %  - a super-slanted one used in `f', `mf', `sfz', `sf'
777 %  - a more normal-slanted in `ff', `fff', `fp', `fp' (see Wanske p.241)
778 %
779 % Looking at professionally typeset music reveals that typesetters
780 % are somewhat unsure about slanting in `mf', `fp', `sfz'
781 %
782 % `f' and `p' (in any combination) are a lot (factor two) fatter than
783 % `s', `m', and `z'.  Sometimes the `m' and `z' are a bit fatter than
784 % `s'.
785 %
786 % Chester, Breitkopf suggest smaller sizes of these other glyphs,
787 % using the x-height as reference point.