From 1877c935fcfff0fc2aab94dad72f132023e35950 Mon Sep 17 00:00:00 2001 From: hanwen Date: Sun, 4 Apr 2004 13:48:22 +0000 Subject: [PATCH] * mf/feta-beugel.mf: set design to 10 (constant). * mf/feta-braces-a.mf: rename to stress that it's not design size. --- ChangeLog | 6 ++++++ mf/GNUmakefile | 2 +- mf/feta-beugel.mf | 26 ++++++++++++----------- mf/{feta-braces00.mf => feta-braces-a.mf} | 0 mf/{feta-braces10.mf => feta-braces-b.mf} | 0 mf/{feta-braces20.mf => feta-braces-c.mf} | 0 mf/{feta-braces30.mf => feta-braces-d.mf} | 0 mf/{feta-braces40.mf => feta-braces-e.mf} | 0 mf/{feta-braces50.mf => feta-braces-f.mf} | 0 mf/{feta-braces60.mf => feta-braces-g.mf} | 0 mf/{feta-braces70.mf => feta-braces-h.mf} | 0 mf/{feta-braces80.mf => feta-braces-i.mf} | 0 12 files changed, 21 insertions(+), 13 deletions(-) rename mf/{feta-braces00.mf => feta-braces-a.mf} (100%) rename mf/{feta-braces10.mf => feta-braces-b.mf} (100%) rename mf/{feta-braces20.mf => feta-braces-c.mf} (100%) rename mf/{feta-braces30.mf => feta-braces-d.mf} (100%) rename mf/{feta-braces40.mf => feta-braces-e.mf} (100%) rename mf/{feta-braces50.mf => feta-braces-f.mf} (100%) rename mf/{feta-braces60.mf => feta-braces-g.mf} (100%) rename mf/{feta-braces70.mf => feta-braces-h.mf} (100%) rename mf/{feta-braces80.mf => feta-braces-i.mf} (100%) diff --git a/ChangeLog b/ChangeLog index 6840cd22db..27453a68d6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-04-04 Han-Wen Nienhuys + + * mf/feta-beugel.mf: set design to 10 (constant). + + * mf/feta-braces-a.mf: rename to stress that it's not design size. + 2004-04-04 Werner Lemberg * Documentation/user/tutorial.itely: Revised (continued). diff --git a/mf/GNUmakefile b/mf/GNUmakefile index 4df0a88138..67f3b951c1 100644 --- a/mf/GNUmakefile +++ b/mf/GNUmakefile @@ -10,7 +10,7 @@ EXTRA_DIST_FILES += README feta.tex # We don't use $(MF_FILES), because there's more .mf cruft here FETA_MF_FILES = $(wildcard feta[0-9]*.mf)\ - $(wildcard feta-braces*[0-9].mf)\ + $(wildcard feta-braces-[a-z].mf)\ $(wildcard feta-din*[0-9].mf)\ $(wildcard feta-nummer*[0-9].mf)\ $(wildcard parmesan[0-9]*.mf) diff --git a/mf/feta-beugel.mf b/mf/feta-beugel.mf index 8ab96f18c6..0f32d9d40e 100644 --- a/mf/feta-beugel.mf +++ b/mf/feta-beugel.mf @@ -3,17 +3,27 @@ input feta-autometric; input feta-macros; -staffsize# := 20 pt#; %% arbitrary. +staffsize# := 20 pt#; %% arbitrary. input feta-params; font_coding_scheme "feta braces"; + +def abc_encode_int (expr i) = + if i > 0: + abc_encode_int(i div 26)&char(65 + i mod 26) + else: + "A" + fi +enddef ; + % we set the designsize arbitrarily at 10 -% if the * 10 is left out, pktrace gets confused over the proper magnification, -% and makes it too large. -fet_beginfont("feta-braces", font_count * 10); + +design_size := 10; + +fet_beginfont("feta-braces-" &char(97 + font_count), design_size); mode_setup; @@ -23,14 +33,6 @@ save code; code := -1; -def abc_encode_int (expr i) = - if i > 0: - abc_encode_int(i div 26)&char(65 + i mod 26) - else: - "A" - fi -enddef ; - def draw_brace (expr height_sharp, width_sharp, slt_sharp) = save pendir, height, width, thin, thick, slt; diff --git a/mf/feta-braces00.mf b/mf/feta-braces-a.mf similarity index 100% rename from mf/feta-braces00.mf rename to mf/feta-braces-a.mf diff --git a/mf/feta-braces10.mf b/mf/feta-braces-b.mf similarity index 100% rename from mf/feta-braces10.mf rename to mf/feta-braces-b.mf diff --git a/mf/feta-braces20.mf b/mf/feta-braces-c.mf similarity index 100% rename from mf/feta-braces20.mf rename to mf/feta-braces-c.mf diff --git a/mf/feta-braces30.mf b/mf/feta-braces-d.mf similarity index 100% rename from mf/feta-braces30.mf rename to mf/feta-braces-d.mf diff --git a/mf/feta-braces40.mf b/mf/feta-braces-e.mf similarity index 100% rename from mf/feta-braces40.mf rename to mf/feta-braces-e.mf diff --git a/mf/feta-braces50.mf b/mf/feta-braces-f.mf similarity index 100% rename from mf/feta-braces50.mf rename to mf/feta-braces-f.mf diff --git a/mf/feta-braces60.mf b/mf/feta-braces-g.mf similarity index 100% rename from mf/feta-braces60.mf rename to mf/feta-braces-g.mf diff --git a/mf/feta-braces70.mf b/mf/feta-braces-h.mf similarity index 100% rename from mf/feta-braces70.mf rename to mf/feta-braces-h.mf diff --git a/mf/feta-braces80.mf b/mf/feta-braces-i.mf similarity index 100% rename from mf/feta-braces80.mf rename to mf/feta-braces-i.mf -- 2.39.2