%
% source file of the Feta (not the Font-En-Tja) music font
%
-% (c) 1997--2002 Jan Nieuwenhuizen <janneke@gnu.org>
+% (c) 1997--2004 Jan Nieuwenhuizen <janneke@gnu.org>
fet_begingroup("rests");
begingroup
-thick#:=1/16designsize;
-define_blacker_pixels(thick);
-
-rthin:=1/8*staff_space;
-% rthick:=2rthin;
-rthick:=2thick+rthin;
-
-def shift_pic (expr pone, ptwo) =
- currentpicture:=currentpicture shifted (round(pone),round(ptwo))
-enddef;
-
-% stuff for 8th,16th etc rests
-%
-save stem, ball_crook_stem, ball_crook_balldiam, flare;
-
-% stem#:=1/8*staff_space#;
-stem# = 1/5staff_space#;
-% flare# = 2/3staff_space#;
-flare# = 2/3staff_space# - 1/8stafflinethickness#;
-
-define_pixels(stem,flare);
-
-ball_crook_stem = stem;
-ball_crook_balldiam =flare;
-
save block_rest_y, block_rest_x;
-
save breve_rest_y, breve_rest_x;
breve_rest_y# = staff_space#;
define_pixels(breve_rest_y, breve_rest_x, multi_rest_x, multi_beam_height);
+fet_beginchar("maxima rest", "-3", "maximarest");
+ set_char_box(0, 3 breve_rest_x#, breve_rest_y#, breve_rest_y#);
+ draw_block ((0,-floor (breve_rest_y)), (breve_rest_x, floor (breve_rest_y)));
+ addto currentpicture also currentpicture shifted (2 breve_rest_x, 0);
+fet_endchar;
fet_beginchar("longa rest", "-2", "longarest");
- set_char_box(0, breve_rest_x#, breve_rest_y#, breve_rest_y#);
- draw_block ((0,-floor (breve_rest_y)), (breve_rest_x, floor (breve_rest_y)));
+ set_char_box(0, breve_rest_x#, breve_rest_y#, breve_rest_y#);
+ draw_block ((0,-floor (breve_rest_y)), (breve_rest_x, floor (breve_rest_y)));
fet_endchar;
fet_beginchar("breve rest", "-1", "breverest");
- set_char_box(0, breve_rest_x#, 0, breve_rest_y#);
- draw_block ((0,0), (breve_rest_x, floor (breve_rest_y)));
+ set_char_box(0, breve_rest_x#, 0, breve_rest_y#);
+ draw_block ((0,0), (breve_rest_x, floor (breve_rest_y)));
fet_endchar;
+
tracingvariables := 1;
fet_beginchar("Quarter rest","2","quartrest");
% draw_staff (-2, 2, 0.0);
save alpha, yshift, height;
alpha:=-50;
+
+
+ thick# := 1/4 staff_space#;
+ define_blacker_pixels(thick);
+
+ rthin := 1.25 linethickness;
+ rthick := 2 thick+rthin;
+
+
+
yshift# = -1.25 staff_space#;
height# = 2.8125 staff_space#;
+
define_pixels (yshift, height);
save xcenter;
xcenter = -0.1 staff_space;
-yshift#,
yshift# + height#);
- save ne,nw,se,sw; pair ne,nw,se,sw;
+ save ne,nw, se, sw; pair ne, nw, se, sw;
se=dir alpha; nw=dir (alpha+180);
ne=dir (alpha+90); sw=dir (alpha-90);
- penpos1(rthin,alpha+90);
- penpos2(5/4rthick,alpha);
- penpos4(5/4rthick,alpha);
- penpos5(rthin,alpha+90);
- penpos3(3/4rthick,alpha);
-% penpos6(5/8rthick,alpha);
- penpos6(2/3rthick,alpha);
- penpos7(1/2rthin,alpha+90);
+ penpos1(rthin, alpha+90);
+ penpos2(5/4rthick, alpha);
+ penpos4(5/4rthick, alpha);
+ penpos5(rthin, alpha+90);
+ penpos3(3/4rthick, alpha);
+% penpos6(5/8rthick, alpha);
+ penpos6(2/3rthick, alpha);
+ penpos7(1/2rthin, alpha+90);
z10=z2l+1/2rthin*sw;
% z11=z4l+1/2rthin*sw;
y1r = h;
x1l=xcenter + 1/3staff_space;
z2r=z1+staff_space*se;
- z3=1/2[z2,z4];
+ z3=1/2[z2, z4];
x4= xcenter + 3/8staff_space;
y4= 0;
z5=z4l+1.3staff_space*se;
fill z1l{se}..{se}z10..z3l..z11{se}..{se}z5l..z5r{nw}..{nw}z12..z3r..z13{nw}..{nw}z1r.. cycle;
fill z5r{nw}..tension1.4..z6l..tension1.4..{se}z7l..z7r{nw}..tension1.4..z6r..tension1.4..{se}z5l..cycle;
- penlabels(1,2,3,4,5,6,7);
- penlabels(10,11,12,13);
+ penlabels(1, 2, 3, 4, 5, 6, 7);
+ penlabels(10, 11, 12, 13);
-% 3/4 staff_space# + yshift#,
-% 18/5staff_space# + yshift#)
-
- fet_endchar;
+fet_endchar;
def rest_crook(expr a, w) =
balled_crook(a, w, ball_crook_balldiam, ball_crook_stem)
% it is closed, or even a flare.
%
-def normalize (expr p) =
- (p / length (p))
-enddef ;
+% from an email to Rune Zedeler:
+%
+%
+% For example, the 8th rest was vaguely based on a book with trumpet
+% studies by Duhem, and by Baerenreiters cello suites. I included my
+% findings in a comment in the mf file. One of the things that I tried
+% to do was make the rest a little lighter and narrower than the black
+% note head. I think this looks better in polyphonic music, when the
+% rest is below a head from a different voice.
+%
+%
-def draw_eighth_rest =
- save width, bulb_diam, thin, thick;
- save ycenter, crook_thick, crook_thin;
- save crook_dir, lower_brush;
- pair crook_dir;
+save bulb_diam, thin, thick;
+bulb_diam# := 0.64 staff_space#;
+thin# := 1.4 linethickness# - 0.02 staff_space#;
+thick# := 2.2 linethickness#;
+crook_thin := 0.5 linethickness + 0.08 staff_space;
- width# := 1.0 staff_space#;
- bulb_diam# := 0.64 staff_space#;
- thin# := 1.1 stafflinethickness#;
- thick# := 2.2 stafflinethickness#;
- crook_thick# := 1.8 stafflinethickness#;
- crook_thin := 1.3 stafflinethickness;
+lower_brush := 1.5 linethickness;
- lower_brush = 1.5 stafflinethickness;
- ycenter := 0.5 staff_space;
+define_pixels ( bulb_diam, thin, thick);
- define_pixels (width, bulb_diam, thin, thick, crook_thick);
- set_char_box (0, width#,
- 1.0 staff_space# + 0.5 stafflinethickness#, 0.5 staff_space# + bulb_diam#/2);
+%
+% PAT is a compact way to pass the brush shape to the routine.
+%
- penpos1 (thick, 0);
- penpos2 (thin, 0);
+def draw_rest_bulb(expr ycenter, ycut, pat, stretch) =
+begingroup;
+ save x,y,pt;
+ z1l = point 0 of pat;
+ z2l = point 1 of pat;
+ z2r = point 3 of pat;
+ z1r = point 4 of pat;
+ z1 = 0.5[z1l,z1r];
+ z2 = 0.5[z2l,z2r];
+ y10 = ycenter;
+ z10 = whatever[z2, z1] + left*bulb_diam*stretch;
+
+
+ z3 = z10+bulb_diam/2.15*dir(-72) ;
+ z5 = z10 + up*bulb_diam/2 + right*linethickness/3;
+
+ z7 = 0.5 [z4, z5] + crook_thin * (0.45 ,0.4 ) / 1.3;
+ x8 = x10-0.4bulb_diam;
+ y8 = y10 + 0.25 linethickness;
- y1 = ycenter + - 1.5 staff_space ;
-% y9 = y5 - lower_brush;
- y2 = y5 - lower_brush;
-
- x2r = width;
+ z6 = whatever [z1l, z2l];
+ z6 = z3 + whatever * dir(12);
+ z4 = z3 + whatever * (z6-z3)
+ + 1.1 crook_thin *(unitvector (z6 -z3) rotated 90);
+ x4 = x10+bulb_diam*.62 ;
+ y4 := ceiling (y4);
- x2r - x1 = 0.5 staff_space;
+ (pt,whatever) = pat intersectiontimes ((0,ycut)--(w,ycut));
- x3 = x1l - 0.045 staff_space ;
+ fill point pt of pat {-direction pt of pat} .. tension 2
+ .. z4{left} .. tension 0.9 .. z7
+ .. z5{left} .. z8 .. z3{right}
+ .. {curl 0.2} z6 {right} .. tension 10 .. {left} point pt of pat -- cycle;
+ labels(3, 4, 5, 6, 7, 8, 9, 10, 11);
- x4 = 1.02 bulb_diam ;
- y4 := ceiling (ycenter - 2 stafflinethickness + crook_thin);
+endgroup;
+enddef;
- x5 = 0.5 bulb_diam - 0.25 stafflinethickness;
- y5 = ycenter +bulb_diam/2;
-
- z9 = z2 + 0.46 stafflinethickness * dir (angle(z2 - z1)- 10);
+def draw_eighth_rest =
+ save width;
+ save ycenter;
+ save crook_dir, pat;
+ pair crook_dir;
+ path pat;
-% z7 = %(bulb_diam/2,ycenter) + 0.23 staff_space * dir ( 35);
- z7 = 0.5 [z4, z5] + (0.45 stafflinethickness,0.4 stafflinethickness);
- x8 = 0;
- y8 = ycenter + 0.25 stafflinethickness;
+ width# := 1.0 staff_space#;
- z6 = whatever [z1l, z2l];
- z6 = whatever [z2l, z4] + crook_thick * (crook_dir rotated -90);
- crook_dir = normalize(z2l - z4);
+ define_pixels (width);
+ set_char_box (0, width#,
+ 1.0 staff_space# + 0.5 linethickness#, 0.5 staff_space# + bulb_diam#/2);
- y3 := ycenter +floor (- 0.45 bulb_diam);
+ penpos1 (thick, 0);
+ penpos2 (thin, 10);
+ y1 = - staff_space ;
+ y2 = h - lower_brush;
+ x2r = width;
+ z2 = z1 + whatever*dir(72);
+ z9 = z2 + 0.5 linethickness * dir (angle(z2 - z1)- 10);
+ pat = z1l --- z2l .. z9 .. z2r --- simple_serif (z1r, z1l, -40) .. cycle;
+ fill pat;
+
+ draw_rest_bulb (0.5 staff_space , y2r , pat , 1.0);
penlabels (1, 2);
- labels(3, 4, 5, 6, 7, 8, 9);
-
- fill z2r -- z2l -- simple_serif (z1l, z1r, 40) -- cycle;
- fill z2r{z2r-z1r} .. z9 .. z2l{dir(232)} .. tension 2
- .. z4{left} .. tension 0.9 .. z7 %{dir(90 + 25)}
- .. z5{left} .. z8 .. z3{right}
- .. {curl 0.2}z6 -- cycle;
+ labels(9);
-% draw_staff (-2,2,0.0);
+ % draw_staff (-2,2,0.0);
enddef;
-fet_beginchar("8th rest","3","eighthrest");
+fet_beginchar("Classical quarter rest","2classical","clasquartrest");
draw_eighth_rest;
+ currentpicture := currentpicture xscaled -1 shifted (w,0);
fet_endchar;
-fet_beginchar("Classical quarter rest","2classical","clasquartrest");
+fet_beginchar("8th rest","3","eighthrest");
draw_eighth_rest;
- currentpicture := currentpicture xscaled -1 shifted (w,0);
fet_endchar;
+%
+% TODO: the X dimensions of the rests are fucked up:
+% they can collide with augmentation dots.
+%
+
fet_beginchar("16th rest","4","sixteenthrest");
-% draw_staff (-2, 2, 0.0);
- save yshift, ballcorrection;
- ballcorrection = 0.005 staff_space;
-
- yshift# := - 2 staff_space#;
- define_pixels(yshift);
-
- save alpha,cw,h,w, height;
- alpha=74;
- cw#=7/6staff_space#;
- height# = 5/3staff_space#+staff_space#+7/4stafflinethickness#;
- set_char_box(0, cw#+(height#-3/2staff_space#)/tand(alpha),
- -yshift#, height# + yshift#);
-
- define_pixels(cw);
- save x,y;
- x1=w-stem/6;
- y1 = yshift + 2.5 staff_space + flare/4 + ballcorrection;
-
- z2-z1=whatever*dir alpha;
- y2= yshift + stem/2;
- brush(z1,2/3stem,z2,stem);
- rest_crook (z1,cw);
- z3-z1=whatever*dir alpha;
- y3=y1-staff_space;
- rest_crook (z3,cw);
- penlabels(1,2);
+ save width;
+ save ycenter;
+ save crook_dir, pat;
+ pair crook_dir;
+ path pat;
+
+ width# := 1.2 staff_space#;
+
+ define_pixels (width);
+ set_char_box (0, width#,
+ 2.0 staff_space# + 0.5 linethickness#, 0.5 staff_space# + bulb_diam#/2);
+
+ penpos1 (thick, 0);
+ penpos2 (thin, 10);
+
+ y1 = -2 staff_space ;
+ y2 = h - lower_brush;
+ x2r = width;
+ z2 = z1 + whatever*dir(74);
+ z9 = z2 + 0.5 linethickness * dir (angle(z2 - z1)- 10);
+ pat = z1l --- z2l .. z9 .. z2r --- simple_serif (z1r, z1l, -40) .. cycle;
+ fill pat;
+
+
+ draw_rest_bulb(0.5 staff_space , y2r , pat , 0.98);
+ draw_rest_bulb(-0.5 staff_space , (-0.5+0.2)*staff_space , pat , 1.02);
+ penlabels (1, 2);
+ labels(9);
+
+ % draw_staff (-2,2,0.0);
fet_endchar;
fet_beginchar("32th rest","5","thirtysecondrest");
-% draw_staff (-2, 2, 0.0);
- save yshift, ballcorrection;
- ballcorrection = 0.005 staff_space;
-
- yshift# := -2 staff_space#;
- define_pixels(yshift);
-
- save alpha,cw,h;
- alpha=76;
- cw#=7/6staff_space#;
- h#=5/3staff_space#+2staff_space#+7/4stafflinethickness#;
-
- set_char_box(0, cw#+(h#-3/2staff_space#)/tand(alpha),
- -yshift#,yshift# +h#);
- define_pixels(cw);
- save x,y;
- x1=w-stem/6;
- y1 = yshift + 3.5 staff_space + flare/4 + ballcorrection;
-
- z2-z1=whatever*dir alpha;
- y2=stem/2 + yshift;
- brush(z1,2/3stem,z2,stem);
- rest_crook (z1,cw);
- z3-z1=whatever*dir alpha;
- y3=y1-staff_space;
- rest_crook (z3,cw);
- z4-z1=whatever*dir alpha;
- y4=y1-2staff_space;
- rest_crook (z4,cw);
- fet_endchar;
+ save width;
+ save ycenter;
+ save crook_dir, pat;
+ pair crook_dir;
+ path pat;
-fet_beginchar("64th rest","6","sixtyfourthrest");
-% draw_staff (-2, 2, 0.0);
- save yshift, ballcorrection;
- ballcorrection = 0.005 staff_space;
-
- yshift# := -3 staff_space#;
- define_pixels(yshift);
-
- save alpha,cw,h,w;
- alpha=78;
- cw#=7/6staff_space#;
- h#=5/3staff_space#+3staff_space#+7/4stafflinethickness#;
- w#=cw#+(h#-3/2staff_space#)/tand(alpha);
- set_char_box(0,w#,-yshift# ,yshift# + h#);
-
- define_pixels(cw);
- save x,y;
- x1=w-stem/6;
-
- y1 = yshift + 4.5 staff_space + flare/4 + ballcorrection;
-
- z2-z1=whatever*dir alpha;
- y2=stem/2 + yshift;
- brush (z1,2/3stem,z2,stem);
- rest_crook (z1,cw);
- z3-z1=whatever*dir alpha;
- y3=y1-staff_space;
- rest_crook (z3,cw);
- z4-z1=whatever*dir alpha;
- y4=y1-2staff_space;
- rest_crook (z4,cw);
- z5-z1=whatever*dir alpha;
- y5=y1-3staff_space;
- rest_crook (z5,cw);
+ width# := 1.3 staff_space#;
- fet_endchar;
+ define_pixels (width);
+ set_char_box (0, width#,
+ 2.0 staff_space# + 0.5 linethickness#, 1.5 staff_space# + bulb_diam#/2);
+
+ penpos1 (thick, 0);
+ penpos2 (thin, 10);
-fet_beginchar("128th rest","7","hundredtwentyeighthrest");
-% draw_staff (-2, 2, 0.0);
- save yshift, ballcorrection;
- ballcorrection = 0.005 staff_space;
-
- yshift# := -3 staff_space#;
- define_pixels(yshift);
- save alpha,cw,h,w;
- alpha=78;
- cw#=7/6staff_space#;
- h#=5/3staff_space#+4staff_space#+7/4stafflinethickness#;
- w#=cw#+(h#-3/2staff_space#)/tand(alpha);
- set_char_box(0,w#, -yshift#,yshift# + h#);
- define_pixels(cw);
- save x,y;
- x1=w-stem/6;
- y1 = yshift + 5.5 staff_space + flare/4 + ballcorrection;
-
- z2-z1=whatever*dir alpha;
- y2=stem/2 + yshift;
- brush (z1,2/3stem,z2,stem);
- rest_crook (z1,cw);
- z3-z1=whatever*dir alpha;
- y3=y1-staff_space;
- rest_crook (z3,cw);
- z4-z1=whatever*dir alpha;
- y4=y1-2staff_space;
- rest_crook (z4,cw);
- z5-z1=whatever*dir alpha;
- y5=y1-3staff_space;
- rest_crook (z5,cw);
- z6-z1=whatever*dir alpha;
- y6=y1-4staff_space;
- rest_crook (z6,cw);
+ y1 = -2 staff_space ;
+ y2 = h - lower_brush;
+ x2r = width;
+ z2 = z1 + whatever*dir(76);
+ z9 = z2 + 0.5 linethickness * dir (angle(z2 - z1)- 10);
+ pat = z1l --- z2l .. z9 .. z2r --- simple_serif (z1r, z1l, -40) .. cycle;
+ fill pat;
+
+ draw_rest_bulb(1.5 staff_space , y2r , pat , 0.96);
+ draw_rest_bulb(0.5 staff_space , (0.5+0.2)*staff_space , pat , 1.00);
+ draw_rest_bulb(-0.5 staff_space , (-0.5+0.21)*staff_space , pat , 1.04);
+ penlabels (1, 2);
+ labels(9);
+
+ % draw_staff (-2,2,0.0);
fet_endchar;
+fet_beginchar("64th rest","6","sixtyfourthrest");
+ save width;
+ save ycenter;
+ save crook_dir, pat;
+ pair crook_dir;
+ path pat;
+
+ width# := 1.4 staff_space#;
-endgroup;
+ define_pixels (width);
+ set_char_box (0, width#,
+ 3.0 staff_space# + 0.5 linethickness#, 1.5 staff_space# + bulb_diam#/2);
+ penpos1 (thick, 0);
+ penpos2 (thin, 10);
-%%%%%%%%
-%
-%
-%
-% MENSURAL NOTATION
-%
-%
-%
+ y1 = -3 staff_space ;
+ y2 = h - lower_brush;
+ x2r = width;
+ z2 = z1 + whatever*dir(78);
+ z9 = z2 + 0.5 linethickness * dir (angle(z2 - z1)- 10);
+ pat = z1l --- z2l .. z9 .. z2r --- simple_serif (z1r, z1l, -40) .. cycle;
+ fill pat;
+
-% Neo-mensural longa and breve are identical with default longa and breve.
+ draw_rest_bulb(1.5 staff_space , y2r , pat , 0.94);
+ draw_rest_bulb(0.5 staff_space , (0.5+0.20)*staff_space , pat , 0.98);
+ draw_rest_bulb(-0.5 staff_space , (-0.5+0.21)*staff_space , pat , 1.02);
+ draw_rest_bulb(-1.5 staff_space , (-1.5+0.22)*staff_space , pat , 1.06);
+ penlabels (1, 2);
+ labels(9);
-neomens_block_rest_x# = 2/5 staff_space#;
-neomens_block_rest_y# = 1/1 staff_space#;
-neomens_half_block_rest_y# = 5/8 staff_space#;
+ % draw_staff (-2,2,0.0);
+ fet_endchar;
-define_pixels(neomens_block_rest_x,
- neomens_block_rest_y, neomens_half_block_rest_y);
+fet_beginchar("128th rest","7","hundredtwentyeighthrest");
+ save width;
+ save ycenter;
+ save crook_dir, pat;
+ pair crook_dir;
+ path pat;
-def neomens_half_block_rest =
- draw_block ((0,0), (neomens_block_rest_x, neomens_half_block_rest_y));
- enddef;
+ width# = 1.5 staff_space#;
-fet_beginchar("Neo-mensural maxima rest", "-3neo_mensural", "neomensmaximarest");
- set_char_box(0, neomens_block_rest_x#,
- neomens_block_rest_y#, 2 neomens_block_rest_y#);
- draw_block ((0,-neomens_block_rest_y),
- (neomens_block_rest_x, 2 neomens_block_rest_y));
-fet_endchar;
+ define_pixels (width);
+ set_char_box (0, width#,
+ 3.0 staff_space# + 0.5 linethickness#, 2.5 staff_space# + bulb_diam#/2);
-fet_beginchar("Neo-mensural longa rest", "-2neo_mensural", "neomenslongarest");
- set_char_box(0, neomens_block_rest_x#,
- neomens_block_rest_y#, neomens_block_rest_y#);
- draw_block ((0,-neomens_block_rest_y),
- (neomens_block_rest_x, neomens_block_rest_y));
-fet_endchar;
+ penpos1 (thick, 0);
+ penpos2 (thin, 10);
-fet_beginchar("Neo-mensural breve rest", "-1neo_mensural", "neomensbreverest");
- set_char_box(0, neomens_block_rest_x#,
- 0, neomens_block_rest_y#);
- draw_block ((0,0), (neomens_block_rest_x, neomens_block_rest_y));
-fet_endchar;
+ y1 = -3 staff_space ;
+ y2 = h - lower_brush;
+ x2r = width;
+ z2 = z1 + whatever*dir(80);
+ z9 = z2 + 0.5 linethickness * dir (angle(z2 - z1)- 10);
+ pat = z1l --- z2l .. z9 .. z2r --- simple_serif (z1r, z1l, -40) .. cycle;
+ fill pat;
+
-fet_beginchar("Neo-mensural whole rest", "0neo_mensural", "neomenssemibrevisrest");
- set_char_box(0, neomens_block_rest_x#,
- neomens_half_block_rest_y#, 0);
- neomens_half_block_rest;
- currentpicture :=
- currentpicture shifted (0,- neomens_half_block_rest_y);
-fet_endchar;
+ draw_rest_bulb(2.5 staff_space , y2r , pat , 0.92);
+ draw_rest_bulb(1.5 staff_space , (1.5+0.20)*staff_space , pat , 0.96);
+ draw_rest_bulb(0.5 staff_space , (0.5+0.21)*staff_space , pat , 1.0);
+ draw_rest_bulb(-0.5 staff_space , (-0.5+0.22)*staff_space , pat , 1.04);
+ draw_rest_bulb(-1.5 staff_space , (-1.5+0.23)*staff_space , pat , 1.08);
+ penlabels (1, 2);
+ labels(9);
-fet_beginchar("Neo-mensural half rest", "1neo_mensural", "neomensminimahalfrest");
- set_char_box(0, neomens_block_rest_x#,
- 0, neomens_half_block_rest_y#);
- neomens_half_block_rest;
-fet_endchar;
+ % draw_staff (-2,2,0.0);
+ fet_endchar;
-neomensrestsize# = .8staff_space#;
-
-fet_beginchar("Neo-mensural 4th rest","2neo_mensural","neomenssemiminimarest")
- set_char_box(0,neomensrestsize#,0,neomensrestsize#);
- pickup pencircle scaled 2 stafflinethickness;
- lft x1 = 0;
- bot y1 = 0;
- lft x2 = 0;
- top y2 = h;
- rt x3 = w;
- bot y3 = h/2;
- draw z1 .. z2;
- draw z2 .. z3;
-fet_endchar
-
-fet_beginchar("Neo-mensural 8th rest","3neo_mensural","neomensfusarest")
- set_char_box(0,neomensrestsize#,0,neomensrestsize#);
- pickup pencircle scaled 2 stafflinethickness;
- rt x1 = w;
- bot y1 = 0;
- rt x2 = w;
- top y2 = h;
- lft x3 = 0;
- bot y3 = h/2;
- draw z1 .. z2;
- draw z2 .. z3;
-fet_endchar
-
-fet_beginchar("Neo-mensural 16th rest","4neo_mensural","neomenssemifusarest")
- set_char_box(0,neomensrestsize#,0,staff_space#);
- pickup pencircle scaled 2 stafflinethickness;
- rt x1 = w;
- bot y1 = 0;
- rt x2 = w;
- top y2 = h;
-
- draw z1 .. z2;
-
- pickup pencircle scaled 2 stafflinethickness;
- rt x3 = w;
- top y3 = h;
- lft x4 = 0;
- bot y4 = h/2;
- rt x5 = w;
- top y5 = 5/8h;
- lft x6 = 0;
- bot y6 = h/8;
-
- draw z3 .. z4;
- draw z5 .. z6;
-fet_endchar
+endgroup;
fet_endgroup("rests")