1 % -%-Fundamental-%- -*-Metafont-*-
2 % parmesan-clefs.mf -- implement ancient clefs
4 % source file of LilyPond's pretty-but-neat music font
6 % (c) 2001--2006 Juergen Reuter <reuter@ipd.uka.de>
9 fet_begingroup ("clefs");
14 % Each clef is associated with a particular pitch: the treble clef
15 % with the `g', the alto clef with the `c', the bass clef with the
16 % `f', etc. The shape of each clef character defines a vertical
17 % position that is assumed to represent this pitch. For the treble
18 % clef, it is the vertical position of the center of the spiral
19 % ending that represents the `g' pitch. For the bass clef, it is
20 % the center between the two fat dots that define the vertical
21 % position of the `f' pitch. For the alto clef, it is the vertical
22 % center of the clef that is aligned with the `c' pitch. For each
23 % clef character, this center should be vertically aligned with the
24 % point (0, 0). The horizontal alignment of each clef character
25 % should be such that the vertical line through the point (0, 0)
26 % touches the left-most edge of the clef.
28 % TODO: document exact_center
30 % set_char_box() conventions:
32 % * breapth: Ignored (as far as I know). Should be set to 0.
34 % * width: Should match the clef's width.
36 % * depth: Should match the bottom edge of the clef. Affects vertical
39 % * height: Should match the top edge of the clef. Affects vertical
52 def draw_vaticana_do_clef (expr exact_center, reduction) =
55 reduced_il# = staff_space# * reduction;
57 set_char_box (0 - xpart exact_center,
58 0.5 reduced_il# + xpart exact_center,
59 0.8 reduced_il# - ypart exact_center,
60 0.8 reduced_il# + ypart exact_center);
62 define_pixels (reduced_il);
64 save pat, ellipse, clef, T;
65 path pat, ellipse, clef;
68 T:= identity xscaled 0.6 linethickness
69 yscaled 0.6 reduced_il;
70 pickup pencircle transformed T;
71 ellipse := reverse fullcircle transformed T;
75 xoffs# = xpart exact_center;
76 yoffs# = ypart exact_center;
78 define_pixels (xoffs, yoffs);
80 rt z11 = (xoffs + 0.50 reduced_il, yoffs - .45 reduced_il);
81 z12 = (xoffs + 0.25 reduced_il, yoffs - .50 reduced_il);
82 lft z13 = (xoffs + 0.00 reduced_il, yoffs - .28 reduced_il);
83 lft z14 = (xoffs, yoffs);
93 % adjust vertically to fit into bounding box
94 shift = find_tangent_shift (((0, -d + 0.3 reduced_il)
95 -- (w, -d + 0.3 reduced_il)), pat,
96 (0, -d / 2), (0, d / 2));
97 pat := pat shifted shift;
100 .. top (point 1 of pat)
101 .. get_subpath (ellipse,
102 -direction 0 of pat, direction 0 of pat,
104 .. bot (point 1 of pat)
105 .. get_subpath (ellipse,
106 direction 2 of pat, up,
110 -- reverse clef yscaled -1
113 labels (11, 12, 13, 14);
117 fet_beginchar ("Ed. Vat. do clef", "vaticana.do");
119 draw_staff (-1, 3, 0.0);
121 draw_vaticana_do_clef ((0, 0), 1.0);
125 fet_beginchar ("Ed. Vat. do clef", "vaticana.do_change");
126 draw_vaticana_do_clef ((0, 0), 1.0); % no reduction
130 def draw_vaticana_fa_clef (expr exact_center, reduction) =
131 save reduced_il, xoffs, yoffs;
133 reduced_il# = staff_space# * reduction;
134 xoffs# = xpart exact_center;
135 yoffs# = ypart exact_center;
137 define_pixels (reduced_il, xoffs, yoffs);
139 % left-handed punctum
140 save ellipse, pat, T;
144 T:= identity xscaled 0.6 linethickness
145 yscaled 0.5 reduced_il;
146 pickup pencircle transformed T;
147 ellipse := reverse fullcircle transformed T;
149 lft z21 = (xoffs + 0.00 reduced_il, yoffs + 0.00 reduced_il);
150 z22 = (xoffs + 0.25 reduced_il, yoffs + 0.05 reduced_il);
151 rt z23 = (xoffs + 0.50 reduced_il, yoffs - 0.05 reduced_il);
157 fill get_subpath (ellipse,
158 -direction 0 of pat, direction 0 of pat, z21)
160 .. get_subpath (ellipse,
161 direction 2 of pat, -direction 2 of pat, z23)
166 pickup pencircle scaled 0.6 linethickness;
169 yoffs = bot y24 + 1.5 reduced_il;
171 draw_rounded_block (bot lft z24, top rt z23, 0.6 linethickness);
173 labels (21, 22, 23, 24);
175 % right-handed puncta as in do clef
176 draw_vaticana_do_clef (exact_center + (0.55 reduced_il#, 0),
179 set_char_box (0 - xpart exact_center,
180 1.05 reduced_il# + xpart exact_center,
181 1.5 reduced_il# - ypart exact_center,
182 0.8 reduced_il# + ypart exact_center);
186 fet_beginchar ("Ed. Vat. fa clef", "vaticana.fa");
188 draw_staff (-1, 3, 0.0);
190 draw_vaticana_fa_clef ((0, 0), 1.0);
194 fet_beginchar ("Ed. Vat. fa clef", "vaticana.fa_change");
195 draw_vaticana_fa_clef ((0, 0), 1.0); % no reduction
207 def draw_medicaea_do_clef (expr exact_center, reduction) =
208 save reduced_il, reduced_slt;
210 reduced_il# = staff_space# * reduction;
211 reduced_slt# = linethickness# * reduction;
213 define_pixels (reduced_il);
214 define_pixels (reduced_slt);
216 set_char_box (0 - xpart exact_center,
217 1.0 reduced_il# + xpart exact_center,
218 1.5 reduced_il# - ypart exact_center,
219 1.5 reduced_il# + ypart exact_center);
223 flag_height# = 0.5 reduced_il#;
225 define_pixels (flag_height);
229 xoffs# = xpart exact_center;
230 yoffs# = ypart exact_center;
232 define_pixels (xoffs, yoffs);
239 T:= identity xscaled reduced_slt
241 pickup pencircle transformed T;
242 ellipse := reverse fullcircle transformed T;
244 xoffs = lft x1 = rt x2 - reduced_il;
245 y1 = yoffs + 0.5 (reduced_il - flag_height - staff_space);
246 y2 = y1 - reduced_il + flag_height;
249 -- get_subpath (ellipse, z2 - z1, z1 - z2, z2)
253 xoffs = lft x3 = rt x4 - reduced_il;
254 y3 = yoffs + 0.5 (reduced_il - flag_height + staff_space);
255 y4 = y3 - reduced_il + flag_height;
258 -- get_subpath (ellipse, z4 - z3, z3 - z4, z4)
263 pickup pencircle scaled reduced_slt;
265 lft x5 = lft x6 = xoffs;
266 yoffs = top y6 - 1.5 reduced_il = bot y5 + 1.5 reduced_il;
268 draw_rounded_block (bot lft z5, top rt z6, reduced_slt);
270 labels (1, 2, 3, 4, 5, 6);
274 fet_beginchar ("Ed. Med. do clef", "medicaea.do");
276 draw_staff (-1, 3, 0.0);
278 draw_medicaea_do_clef ((0, 0), 1.0);
282 fet_beginchar ("Ed. Med. do clef", "medicaea.do_change");
283 draw_medicaea_do_clef ((0, 0), .8);
287 def draw_medicaea_fa_clef (expr exact_center, reduction) =
288 % inspired by Regensburger Edition of Medicaea (1885/86), in:
289 % MGG, volume 2, col. 1327 ("Choralreform"), fig. 2.
291 save reduced_il, reduced_slt;
293 reduced_il# = staff_space# * reduction;
294 reduced_slt# = linethickness# * reduction;
296 define_pixels (reduced_il);
297 define_pixels (reduced_slt);
301 xoffs# = xpart exact_center;
302 yoffs# = ypart exact_center;
304 define_pixels (xoffs, yoffs);
307 pickup pencircle scaled linethickness;
309 x11 = x12 = xoffs + 0.4 reduced_il;
310 y11 = yoffs = bot y12 + 1.5 reduced_il;
312 draw_rounded_block (bot lft z12, top rt z11, linethickness);
314 % left-handed punctum
319 T:= identity xscaled reduced_slt
321 pickup pencircle transformed T;
322 ellipse := reverse fullcircle transformed T;
324 lft z13 = (xoffs, yoffs);
325 rt z14 = z11 + (linethickness / 2, 0);
327 fill get_subpath (ellipse, left, right, z13)
328 -- get_subpath (ellipse, right, left, z14)
331 labels (11, 12, 13, 14);
333 % right-handed puncta as in do clef
334 draw_medicaea_do_clef (exact_center + (0.7 reduced_il#, 0),
337 set_char_box (0 - xpart exact_center,
338 1.7 reduced_il# + xpart exact_center,
339 1.5 reduced_il# - ypart exact_center,
340 1.5 reduced_il# + ypart exact_center);
344 fet_beginchar ("Ed. Med. fa clef", "medicaea.fa");
346 draw_staff (-1, 3, 0.0);
348 draw_medicaea_fa_clef ((0, 0), 1.0);
352 fet_beginchar ("Ed. Med. fa clef", "medicaea.fa_change");
353 draw_medicaea_fa_clef ((0, 0), .8);
367 % width: interval from left end to right end
368 % height: interval from bottom of lower beam to top of upper beam
369 % exact_center: the coordinates of the vertical center point of the
372 def draw_brevis (expr exact_center, bwidth, bheight, blinethickness) =
373 save brevis_width, brevis_height, linethickness;
375 brevis_width# = bwidth;
376 brevis_height# = bheight;
377 linethickness# = blinethickness;
379 save beam_width, beam_height;
380 save serif_size, serif_protrude, hole_height;
382 beam_width# = 1.4 linethickness#;
383 hole_height# = 3 linethickness#;
384 2 beam_height# + hole_height# = brevis_height#;
385 serif_size# = (hole_height# - linethickness#) / 2;
386 serif_protrude# = 1.5 serif_size#;
390 xoffs# = xpart exact_center;
391 yoffs# = ypart exact_center;
393 define_pixels (xoffs, yoffs);
394 define_pixels (brevis_width, brevis_height, linethickness);
395 define_pixels (beam_width, beam_height, serif_size, serif_protrude);
397 z1l = (xoffs, yoffs - linethickness);
398 z2r = z1r + serif_size * (1, -1);
399 z3l = z2l + (-serif_size, -serif_protrude);
401 penpos1 (beam_width, 0);
402 penpos2 (beam_height, 90);
403 penpos3 (beam_width, 180);
405 save pat_in, pat_out;
406 path pat_in, pat_out;
412 -- reverse pat_out xscaled -1
413 shifted (2 xoffs + brevis_width, 0);
415 -- reverse pat_out yscaled -1
422 -- reverse pat_in xscaled -1
423 shifted (2 xoffs + brevis_width, 0);
425 -- reverse pat_in yscaled -1
436 % Draw two brevis notes; the second one shifted down by `shift'.
437 % The other parameters are the same as with `draw_brevis'.
439 def draw_double_brevis (expr exact_center, bwidth, bheight,
440 blinethickness, shift) =
441 save brevis_width, brevis_height, linethickness;
443 brevis_width# = bwidth;
444 brevis_height# = bheight;
445 linethickness# = blinethickness;
447 save beam_width, beam_height;
448 save serif_size, serif_protrude, hole_height;
450 beam_width# = 1.4 linethickness#;
451 hole_height# = 3 linethickness#;
452 2 beam_height# + hole_height# = brevis_height#;
453 serif_size# = (hole_height# - linethickness#) / 2;
454 serif_protrude# = 1.5 serif_size#;
458 xoffs# = xpart exact_center;
459 yoffs# = ypart exact_center;
461 define_pixels (xoffs, yoffs);
462 define_pixels (brevis_width, brevis_height, linethickness);
463 define_pixels (beam_width, beam_height, serif_size, serif_protrude);
465 z1l = (xoffs, yoffs - linethickness);
466 z2r = z1r + serif_size * (1, -1);
467 z3l = z2l + (-serif_size, -serif_protrude);
469 penpos1 (beam_width, 0);
470 penpos2 (beam_height, 90);
471 penpos3 (beam_width, 180);
473 z4 = z1 shifted (0, -shift);
474 z5 = z2 shifted (0, -shift);
475 z6 = z3 shifted (0, -shift);
477 penpos4 (beam_width, 0);
478 penpos5 (beam_height, 90);
479 penpos6 (beam_width, 180);
481 save pat_in, pat_out;
482 path pat_in, pat_out;
488 -- reverse pat_out xscaled -1
489 shifted (2 xoffs + brevis_width, 0);
491 -- reverse pat_out yscaled -1
492 shifted (0, shift - 2 yoffs)
500 -- reverse pat_in xscaled -1
501 shifted (2 xoffs + brevis_width, 0);
503 -- reverse pat_in yscaled -1
508 unfill pat_in shifted (0, -shift);
510 penlabels (1, 2, 3, 4, 5, 6);
515 % Draw three brevis notes; the second one shifted down by `shift',
516 % the third one by `2 shift'.
517 % The other parameters are the same as with `draw_brevis'.
519 def draw_triple_brevis (expr exact_center, bwidth, bheight,
520 blinethickness, shift) =
521 save brevis_width, brevis_height, linethickness;
523 brevis_width# = bwidth;
524 brevis_height# = bheight;
525 linethickness# = blinethickness;
527 save beam_width, beam_height;
528 save serif_size, serif_protrude, hole_height;
530 beam_width# = 1.4 linethickness#;
531 hole_height# = 3 linethickness#;
532 2 beam_height# + hole_height# = brevis_height#;
533 serif_size# = (hole_height# - linethickness#) / 2;
534 serif_protrude# = 1.5 serif_size#;
538 xoffs# = xpart exact_center;
539 yoffs# = ypart exact_center;
541 define_pixels (xoffs, yoffs);
542 define_pixels (brevis_width, brevis_height, linethickness);
543 define_pixels (beam_width, beam_height, serif_size, serif_protrude);
545 z1l = (xoffs, yoffs - linethickness);
546 z2r = z1r + serif_size * (1, -1);
547 z3l = z2l + (-serif_size, -serif_protrude);
549 penpos1 (beam_width, 0);
550 penpos2 (beam_height, 90);
551 penpos3 (beam_width, 180);
553 z7 = z1 shifted (0, -2 shift);
554 z8 = z2 shifted (0, -2 shift);
555 z9 = z3 shifted (0, -2 shift);
557 penpos7 (beam_width, 0);
558 penpos8 (beam_height, 90);
559 penpos9 (beam_width, 180);
561 save pat_in, pat_out;
562 path pat_in, pat_out;
568 -- reverse pat_out xscaled -1
569 shifted (2 xoffs + brevis_width, 0);
571 -- reverse pat_out yscaled -1
572 shifted (0, -2 yoffs)
580 -- reverse pat_in xscaled -1
581 shifted (2 xoffs + brevis_width, 0);
583 -- reverse pat_in yscaled -1
588 unfill pat_in shifted (0, -shift);
589 unfill pat_in shifted (0, -2 shift);
591 penlabels (1, 2, 3, 7, 8, 9);
595 def draw_neomensural_c_clef (expr exact_center, reduction) =
596 save reduced_il, reduced_slt, stem_width;
598 reduced_il# = staff_space# * reduction;
599 reduced_slt# = linethickness# * reduction;
600 stem_width# = 1.4 reduced_slt#;
602 define_pixels (reduced_il, reduced_slt, stem_width);
604 set_char_box (0 - xpart exact_center,
605 2 reduced_il# + 6 reduced_slt# + xpart exact_center,
606 2 reduced_il# - ypart exact_center,
607 2 reduced_il# + ypart exact_center);
609 draw_brevis (exact_center + (3 reduced_slt#, 0),
610 2 reduced_il#, reduced_il#, reduced_slt#);
614 xoffs# = xpart exact_center;
615 yoffs# = ypart exact_center;
617 define_pixels (xoffs, yoffs);
619 save ellipse, pat, T;
623 T:= identity xscaled stem_width
624 yscaled blot_diameter;
625 pickup pencircle transformed T;
626 ellipse := fullcircle transformed T;
628 lft x11 = lft x12 = xoffs;
629 top y12 - bot y11 = 4 reduced_il;
630 top y12 + bot y11 = 2 yoffs;
637 pat := get_subpath (ellipse, down, up, z13)
642 fill get_subpath (ellipse, down, up, z11)
643 -- get_subpath (ellipse, up, down, z12)
645 fill get_subpath (ellipse, down, up, z14)
646 -- get_subpath (ellipse, up, down, z15)
653 shifted (0, 2 yoffs);
655 shifted (w, 2 yoffs);
657 labels (11, 12, 13, 14, 15);
661 fet_beginchar ("neo-mensural c clef", "neomensural.c");
663 draw_staff (-1, 3, 0.0);
665 draw_neomensural_c_clef ((0, 0), 1.0);
669 fet_beginchar ("neo-mensural c clef", "neomensural.c_change");
670 draw_neomensural_c_clef ((0, 0), .8);
674 def draw_petrucci_c_clef (expr exact_center, flare_align, reduction) =
675 % inspired by Josquin Desprez, "Stabat Mater", Libro tertio,
676 % 1519, printed by Petrucci, in: MGG, volume 7, Table 11.
677 % Also by Petrucci's Canti C, Venedig 1503. In: MGG, volume
680 save reduced_il, reduced_slt;
682 reduced_il# = staff_space# * reduction;
683 reduced_slt# = linethickness# * reduction;
685 define_pixels (reduced_il);
687 draw_double_brevis (exact_center + (0, 0.5 staff_space#),
688 reduced_il#, reduced_il#, reduced_slt#,
691 save half_reduced_il, left_depth, left_height;
693 half_reduced_il# = staff_space# * sqrt (reduction);
694 left_height# = half_reduced_il# * min (3.2, 3.2 + 0.2 + flare_align);
695 left_depth# = half_reduced_il# * min (3.2, 3.2 + 0.2 - flare_align);
697 define_pixels (half_reduced_il);
698 define_pixels (left_depth, left_height);
700 set_char_box (0 - xpart exact_center,
701 reduced_il# + xpart exact_center,
702 left_depth# - ypart exact_center,
703 left_height# + ypart exact_center);
707 xoffs# = xpart exact_center;
708 yoffs# = ypart exact_center;
710 define_pixels (xoffs, yoffs);
716 T:= identity xscaled 1.4 linethickness
717 yscaled blot_diameter;
718 pickup pencircle transformed T;
719 ellipse := fullcircle transformed T;
721 lft x11 = lft x13 = xoffs;
722 top y11 = yoffs + left_height;
723 bot y13 = yoffs - left_depth;
724 rt x15 = rt x17 = xoffs + brevis_width;
725 y15 = min (y11 - 0.2 half_reduced_il, yoffs + 2.2 half_reduced_il);
726 y17 = max (y13 + 0.2 half_reduced_il, yoffs - 2.2 half_reduced_il);
728 z12 = z14 yscaled -1;
730 z16 = z18 yscaled -1;
731 rt z18 = lft z14 shifted (brevis_width, 0);
733 penpos12 (1.4 linethickness, 0);
734 penpos14 (1.4 linethickness, 0);
735 penpos16 (1.4 linethickness, 0);
736 penpos18 (1.4 linethickness, 0);
738 if top y11 > -y6 + 0.7 linethickness:
739 fill get_subpath (ellipse, up, down, z11)
744 if bot y13 < y6 - 0.7 linethickness:
745 fill get_subpath (ellipse, down, up, z13)
750 if top y15 > -y6 + 0.7 linethickness:
751 fill get_subpath (ellipse, up, down, z15)
756 if bot y17 < y6 - 0.7 linethickness:
757 fill get_subpath (ellipse, down, up, z17)
763 labels (11, 13, 15, 17);
764 penlabels (12, 14, 16, 18);
768 fet_beginchar ("petrucci c1 clef", "petrucci.c1");
770 draw_staff (-1, 3, 0.0);
772 draw_petrucci_c_clef ((0, 0), +2, 1.0);
776 fet_beginchar ("petrucci c1 clef", "petrucci.c1_change");
777 draw_petrucci_c_clef ((0, 0), +2, .8);
781 fet_beginchar ("petrucci c2 clef", "petrucci.c2");
783 draw_staff (-1, 3, 0.0);
785 draw_petrucci_c_clef ((0, 0), +1, 1.0);
789 fet_beginchar ("petrucci c2 clef", "petrucci.c2_change");
790 draw_petrucci_c_clef ((0, 0), +1, .8);
794 fet_beginchar ("petrucci c3 clef", "petrucci.c3");
796 draw_staff (-1, 3, 0.0);
798 draw_petrucci_c_clef ((0, 0), 0, 1.0);
802 fet_beginchar ("petrucci c3 clef", "petrucci.c3_change");
803 draw_petrucci_c_clef ((0, 0), 0, .8);
807 fet_beginchar ("petrucci c4 clef", "petrucci.c4");
809 draw_staff (-1, 3, 0.0);
811 draw_petrucci_c_clef ((0, 0), -1, 1.0);
815 fet_beginchar ("petrucci c4 clef", "petrucci.c4_change");
816 draw_petrucci_c_clef ((0, 0), -1, .8);
820 fet_beginchar ("petrucci c5 clef", "petrucci.c5");
822 draw_staff (-1, 3, 0.0);
824 draw_petrucci_c_clef ((0, 0), -2, 1.0);
828 fet_beginchar ("petrucci c5 clef", "petrucci.c5_change");
829 draw_petrucci_c_clef ((0, 0), -2, .8);
833 def draw_mensural_c_clef (expr exact_center, reduction) =
834 % inspired by Ockeghem, "Missa Prolationum", in: MGG, volume
839 reduced_il# = staff_space# * reduction;
841 define_pixels (reduced_il);
843 draw_triple_brevis (exact_center + (0, 0.5 staff_space#),
844 2 reduced_il#, 0.8 staff_space#,
845 0.8 linethickness#, staff_space);
847 save half_reduced_il;
849 half_reduced_il# = staff_space# * sqrt (reduction);
851 define_pixels (half_reduced_il);
853 set_char_box (0 - xpart exact_center,
854 2 reduced_il# + xpart exact_center,
855 2.2 half_reduced_il# + staff_space# -
856 2 ypart exact_center,
857 2.2 half_reduced_il# + 2 ypart exact_center);
861 xoffs# = xpart exact_center;
862 yoffs# = ypart exact_center;
864 define_pixels (xoffs, yoffs);
870 T:= identity xscaled 1.4 linethickness
871 yscaled blot_diameter;
872 pickup pencircle transformed T;
873 ellipse := fullcircle transformed T;
875 lft x11 = lft x13 = xoffs;
876 top y11 = yoffs + 2.2 half_reduced_il;
877 bot y13 = yoffs - 2.2 half_reduced_il - staff_space;
878 rt x15 = rt x17 = xoffs + brevis_width;
879 y15 = yoffs + 1.4 half_reduced_il;
880 y17 = yoffs - 1.4 half_reduced_il - staff_space;
882 z12 = z14 yscaled -1 shifted (0, -staff_space);
884 z16 = z18 yscaled -1 shifted (0, -staff_space);
885 rt z18 = lft z14 shifted (brevis_width, 0);
887 penpos12 (1.4 linethickness, 0);
888 penpos14 (1.4 linethickness, 0);
889 penpos16 (1.4 linethickness, 0);
890 penpos18 (1.4 linethickness, 0);
892 fill get_subpath (ellipse, up, down, z11)
896 fill get_subpath (ellipse, down, up, z13)
900 fill get_subpath (ellipse, up, down, z15)
904 fill get_subpath (ellipse, down, up, z17)
909 labels (11, 13, 15, 17);
910 penlabels (12, 14, 16, 18);
914 fet_beginchar ("mensural c clef", "mensural.c");
916 draw_staff (-1, 3, 0.0);
918 draw_mensural_c_clef ((0, 0), 1.0);
922 fet_beginchar ("mensural c clef", "mensural.c_change");
923 draw_mensural_c_clef ((0, 0), .8);
927 def draw_diamond (expr exact_center, reduction) =
928 save stem_width, reduced_nht, holeheight, beamheight;
929 save rh_height, rh_width;
931 stem_width# = 1.4 reduced_slt#;
932 reduced_nht# = noteheight# * reduction;
933 holeheight# = 3 reduced_slt#;
934 beamheight# = 0.4 (reduced_nht# - holeheight#);
936 rh_height# = 1.2 staff_space# * reduction;
937 rh_width# / rh_height# = tand (30);
939 define_pixels (beamheight, stem_width);
940 define_pixels (rh_height, rh_width);
944 xoffs# = xpart exact_center;
945 yoffs# = ypart exact_center;
947 define_pixels (xoffs, yoffs);
953 T:= identity xscaled beamheight
956 pickup pencircle transformed T;
957 ellipse := reverse fullcircle transformed T;
959 x21 := xoffs - rh_width / 2;
962 y22 := yoffs + rh_height / 2;
963 x23 := xoffs + rh_width / 2;
966 y24 := yoffs - rh_height / 2;
968 fill get_subpath (ellipse, z21 - z24, z22 - z21, z21)
969 -- get_subpath (ellipse, z22 - z21, z23 - z22, z22)
970 -- get_subpath (ellipse, z23 - z22, z24 - z23, z23)
971 -- get_subpath (ellipse, z24 - z23, z21 - z24, z24)
977 l2122 := (directionpoint (z21 - z22) of ellipse) shifted z21
978 -- (directionpoint (z21 - z22) of ellipse) shifted z22;
979 l2223 := (directionpoint (z22 - z23) of ellipse) shifted z22
980 -- (directionpoint (z22 - z23) of ellipse) shifted z23;
981 l2324 := (directionpoint (z23 - z24) of ellipse) shifted z23
982 -- (directionpoint (z23 - z24) of ellipse) shifted z24;
983 l2421 := (directionpoint (z24 - z21) of ellipse) shifted z24
984 -- (directionpoint (z24 - z21) of ellipse) shifted z21;
986 unfill l2122 intersectionpoint l2223
987 -- l2223 intersectionpoint l2324
988 -- l2324 intersectionpoint l2421
989 -- l2421 intersectionpoint l2122
992 labels (21, 22, 23, 24);
996 def draw_petrucci_f_clef (expr exact_center, reduction) =
997 % inspired by L'homme arme super voces musicales in Misse
998 % Josquin, 1502, Petrucci, in: MGG, volume 7, col. 200; also
999 % inspired by Gaspar van Weerbeke, "Virgo Maria" (1502), in:
1000 % MGG, volume 9, col. 653 ("Motette"), fig. 3.; also by Andr'e
1001 % Campra, "Entr'ee des s'er'enades" (1710), in: MGG, volume 2,
1002 % col. 1649 ("Contredanse"), fig. 2.
1004 save interline, reduced_il, reduced_slt;
1006 interline# = staff_space#;
1007 reduced_il# = staff_space# * reduction;
1008 reduced_slt# = linethickness# * reduction;
1010 draw_brevis (exact_center, reduced_il#, reduced_il#, reduced_slt#);
1011 draw_diamond (exact_center +
1012 (1.6 interline# * reduction, interline# / 2),
1014 draw_diamond (exact_center +
1015 (1.6 interline# * reduction, -interline# / 2),
1018 define_pixels (interline, reduced_il, reduced_slt);
1022 stem_width# = 1.4 reduced_slt#;
1024 define_pixels (stem_width);
1028 xoffs# = xpart exact_center;
1029 yoffs# = ypart exact_center;
1031 define_pixels (xoffs, yoffs);
1038 T:= identity xscaled stem_width
1039 yscaled blot_diameter;
1040 pickup pencircle transformed T;
1041 ellipse := fullcircle transformed T;
1043 rt z8 = (xoffs + reduced_il, yoffs - 4 reduced_slt);
1044 rt z9 = (xoffs + reduced_il, yoffs - 4 reduced_il);
1046 penpos8 (stem_width, 0);
1048 fill get_subpath (ellipse, down, up, z9)
1053 % upper diamond's stem
1054 z10 = (xoffs + 1.6 interline * reduction + stem_width / 2,
1055 yoffs + interline * reduction);
1056 top z11 = z10 + (0, 1.5 interline * reduction);
1058 penpos10 (stem_width, 0);
1060 fill get_subpath (ellipse, up, down, z11)
1065 % lower diamond's stem
1066 z12 = (xoffs + 1.6 interline * reduction - stem_width / 2,
1067 yoffs - interline * reduction);
1068 bot z13 = z12 + (0, -3.5 interline * reduction);
1070 penpos12 (stem_width, 0);
1072 fill get_subpath (ellipse, down, up, z13)
1077 save reduced_il, rh_height, rh_width;
1079 reduced_il# = staff_space# * reduction;
1080 rh_height# = 1.2 reduced_il#;
1081 rh_width# / rh_height# = tand (30);
1083 set_char_box (0 - xpart exact_center,
1084 1.6 interline# * reduction + 0.5 rh_width# +
1086 4.5 interline# * reduction - ypart exact_center,
1087 2.5 interline# * reduction + ypart exact_center);
1090 penlabels (8, 10, 12);
1094 fet_beginchar ("petrucci f clef", "petrucci.f");
1096 draw_staff (-1, 3, 0.0);
1098 draw_petrucci_f_clef ((0, 0), 1.0);
1102 fet_beginchar ("petrucci f clef", "petrucci.f_change");
1103 draw_petrucci_f_clef ((0, 0), .8);
1107 def draw_mensural_f_clef (expr exact_center, reduction) =
1108 % inspired by Philippe le Duc, "Dite Signori" (1590), in: MGG,
1109 % volume 3, col. 848 ("Duc"); also by John Dowland, "The First
1110 % Booke of Songes" (1597), in: MGG, volume 3, col. 721
1111 % ("Dowland"), fig. 3.
1113 save width, reduced_slt, stem_width, dot_diameter;
1115 width# = 1.2 staff_space# * reduction;
1116 reduced_slt# = linethickness# * reduction;
1117 stem_width# = 1.4 reduced_slt#;
1118 dot_diameter# = 0.1 reduction * staff_space#;
1120 define_pixels (width, stem_width, staff_space, dot_diameter);
1124 xoffs# = xpart exact_center;
1125 yoffs# = ypart exact_center;
1127 define_pixels (xoffs, yoffs);
1133 T:= identity xscaled 0.2 width
1136 pickup pencircle transformed T;
1137 ellipse := fullcircle transformed T;
1145 pat := halfcircle scaled width
1147 shifted (z10 - (xoffs, yoffs));
1149 z5 = point 0 of pat;
1150 z6 = point 1 of pat;
1151 z7 = point 2 of pat;
1152 z8 = point 3 of pat;
1153 z9 = point 4 of pat;
1158 dirs5 := direction 0 of pat;
1159 dirs6 := direction 1 of pat;
1160 dirs7 := direction 2 of pat;
1161 dirs8 := direction 3 of pat;
1162 dirs9 := direction 4 of pat;
1164 % we approximate `draw pat'
1165 fill get_subpath (ellipse, -dirs5, dirs5, z5)
1166 .. get_subpoint (ellipse, dirs6, z6)
1167 .. get_subpoint (ellipse, dirs7, z7)
1168 .. get_subpoint (ellipse, dirs8, z8)
1169 .. get_subpath (ellipse, dirs9, -dirs9, z9)
1170 .. get_subpoint (ellipse, -dirs8, z8)
1171 .. get_subpoint (ellipse, -dirs7, z7)
1172 .. get_subpoint (ellipse, -dirs6, z6)
1176 rt x2 = xoffs + width;
1177 top y1 = yoffs + 0.5 width;
1178 z2 - z1 = (dot_diameter, -dot_diameter);
1180 fill get_subpath (ellipse, z1 - z2, z2 - z1, z1)
1181 -- get_subpath (ellipse, z2 - z1, z1 - z2, z2)
1186 top y1 - bot y4 = width;
1187 z4 - z3 = (dot_diameter, -dot_diameter);
1189 fill get_subpath (ellipse, z3 - z4, z4 - z3, z3)
1190 -- get_subpath (ellipse, z4 - z3, z3 - z4, z4)
1193 set_char_box (0 - xpart exact_center,
1194 width# + xpart exact_center,
1195 0.5 width# - ypart exact_center,
1196 0.5 width# + ypart exact_center);
1198 labels (1, 2, 3, 4, 5, 6, 7, 8, 9, 10);
1202 fet_beginchar ("mensural f clef", "mensural.f");
1204 draw_staff (-1, 3, 0.0);
1206 draw_mensural_f_clef ((0, 0), 1.0);
1210 fet_beginchar ("mensural f clef", "mensural.f_change");
1211 draw_mensural_f_clef ((0, 0), .8);
1215 def draw_petrucci_g_clef (expr exact_center, reduction) =
1216 % inspired by Josquin Desprez, "Stabat Mater", Libro tertio,
1217 % 1519, printed by Petrucci, in: MGG, volume 7, Table 11.
1219 save reduced_il, reduced_slt;
1221 reduced_il# = staff_space# * reduction;
1222 reduced_slt# = linethickness# * reduction;
1223 define_pixels (reduced_il, reduced_slt);
1225 set_char_box (0 - xpart exact_center,
1226 1.25 reduced_il# + xpart exact_center,
1227 0.65 reduced_il# - ypart exact_center,
1228 3.80 reduced_il# + ypart exact_center);
1232 xoffs# = xpart exact_center;
1233 yoffs# = ypart exact_center;
1235 define_pixels (xoffs, yoffs);
1237 save ellipse, paths, sub_path, outlines, sub_outlines, T;
1238 path ellipse, paths[], sub_path, outlines[], sub_outlines[];
1241 T:= identity xscaled 0.5 reduced_slt
1242 yscaled 0.22 reduced_il
1244 pickup pencircle transformed T;
1245 ellipse := fullcircle transformed T;
1247 lft z1 = (xoffs + 0.80 reduced_il, yoffs + 0.00 reduced_il);
1248 lft z2 = (xoffs + 1.00 reduced_il, yoffs + 1.20 reduced_il);
1249 lft z3 = (xoffs + 0.70 reduced_il, yoffs + 2.00 reduced_il);
1250 lft z4 = (xoffs + 0.30 reduced_il, yoffs + 3.00 reduced_il);
1251 lft z5 = (xoffs + 0.80 reduced_il, yoffs + 3.70 reduced_il);
1252 lft z6 = (xoffs + 1.00 reduced_il, yoffs + 3.00 reduced_il);
1253 lft z7 = (xoffs + 0.60 reduced_il, yoffs + 2.00 reduced_il);
1254 lft z8 = (xoffs + 0.30 reduced_il, yoffs + 1.70 reduced_il);
1255 lft z9 = (xoffs + 0.00 reduced_il, yoffs + 0.75 reduced_il);
1256 lft z10 = (xoffs + 0.20 reduced_il, yoffs + 0.60 reduced_il);
1274 % we approximate `draw paths1'
1275 for i = 1 step s until (length paths1 + 1):
1276 dirs[i] := direction (i - 1) of paths1;
1279 outlines1 := get_subpath (ellipse, -dirs1, dirs1, z1)
1280 for i = (1 + s) step s until (length paths1 + 1 - s):
1281 .. get_subpoint (ellipse, dirs[i],
1282 point (i - 1) of paths1)
1284 .. get_subpath (ellipse, dirs10, -dirs10, z10)
1285 for i = (length paths1 + 1 - s) step -s until (1 + s):
1286 .. get_subpoint (ellipse, -dirs[i],
1287 point (i - 1) of paths1)
1293 len := length outlines1;
1295 sub_outlines1 := subpath (0,
1296 floor (1/4 len)) of outlines1;
1297 sub_outlines2 := subpath (floor (1/4 len),
1298 floor (2/4 len)) of outlines1;
1299 sub_outlines3 := subpath (floor (2/4 len),
1300 floor (3/4 len)) of outlines1;
1301 sub_outlines4 := subpath (floor (3/4 len),
1307 (times12, times21) = sub_outlines1 intersectiontimes sub_outlines2;
1308 (times13, times31) = sub_outlines1 intersectiontimes sub_outlines3;
1309 (times42, times24) = sub_outlines4 intersectiontimes sub_outlines2;
1310 (times43, times34) = sub_outlines4 intersectiontimes sub_outlines3;
1312 T:= identity xscaled 0.75 reduced_slt
1313 yscaled 0.33 reduced_il
1315 pickup pencircle transformed T;
1316 ellipse := fullcircle transformed T;
1318 lft z21 = (xoffs + 1.05 reduced_il, yoffs + 0.45 reduced_il);
1319 lft z22 = (xoffs + 0.55 reduced_il, yoffs + 0.45 reduced_il);
1320 lft z23 = (xoffs + 0.55 reduced_il, yoffs - 0.45 reduced_il);
1321 lft z24 = (xoffs + 1.05 reduced_il, yoffs - 0.45 reduced_il);
1322 lft z25 = (xoffs + 1.10 reduced_il, yoffs + 0.00 reduced_il);
1323 lft z26 = (xoffs + 0.80 reduced_il, yoffs + 0.00 reduced_il);
1332 sub_path := subpath (0, 1) of paths2;
1334 times1 = xpart (sub_outlines1 intersectiontimes sub_path);
1335 times4 = xpart (sub_outlines4 intersectiontimes sub_path);
1337 % we have to find the envelope intersections (if any)
1341 t1 = find_envelope_cusp (reverse ellipse,
1342 subpath (1, 2) of paths2,
1348 t2 = find_envelope_cusp (ellipse,
1349 subpath (3, 4) of reverse paths2,
1351 t2 := length paths2 - t2;
1354 t3 = find_envelope_cusp (reverse ellipse,
1355 subpath (2, 4 - epsilon) of paths2,
1361 t4 = find_envelope_cusp (ellipse,
1362 subpath (1 + epsilon, 3)
1365 t4 := length paths2 - t4;
1368 fill subpath (times1 + s / 4, times13) of sub_outlines1
1369 -- subpath (times31, infinity) of sub_outlines3
1370 & subpath (0, times42) of sub_outlines4
1371 -- subpath (times24, infinity) of sub_outlines2
1372 & subpath (0, times34) of sub_outlines3
1373 -- subpath (times43, times4 - s / 4) of sub_outlines4
1375 unfill subpath (times12, infinity) of sub_outlines1
1376 & subpath (0, times21) of sub_outlines2
1378 fill subpath (times4 + s / 4, infinity) of sub_outlines4
1379 & subpath (0, times1 - s / 4) of sub_outlines1
1383 % we approximate `draw paths2'
1384 for i = 1 step s until (length paths2 - s):
1385 dirs[i + 20] := direction (i - 1) of paths2;
1388 sub_outlines21 := get_subpath (ellipse, -dirs21, dirs21, z21)
1389 for i = (1 + s) step s until (length paths2 - s):
1390 .. get_subpoint (ellipse, dirs[i + 20],
1391 point (i - 1) of paths2)
1393 .. get_subpath (ellipse, up, z26 - z25, z25);
1394 sub_outlines22 := get_subpath (ellipse, z26 - z25, z25 - z26, z26)
1395 -- get_subpoint (ellipse, z25 - z26, z25);
1396 sub_outlines23 := get_subpoint (ellipse, down, z25)
1397 for i = (length paths2 - s) step -s until (t4 + 1):
1398 .. get_subpoint (ellipse, -dirs[i + 20],
1399 point (i - 1) of paths2)
1401 .. get_subpoint (ellipse, -direction t4 of paths2,
1402 point t4 of paths2);
1403 sub_outlines24 := get_subpoint (ellipse, -direction t3 of paths2,
1405 for i = (floor (t3 / s) * s + 1) step -s until (t2 + 1):
1406 .. get_subpoint (ellipse, -dirs[i + 20],
1407 point (i - 1) of paths2)
1409 .. get_subpoint (ellipse, -direction t2 of paths2,
1410 point t2 of paths2);
1411 sub_outlines25 := get_subpoint (ellipse, -direction t1 of paths2,
1413 for i = (floor (t1 / s) * s + 1) step -s until (1 + s):
1414 .. get_subpoint (ellipse, -dirs[i + 20],
1415 point (i - 1) of paths2)
1418 (times2223, times2322) = sub_outlines22 intersectiontimes sub_outlines23;
1419 (times2324, times2423) = sub_outlines23 intersectiontimes sub_outlines24;
1420 (times2425, times2524) = sub_outlines24 intersectiontimes sub_outlines25;
1423 -- subpath (0, times2223) of sub_outlines22
1424 -- subpath (times2322, times2324) of sub_outlines23
1425 -- subpath (times2423, times2425) of sub_outlines24
1426 -- subpath (times2524, infinity) of sub_outlines25
1429 labels (1, 2, 3, 4, 5, 6, 7, 8, 9, 10);
1430 labels (21, 22, 23, 24, 25, 26);
1434 fet_beginchar ("petrucci g clef", "petrucci.g");
1436 draw_staff (-1, 3, 0.0);
1438 draw_petrucci_g_clef ((0, 0), 1.0);
1442 fet_beginchar ("petrucci g clef", "petrucci.g_change");
1443 draw_petrucci_g_clef ((0, 0), .8);
1447 def draw_mensural_g_clef (expr exact_center, reduction) =
1448 % TODO: Rewrite me. The former mensural g clef looked ugly, and the
1449 % code was removed when it broke for small font sizes after some
1450 % global changes in the font. Currently, the character is mapped to
1451 % a copy of the petrucci g clef (which, after all, *is* a mensural g
1452 % clef, but not the one that we have in mind here). -- jr
1454 % Possible sources of inspiration for this clef include: Francisco
1455 % Guerrero, "Lib. 1. Missarum" (1566), in: MGG, volume 3, col. 858
1456 % ("Ducis"); Stefano Fabri, "Quam speciosa veteranis" (1611), in:
1457 % MGG, volume 3, col. 1698 ("Fabri"); Philippus Dulichius,
1458 % "Fasciculus novus ..." (1598), in: MGG, volume 3, col. 919
1459 % ("Dulichius"), fig. 1; Noe Faignient, "Ic sal de Heer myn God
1460 % gebenedye" (1568), in: MGG, volume 3, col. 1735 ("Faignient").
1465 % FIXME: This clef is preliminarily mapped to the petrucci g clef
1466 % until the code for the mensural g clef will be rewritten.
1468 fet_beginchar ("mensural g clef", "mensural.g");
1470 draw_staff (-1, 3, 0.0);
1472 draw_petrucci_g_clef ((0, 0), 1.0);
1476 fet_beginchar ("mensural g clef", "mensural.g_change");
1477 draw_petrucci_g_clef ((0, 0), .8);
1490 def draw_hufnagel_do_clef (expr exact_center, reduction) =
1491 % inspired by Graduale of Friedrich Zollner (1442), in: MGG,
1492 % volume 9, col. 1413 ("Neustift"), fig. 1.
1496 reduced_il# = staff_space# * reduction;
1498 define_pixels (reduced_il);
1500 set_char_box (0 - xpart exact_center,
1501 1.10 reduced_il# + xpart exact_center,
1502 0.70 reduced_il# - ypart exact_center,
1503 0.75 reduced_il# + ypart exact_center);
1507 xoffs# = xpart exact_center;
1508 yoffs# = ypart exact_center;
1510 define_pixels (xoffs, yoffs);
1512 save ellipse, pat, T;
1516 T:= identity xscaled 0.6 reduced_il
1517 yscaled 0.1 reduced_il
1519 pickup pencircle transformed T;
1520 ellipse := fullcircle transformed T;
1522 z1 = (xoffs + 0.90 reduced_il, yoffs + .45 reduced_il);
1523 z2 = (xoffs + 0.80 reduced_il, yoffs + .45 reduced_il);
1524 z3 = (xoffs + 0.50 reduced_il, yoffs + .60 reduced_il);
1525 z4 = (xoffs + 0.20 reduced_il, yoffs + .45 reduced_il);
1526 z5 = (xoffs + 0.20 reduced_il, yoffs - .45 reduced_il);
1527 z6 = (xoffs + 0.40 reduced_il, yoffs - .55 reduced_il);
1536 fill get_subpath (ellipse,
1537 -direction 0 of pat, direction 0 of pat, z1)
1538 .. get_subpoint (ellipse, direction 1 of pat, z2)
1539 .. get_subpath (ellipse,
1540 direction (2 - epsilon) of pat, z4 - z3, z3)
1541 -- get_subpath (ellipse,
1542 z4 - z3, z5 - z4, z4)
1543 -- get_subpath (ellipse,
1544 z5 - z4, z6 - z5, z5)
1545 -- get_subpath (ellipse,
1546 z6 - z5, z5 - z6, z6)
1547 -- get_subpoint (ellipse, z5 - z6, z5)
1548 -- get_subpoint (ellipse, z4 - z5, z5)
1549 -- get_subpoint (ellipse, z4 - z5, z4)
1550 -- get_subpoint (ellipse, -direction (2 - epsilon) of pat, z3)
1551 .. get_subpath (ellipse,
1552 -direction 1 of pat, -direction 1 of pat, z2)
1555 labels (1, 2, 3, 4, 5, 6);
1559 fet_beginchar ("Hufnagel do clef", "hufnagel.do");
1561 draw_staff (-1, 3, 0.0);
1563 draw_hufnagel_do_clef ((0, 0), 1.0);
1567 fet_beginchar ("Hufnagel do clef", "hufnagel.do_change");
1568 draw_hufnagel_do_clef ((0, 0), .8);
1572 def draw_hufnagel_fa_clef (expr exact_center, reduction) =
1573 % inspired by Bamberger Manuscript (15th century), in:
1574 % MGG, volume 2, table 59.
1578 reduced_il# = staff_space# * reduction;
1580 define_pixels (reduced_il);
1582 set_char_box (0 - xpart exact_center,
1583 1.20 reduced_il# + xpart exact_center,
1584 1.15 reduced_il# - ypart exact_center,
1585 1.00 reduced_il# + ypart exact_center);
1589 xoffs# = xpart exact_center;
1590 yoffs# = ypart exact_center;
1592 define_pixels (xoffs, yoffs);
1594 save ellipse, pat, T;
1598 T:= identity xscaled 0.6 reduced_il
1599 yscaled 0.1 reduced_il
1601 pickup pencircle transformed T;
1602 ellipse := fullcircle transformed T;
1604 z11 = (xoffs + 0.90 reduced_il, yoffs + 0.70 reduced_il);
1605 z12 = (xoffs + 0.80 reduced_il, yoffs + 0.70 reduced_il);
1606 z13 = (xoffs + 0.50 reduced_il, yoffs + 0.85 reduced_il);
1607 z14 = (xoffs + 0.20 reduced_il, yoffs + 0.70 reduced_il);
1608 z15 = (xoffs + 0.20 reduced_il, yoffs - 1.10 reduced_il);
1616 fill get_subpath (ellipse,
1617 -direction 0 of pat, direction 0 of pat, z11)
1618 .. get_subpoint (ellipse, direction 1 of pat, z12)
1619 .. get_subpath (ellipse,
1620 direction (2 - epsilon) of pat, z14 - z13, z13)
1621 -- get_subpath (ellipse,
1622 z14 - z13, z15 - z14, z14)
1623 -- get_subpath (ellipse,
1624 z15 - z14, z14 - z15, z15)
1625 -- get_subpoint (ellipse, z14 - z15, z14)
1626 -- get_subpoint (ellipse, -direction (2 - epsilon) of pat, z13)
1627 .. get_subpath (ellipse,
1628 -direction 1 of pat, -direction 1 of pat, z12)
1631 z16 = (xoffs + 0.90 reduced_il, yoffs - 0.05 reduced_il);
1632 z17 = (xoffs + 0.80 reduced_il, yoffs - 0.05 reduced_il);
1633 z18 = (xoffs + 0.50 reduced_il, yoffs + 0.10 reduced_il);
1634 z19 = (xoffs + 0.20 reduced_il, yoffs - 0.05 reduced_il);
1641 fill get_subpath (ellipse,
1642 -direction 0 of pat, direction 0 of pat, z16)
1643 .. get_subpoint (ellipse, direction 1 of pat, z17)
1644 .. get_subpath (ellipse,
1645 direction (2 - epsilon) of pat, z19 - z18, z18)
1646 -- get_subpoint (ellipse, z19 - z18, z19)
1647 -- get_subpoint (ellipse, -direction (2 - epsilon) of pat, z18)
1648 .. get_subpoint (ellipse, -direction 1 of pat, z17)
1651 labels (11, 12, 13, 14, 15, 16, 17, 18, 19);
1655 fet_beginchar ("Hufnagel fa clef", "hufnagel.fa");
1657 draw_staff (-1, 3, 0.0);
1659 draw_hufnagel_fa_clef ((0, 0), 1.0);
1663 fet_beginchar ("Hufnagel fa clef", "hufnagel.fa_change");
1664 draw_hufnagel_fa_clef ((0, 0), .8);
1668 def draw_hufnagel_do_fa_clef (expr exact_center, reduction) =
1669 draw_hufnagel_do_clef (exact_center, reduction);
1670 draw_hufnagel_fa_clef (exact_center + (0, -2 staff_space#), reduction);
1672 set_char_box (0 - xpart exact_center,
1673 1.20 reduced_il# + xpart exact_center,
1674 1.15 reduced_il# + 2 staff_space# - ypart exact_center,
1675 0.75 reduced_il# + ypart exact_center);
1679 fet_beginchar ("Hufnagel do/fa clef", "hufnagel.do.fa");
1681 draw_staff (-1, 3, 0.0);
1683 draw_hufnagel_do_fa_clef ((0, 0), 1.0);
1687 fet_beginchar ("Hufnagel do/fa clef", "hufnagel.do.fa_change");
1688 draw_hufnagel_do_fa_clef ((0, 0), .8);
1692 fet_endgroup ("clefs");