-define_pixels(mens_block_rest_y, mens_half_block_rest_y,
- pen_width, pen_height);
-
-fet_beginchar("Mensural maxima rest", "-3mensural");
- set_char_box(0, pen_width#,
- mens_block_rest_y#, 2mens_block_rest_y#);
- pickup pencircle
- xscaled pen_width
- yscaled pen_height
- rotated slight_pen_rotation;
- draw (w/2, -mens_block_rest_y) -- (w/2, 2 mens_block_rest_y);
-fet_endchar;
-
-fet_beginchar("Mensural longa rest", "-2mensural");
- set_char_box(0, pen_width#,
- mens_block_rest_y#, mens_block_rest_y#);
- pickup pencircle
- xscaled pen_width
- yscaled pen_height
- rotated slight_pen_rotation;
- draw (w/2, -mens_block_rest_y) -- (w/2, mens_block_rest_y);
-fet_endchar;
-
-fet_beginchar("Mensural breve rest", "-1mensural");
- set_char_box(0, pen_width#,
- 0, mens_block_rest_y#);
- pickup pencircle
- xscaled pen_width
- yscaled pen_height
- rotated slight_pen_rotation;
- draw (w/2, 0) -- (w/2, mens_block_rest_y);
-fet_endchar;
-
-fet_beginchar("Mensural whole rest", "0mensural");
- set_char_box(0, pen_width#,
- mens_half_block_rest_y#, 0);
- pickup pencircle
- xscaled pen_width
- yscaled pen_height
- rotated slight_pen_rotation;
- draw (w/2, 0) -- (w/2, -mens_half_block_rest_y);
-fet_endchar;
-
-fet_beginchar("Mensural half rest", "1mensural");
- set_char_box(0, pen_width#,
- 0, mens_half_block_rest_y#);
- pickup pencircle
- xscaled pen_width
- yscaled pen_height
- rotated slight_pen_rotation;
- draw (w/2, 0) -- (w/2, mens_half_block_rest_y);
-fet_endchar;
-
-mensrestsize# = .8staff_space#;
-
-fet_beginchar("Mensural 4th rest","2mensural")
- set_char_box(0,mensrestsize#,0,mensrestsize#);
- pickup pencircle
- xscaled pen_width
- yscaled pen_height
- rotated pen_rotation;
- lft x1 = 0; y1 = 0;
- lft x2 = 0; top y2 = 5/8 h;
- rt x3 = 1/5 w; bot y3 = 6/8 h;
- rt x4 = w; bot y4 = 4/8 h;
- draw z1 -- z2 -- z3 -- z4;
-fet_endchar
-
-fet_beginchar("Mensural 8th rest","3mensural")
- set_char_box(0,mensrestsize#,0,mensrestsize#);
- pickup pencircle
- xscaled pen_width
- yscaled pen_height
- rotated pen_rotation;
- rt x1 = w; y1 = 0;
- rt x2 = w; top y2 = 5/8 h;
- lft x3 = 1/5 w; bot y3 = 6/8 h;
- lft x4 = 0; bot y4 = 4/8 h;
- draw z1 -- z2 -- z3 -- z4;
-fet_endchar
+define_pixels (mens_block_rest_y, mens_half_block_rest_y,
+ pen_width, pen_height);
+
+
+fet_beginchar ("Mensural maxima rest", "M3mensural");
+ set_char_box (0, pen_width#,
+ mens_block_rest_y#, 2 mens_block_rest_y#);
+
+ pickup pencircle xscaled pen_width
+ yscaled pen_height
+ rotated slight_pen_rotation;
+
+ draw (w / 2, -mens_block_rest_y)
+ -- (w / 2, 2 mens_block_rest_y);
+fet_endchar;
+
+
+fet_beginchar ("Mensural longa rest", "M2mensural");
+ set_char_box (0, pen_width#,
+ mens_block_rest_y#, mens_block_rest_y#);
+
+ pickup pencircle xscaled pen_width
+ yscaled pen_height
+ rotated slight_pen_rotation;
+
+ draw (w / 2, -mens_block_rest_y)
+ -- (w / 2, mens_block_rest_y);
+fet_endchar;
+
+
+fet_beginchar ("Mensural breve rest", "M1mensural");
+ set_char_box (0, pen_width#,
+ 0, mens_block_rest_y#);
+
+ pickup pencircle xscaled pen_width
+ yscaled pen_height
+ rotated slight_pen_rotation;
+
+ draw (w / 2, 0)
+ -- (w / 2, mens_block_rest_y);
+fet_endchar;
+
+
+fet_beginchar ("Mensural whole rest", "0mensural");
+ set_char_box (0, pen_width#,
+ mens_half_block_rest_y#, 0);
+
+ pickup pencircle xscaled pen_width
+ yscaled pen_height
+ rotated slight_pen_rotation;
+
+ draw (w / 2, 0)
+ -- (w / 2, -mens_half_block_rest_y);
+fet_endchar;
+
+
+fet_beginchar ("Mensural half rest", "1mensural");
+ set_char_box (0, pen_width#,
+ 0, mens_half_block_rest_y#);
+
+ pickup pencircle xscaled pen_width
+ yscaled pen_height
+ rotated slight_pen_rotation;
+
+ draw (w / 2, 0)
+ -- (w / 2, mens_half_block_rest_y);
+fet_endchar;
+
+
+mensrestsize# = .8 staff_space#;
+
+
+fet_beginchar ("Mensural 4th rest", "2mensural");
+ set_char_box (0, mensrestsize#,
+ 0, mensrestsize#);
+
+ pickup pencircle xscaled pen_width
+ yscaled pen_height
+ rotated pen_rotation;
+
+ lft x1 = 0;
+ y1 = 0;
+ lft x2 = 0;
+ top y2 = 5/8 h;
+ rt x3 = 1/5 w;
+ bot y3 = 6/8 h;
+ rt x4 = w;
+ bot y4 = 4/8 h;
+
+ draw z1
+ -- z2
+ -- z3
+ -- z4;
+
+ labels (1, 2, 3, 4);
+fet_endchar;
+
+%
+% FIXME: The left sharp corner produces ugly results at lower resolutions.
+%
+fet_beginchar ("Mensural 8th rest", "3mensural");
+ set_char_box (0, mensrestsize#,
+ 0, mensrestsize#);
+
+ pickup pencircle xscaled pen_width
+ yscaled pen_height
+ rotated pen_rotation;
+
+ rt x1 = w;
+ y1 = 0;
+ rt x2 = w;
+ top y2 = 5/8 h;
+ lft x3 = 1/5 w;
+ bot y3 = 6/8 h;
+ lft x4 = 0;
+ bot y4 = 4/8 h;
+
+ draw z1
+ -- z2
+ -- z3
+ -- z4;
+
+ labels (1, 2, 3, 4);
+fet_endchar;