2 % parmesan-rests.mf -- implement ancient rests
4 % source file of LilyPond's pretty-but-neat music font
6 % (c) 2001--2002 Juergen Reuter <reuter@ipd.uka.de>
9 fet_begingroup("rests")
21 pen_width# = 0.3 staff_space#;
24 slight_pen_rotation = 15;
26 mens_block_rest_y# = 1/1 staff_space#;
27 mens_half_block_rest_y# = 5/8 staff_space#;
29 define_pixels(mens_block_rest_y, mens_half_block_rest_y,
30 pen_width, pen_height);
32 fet_beginchar("Mensural maxima rest", "-3mensural", "mensmaximarest");
33 set_char_box(0.7pen_width#, 0.7pen_width#,
34 mens_block_rest_y#, 2mens_block_rest_y#);
38 rotated slight_pen_rotation;
39 draw (0, -mens_block_rest_y) -- (0, 2 mens_block_rest_y);
42 fet_beginchar("Mensural longa rest", "-2mensural", "menslongarest");
43 set_char_box(0.7pen_width#, 0.7pen_width#,
44 mens_block_rest_y#, mens_block_rest_y#);
48 rotated slight_pen_rotation;
49 draw (0, -mens_block_rest_y) -- (0, mens_block_rest_y);
52 fet_beginchar("Mensural breve rest", "-1mensural", "mensbreverest");
53 set_char_box(0.7pen_width#, 0.7pen_width#,
54 0, mens_block_rest_y#);
58 rotated slight_pen_rotation;
59 draw (0, 0) -- (0, mens_block_rest_y);
62 fet_beginchar("Mensural whole rest", "0mensural", "menssemibrevisrest");
63 set_char_box(0.7pen_width#, 0.7pen_width#,
64 mens_half_block_rest_y#, 0);
68 rotated slight_pen_rotation;
69 draw (0, 0) -- (0, -mens_half_block_rest_y);
72 fet_beginchar("Mensural half rest", "1mensural", "mensminimahalfrest");
73 set_char_box(0.7pen_width#, 0.7pen_width#,
74 0, mens_half_block_rest_y#);
78 rotated slight_pen_rotation;
79 draw (0, 0) -- (0, mens_half_block_rest_y);
82 mensrestsize# = .8staff_space#;
84 fet_beginchar("Mensural 4th rest","2mensural","menssemiminimarest")
85 set_char_box(0,mensrestsize#,0,mensrestsize#);
91 lft x2 = 0; top y2 = 5/8 h;
92 rt x3 = 4/8 w; bot y3 = 6/8 h;
93 rt x4 = 10/8 w; bot y4 = 4/8 h;
94 draw z1 -- z2 -- z3 -- z4;
97 fet_beginchar("Mensural 8th rest","3mensural","mensfusarest")
98 set_char_box(0,mensrestsize#,0,mensrestsize#);
102 rotated pen_rotation;
103 rt x1 = 10/8 w; y1 = 0;
104 rt x2 = 10/8 w; top y2 = 5/8 h;
105 lft x3 = 2/8 w; bot y3 = 6/8 h;
106 lft x4 = 0; bot y4 = 4/8 h;
107 draw z1 -- z2 -- z3 -- z4;
110 fet_beginchar("Mensural 16th rest","4mensural","menssemifusarest")
111 set_char_box(0,mensrestsize#,0,staff_space#);
115 rotated pen_rotation;
117 rt x1 = 10/8 w; y1 = 0;
118 rt x2 = 10/8 w; top y2 = 5.5/8 h;
119 lft x3 = 2/8 w; bot y3 = 6.5/8 h;
120 lft x4 = 0; bot y4 = 4.5/8 h;
121 rt x5 = 10/8 w; top y5 = 2.5/8 h;
122 lft x6 = 2/8 w; bot y6 = 3.5/8 h;
123 lft x7 = 0; bot y7 = 1.5/8 h;
124 draw z1 -- z2 -- z3 -- z4;
128 fet_endgroup ("rests")