X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=mf%2Ffeta-nummer-code.mf;h=16d69e15b0c1397ca4ca61c7efd590bd513ed98b;hb=584b22c19b252c42ec871f51358d3ab25a18c93e;hp=cafc8a7aaab2cd72a490d9b056006ec94d3182bf;hpb=d9e147931b92e9c9e316bb7fae678d484a15e196;p=lilypond.git diff --git a/mf/feta-nummer-code.mf b/mf/feta-nummer-code.mf index cafc8a7aaa..16d69e15b0 100644 --- a/mf/feta-nummer-code.mf +++ b/mf/feta-nummer-code.mf @@ -4,7 +4,7 @@ % % source file of the Feta (not the Font-En-Tja) music font % -% (c) 1997--2002 Jan Nieuwenhuizen +% (c) 1997--2004 Jan Nieuwenhuizen % % These numbers were taken from a part that that the EJE violas played @@ -17,8 +17,6 @@ % glyph. % -fet_begingroup("number") - define_pixels(height,thick,thick,thin,hair,flare); define_pixels(foot_top,foot_width); define_pixels(kuulleke); @@ -175,7 +173,7 @@ save dot_diam; dot_diam# = 7/8flare#; define_pixels(dot_diam); -code := 32; +code := 31; % , 32 fet_beginchar("Space", "space", "space") set_char_box(0, space#, 0,height#); fet_endchar; @@ -183,7 +181,7 @@ fet_endchar; code := 43; % , = 44 % urg -fet_beginchar("Numeral comma", ",", "comma") +fet_beginchar("Numeral comma", "comma", "comma") set_char_box(0, dot_diam#, 3/2dot_diam#, dot_diam#); pickup pencircle scaled dot_diam; draw (dot_diam/2,dot_diam/2); @@ -198,7 +196,7 @@ fet_beginchar("Numeral comma", ",", "comma") penlabels(1); fet_endchar; -fet_beginchar("Numeral dash", "-", "dash") +fet_beginchar("Numeral dash", "hyphen", "hyphen") set_char_box(0, height#/3, 0, height#); pickup pencircle scaled thin; lft x1 = -b; @@ -207,7 +205,7 @@ fet_beginchar("Numeral dash", "-", "dash") draw z1 .. z2; fet_endchar; -fet_beginchar("Numeral dot", ".", "dot") +fet_beginchar("Numeral dot", "period", "period") set_char_box(0, dot_diam#, 0, dot_diam#); pickup pencircle scaled dot_diam; draw (dot_diam/2,dot_diam/2); @@ -218,7 +216,7 @@ fet_endchar; code := 47; % 0 = 48 -fet_beginchar("Numeral 0", "0", "zero") +fet_beginchar("Numeral 0", "zero", "zero") set_char_box(0, 11/15height# * widen, 0, height#); message "w:"&decimal w; message "h:"&decimal h; @@ -237,7 +235,7 @@ fet_beginchar("Numeral 0", "0", "zero") ..tension t..z4l..tension t..cycle; fet_endchar; -fet_beginchar("Numeral 1", "1", "one") +fet_beginchar("Numeral 1", "one", "one") % set_char_box(0, 19/30height#*widen, 0, height#); set_char_box(0, 1/2foot_width#+3/2thick#+1/2hair#, 0, height#); message "w:"&decimal w; @@ -269,7 +267,7 @@ fet_beginchar("Numeral 1", "1", "one") draw_foot(x1); fet_endchar; -fet_beginchar("Numeral 2", "2", "two") +fet_beginchar("Numeral 2", "two", "two") set_char_box(0, 22/30 height#*widen, 0, height#); message "w:"&decimal w; message "h:"&decimal h; @@ -317,19 +315,25 @@ fet_beginchar("Numeral 2", "2", "two") fet_endchar; -fet_beginchar("Numeral 3", "3", "three") + +%% +% TODO: should widen a bit. The right edge of the 3 bumps into next glyph in +% combinations +% +fet_beginchar("Numeral 3", "three", "three") set_char_box(0, 2/3height#*widen, 0, height#); message "w:"&decimal w; message "h:"&decimal h; penpos1(hair,-90); % flare_start = 0.25 ; - x1l = 35/80 w; + x1l = 36/80 w; y1l = h; % z1l=(17/16thick,h); penpos2(7/8thick,180); - z2l=(w-thick/8,3/4h+thick/16); + x2l= w-thick/8; + y2l = 3/4h + thick* 3/32; penpos3(thin,90); z3=(w/2,h/2+1/8thick); penpos4(thin,90); @@ -343,7 +347,8 @@ fet_beginchar("Numeral 3", "3", "three") x6r= 37/80 w; y6r = 0; penpos7(3/2thin,90); - z7=(x5,y3); + x7 = .83 w ; + y7 = y3; penlabels(1,2,3,4,5,6,7); save alpha; alpha=25; save t; t=tense; @@ -380,7 +385,7 @@ fet_endchar; -fet_beginchar("Numeral 4", "4", "four") +fet_beginchar("Numeral 4", "four", "four") set_char_box(0, 4/5height#*widen, 0, height#); message "w:"&decimal w; message "h:"&decimal h; @@ -422,7 +427,7 @@ fet_beginchar("Numeral 4", "4", "four") draw_foot(x5); fet_endchar; -fet_beginchar("Numeral 5", "5", "five") +fet_beginchar("Numeral 5", "five", "five") set_char_box(0, 27/40 height#*widen, 0, height#); message "w:"&decimal w; message "h:"&decimal h; @@ -475,11 +480,11 @@ fet_beginchar("Numeral 5", "5", "five") fet_endchar; -fet_beginchar("Numeral 6", "6", "six") +fet_beginchar("Numeral 6", "six", "six") draw_six; fet_endchar; -fet_beginchar("Numeral 7", "7", "seven") +fet_beginchar("Numeral 7", "seven", "seven") set_char_box(0, 11/15height#*widen, 0, height#); message "w:"&decimal w; message "h:"&decimal h; @@ -534,7 +539,7 @@ fi penlabels(1,2,3,4,5,6); fet_endchar; -fet_beginchar("Numeral 8", "8", "eight") +fet_beginchar("Numeral 8", "eight", "eight") set_char_box(0, 11/15height#*widen, 0, height#); message "w:"&decimal w; message "h:"&decimal h; @@ -568,12 +573,13 @@ fet_beginchar("Numeral 8", "8", "eight") ..z2l{dir(beta)}..cycle; fet_endchar; -fet_beginchar("Numeral 9", "9", "nine") +fet_beginchar("Numeral 9", "nine", "nine") draw_six; % xy_mirror_char; currentpicture := currentpicture scaled -1; currentpicture := currentpicture shifted (w,h); fet_endchar; -fet_endgroup("number") +ligtable "3" : "3" kern 0.1 space#, "0" kern 0.1 space#; +ligtable "2" : "7" kern 0.15 space#;