% -*- Fundamental -*-
accreg_dot_size# := .5staff_space#;
-
-% FIXME
-% 'strange turning path' in accSB and others:
-% mf '\mode=laserjet; input feta11'
-% mf '\mode=laserjet; input feta13'
accreg_linethickness# := 1.3stafflinethickness#;
% This dimention is the same on all registersymbols.
% set_char_box(accreg_lh#, accreg_lh#, 3accreg_lh#, 0);
set_char_box(accreg_lh#, accreg_lh#, 0, 3accreg_lh#);
pickup pencircle scaled accreg_linethickness;
- draw (0, 0)--(2w, 0)--(2w, 3accreg_lh)--(0, 3accreg_lh)--(0, 0);
+ %draw (0, 0)--(2w, 0)--(2w, 3accreg_lh)--(0, 3accreg_lh)--(0, 0);
+ draw (0, 0)--(2w, 0)--(2w, 3accreg_lh)--(0, 3accreg_lh)--cycle;
draw (0, accreg_lh)--(2w, accreg_lh);
draw (0, 2accreg_lh)--(2w, 2accreg_lh);
currentpicture := currentpicture shifted (-w, 0);% -3lh);
penpos12(thick, 0);
penpos13(thin, 90);
penpos14(thin, 90);
+
penpos15(thick, 180);
penpos16(thin, -90);
penpos17(thin, -90);
save hs, mb, mt, thin, thick, height, width, cOne, cTwo;
width = .8staffsize;
height = 2.4staff_space;
- thin = 0.05staff_space;
- thick = 0.2staff_space;
+ % URG. smaller sizes should be wider and fatter
+ %thin = 0.05staff_space;
+ %thick = 0.2staff_space;
+ save bx,hx; 4hx+bx=1.15; 10hx+bx=1;
+ fatten:=designsize*hx+bx*1.2;
+ thick:= 0.2staff_space*fatten;
+ % urg: mustn't ever go thinner than blot!
+ thin#:= blot_diameter#;
+ define_pixels (thin);
+
hs = 0.4staff_space;
mb = .53;
mt = .47;
cTwo = 0.60;
enddef;
-%%% strange turning path.
+def print_penpos (suffix $)=
+ message str $ &": ("&decimal x.$.l&", "&decimal y.$.l&"); ("&decimal x.$.r&", "&decimal y.$.r&");";
+enddef;
+
fet_beginchar("accSB", "accSB", "accSB")
set_char_box(.4staffsize#, .4staffsize#, 0, 2.4staff_space#);
def_some_vars;
def_B(.35width, .7height);
- % FIXME -- strange turning path:
- penstroke z10e--z11e{right}..z12e{up}..z13e{left}--z14e;
+ penstroke z10e--z11e{right}..z12e..z13e{left}--z14e;
+ penlabels(10, 11, 12, 13, 14);
penstroke z13e{right}..z15e{up}..z16e{left}--z17e;
penstroke z18e--z19e;
currentpicture := currentpicture shifted(.40width, 0);
def_S(.35width, .7height);
-% penlabels(1, 2, 3, 4, 5, 6, 7, 8, 9);
+ penlabels(1, 2, 3, 4, 5, 6, 7, 8, 9);
filldraw z1r--z8r--z8l--subpath(t, 1) of bue--cycle;
filldraw subpath(t, 1) of bueoverst--z7l--z9r--z9l--cycle;
penstroke z1e{down}..z2e{right}..z3e
currentpicture := currentpicture shifted (0, 2.4staff_space);
fet_endchar;
-%%% strange turning path.
fet_beginchar("accBB", "accBB", "accBB")
set_char_box(.4staffsize#, .4staffsize#, 0, 2.4staff_space#);
def_some_vars;
def_B(.35width, .7height);
- % FIXME -- strange turning path:
penstroke z10e--z11e{right}..z12e{up}..z13e{left}--z14e;
penstroke z13e{right}..z15e{up}..z16e{left}--z17e;
penstroke z18e--z19e;
+ penlabels(1, 2, 3, 4, 5, 6, 7, 8, 9);
pickup pencircle scaled .5thick;
drawdot(.37width, .10thick);
currentpicture := currentpicture shifted (.40width, 0);
currentpicture := currentpicture shifted(-.40width, -.85height);
draw (-.5width, 0)--(.5width, 0)--(.5width, -height)
--(-.5width, -height)--(-.5width, 0);
+ penlabels(10, 11, 12, 13, 14, 15, 16, 17, 18, 19 );
currentpicture := currentpicture shifted (0, 2.4staff_space);
fet_endchar;
save thin, thick, sw, ch, cw, mb, mt;
ch = .6h;
cw = .8w;
- thin = .05cw;
- thick = .17w;
+ % URG. smaller sizes should be wider and fatter
+ %thin = .05cw;
+ %thick = .17w;
+ save bx,hx; 4hx+bx=1.15; 10hx+bx=1;
+ fatten:=designsize*hx+bx*1.2;
+ thick:= .17w*fatten;
+
+ % urg: mustn't ever go thinner than blot!
+ %thin = 0.05staff_space;
+ %blot#:=.4pt#;
+ thin#:= blot_diameter#;
+ define_pixels (thin);
+
+
+ hs = 0.4staff_space;
+
mb = .53; mt = .47;
sw = .8thick;
z1 = (0, ch-.5thin); penpos1 (thin, -90);
z7 = (1.2cw, 0); penpos7(thin, 90);
z8 = (1.3cw, .2mb*ch); penpos8(thin, 180);
penlabels(1, 2, 3, 4, 5, 6, 7, 8);
+
+ %%AAARG
pickup pencircle scaled 0.001pt;
filldraw (0, 0)--(0, thin)--(sw, thin)--(sw, ch-thin)
--(sw+thick, ch-thin)--(sw+thick, thin)
--(2sw+thick, thin)--(2sw+thick, 0)--cycle;
- % FIXME -- strange turning path:
penstroke z1e--z2e{right}..z3e..z4e{left}--z5e;
penstroke z4e{right}..z6e{down}..z7e{right}..z8e{up};