]> git.donarmstrong.com Git - lilypond.git/commitdiff
factor out common inclusions and initializations
authorJanek Warchoł <lemniskata.bernoullego@gmail.com>
Fri, 13 Dec 2013 17:58:00 +0000 (18:58 +0100)
committerBenkő Pál <benko.pal@gmail.com>
Thu, 19 Dec 2013 16:34:13 +0000 (17:34 +0100)
50 files changed:
mf/common-modules-and-initialization.mf [new file with mode: 0644]
mf/feta-alphabet-generic.mf
mf/feta-braces-generic.mf
mf/feta-braces.mf
mf/feta-flags-generic.mf
mf/feta-flags11.mf
mf/feta-flags13.mf
mf/feta-flags14.mf
mf/feta-flags16.mf
mf/feta-flags18.mf
mf/feta-flags20.mf
mf/feta-flags23.mf
mf/feta-flags26.mf
mf/feta-macros.mf
mf/feta-noteheads-generic.mf
mf/feta-noteheads11.mf
mf/feta-noteheads13.mf
mf/feta-noteheads14.mf
mf/feta-noteheads16.mf
mf/feta-noteheads18.mf
mf/feta-noteheads20.mf
mf/feta-noteheads23.mf
mf/feta-noteheads26.mf
mf/feta-other-generic.mf
mf/feta11.mf
mf/feta13.mf
mf/feta14.mf
mf/feta16.mf
mf/feta18.mf
mf/feta20.mf
mf/feta23.mf
mf/feta26.mf
mf/parmesan-noteheads-generic.mf
mf/parmesan-noteheads11.mf
mf/parmesan-noteheads13.mf
mf/parmesan-noteheads14.mf
mf/parmesan-noteheads16.mf
mf/parmesan-noteheads18.mf
mf/parmesan-noteheads20.mf
mf/parmesan-noteheads23.mf
mf/parmesan-noteheads26.mf
mf/parmesan-other-generic.mf
mf/parmesan11.mf
mf/parmesan13.mf
mf/parmesan14.mf
mf/parmesan16.mf
mf/parmesan18.mf
mf/parmesan20.mf
mf/parmesan23.mf
mf/parmesan26.mf

diff --git a/mf/common-modules-and-initialization.mf b/mf/common-modules-and-initialization.mf
new file mode 100644 (file)
index 0000000..764dbd6
--- /dev/null
@@ -0,0 +1,7 @@
+
+staffsize# := design_size * pt#;
+input debugging-settings;
+input feta-autometric;
+input feta-macros;
+mode_setup;
+input feta-params;
index e8e549ac78e32c6ee332069458f993dd00607bef..81bcb2be44625e9185b90f31e3744c6ffc552447 100644 (file)
@@ -1,14 +1,9 @@
 
-staffsize# := design_size * pt#;
 
-input feta-autometric;
-input feta-macros;
-input feta-params;
+input common-modules-and-initialization;
 
 fet_beginfont ("feta-alphabet", design_size, "fetaNumber");
 
-mode_setup;
-
 number_design_size := design_size / 2;
 dynamic_design_size := 14 design_size / 20;
 
index 749eb89c851871fb281a504d3446f2d01f7dd334..fea872acce2d9b73693c6ebb23d8467bbf93e6f4 100644 (file)
@@ -32,13 +32,9 @@ if known miterlimit:
        vppp := pt;
 fi;
 
+design_size := 20;   %% arbitrary
 
-input feta-autometric;
-input feta-macros;
-
-staffsize# := 20 pt#;   %% arbitrary
-
-input feta-params;
+input common-modules-and-initialization;
 
 %
 % We must let the design increase for each font to make sure that mftrace
index 9a3d62ca7fe0ab9234ed0e6270ed4f697bc63577..cf592e72b09ad2b1be3e0052b574d47a09245941 100644 (file)
@@ -22,9 +22,6 @@
 % doesn't jack up the resolution too highly for the longer braces.
 %
 
-mode_setup;
-
-
 save code, braces_per_font;
 code := 64;
 braces_per_font := 64;
index 7b41062bd66abf84944803cbbdd2f3069f1cb56e..aa5c1a30c0740e48b8d0675b9c59ae831bb840e1 100644 (file)
 % along with LilyPond. If not, see <http://www.gnu.org/licenses/>.
 
 
-staffsize# := design_size * pt#;
-
-mode_setup;
-
-input feta-macros;
-
-input feta-params;
+input common-modules-and-initialization;
 
 font_x_height staff_space#;
 
index bf199c6e69ae25bb2f09e0052c9c009652573f38..bef74cbeac6dc7efba4b150d0d6bf8080048b128 100644 (file)
@@ -1,8 +1,6 @@
 % feta-flags11.mf
 % part of LilyPond's pretty-but-neat music font
 
-input feta-autometric;
-
 design_size := 11.22;
 input feta-flags-generic;
 
index 4982c0aec266ba4c7fceba583b361965550dc508..c597414aace0ae562ad5218615403951d04d0ca7 100644 (file)
@@ -1,8 +1,6 @@
 % feta-flags13.mf
 % part of LilyPond's pretty-but-neat music font
 
-input feta-autometric;
-
 design_size := 12.60;
 input feta-flags-generic;
 
index 6ef0d6fe5ecea623fc0e66a16e55d3c9615f7708..001f7c59a64bb1a934211e1395eb29157095acbf 100644 (file)
@@ -1,8 +1,6 @@
 % feta-flags14.mf
 % part of LilyPond's pretty-but-neat music font
 
-input feta-autometric;
-
 design_size := 14.14;
 input feta-flags-generic;
 
index 8e23c9c297244dd81bce6707ffe24b613ca43617..9a865476b22b24a5779028b978ab34051019495c 100644 (file)
@@ -1,8 +1,6 @@
 % feta-flags16.mf
 % part of LilyPond's pretty-but-neat music font
 
-input feta-autometric;
-
 design_size := 15.87;
 input feta-flags-generic;
 
index b69f9e7bca1e70c079bd382c14d3ba4e0d3ebee5..488b3f1fd845e2bf60594f6ebf0f418cd90bbdba 100644 (file)
@@ -1,8 +1,6 @@
 % feta-flags18.mf
 % part of LilyPond's pretty-but-neat music font
 
-input feta-autometric;
-
 design_size := 17.82;
 input feta-flags-generic;
 
index f56676845bf8d4790292698ce032a23cf92476a2..542fda37b89d94e28e51982e3f50b56a0ddc0cda 100644 (file)
@@ -1,8 +1,6 @@
 % feta-flags20.mf
 % part of LilyPond's pretty-but-neat music font
 
-input feta-autometric;
-
 design_size := 20;
 input feta-flags-generic;
 
index e51988d2e0e4380625fe8ddca5398fadf7a1e46a..d9ccec997ebaa26f2a7019ed8043c2a107e34fad 100644 (file)
@@ -1,8 +1,6 @@
 % feta-flags23.mf
 % part of LilyPond's pretty-but-neat music font
 
-input feta-autometric;
-
 design_size := 22.45;
 input feta-flags-generic;
 
index a3276c1ad0f9e107c1de5108b7a3478b95e0c762..f2da7c10bd45e75292a4c05fa91ee75371317bee 100644 (file)
@@ -1,8 +1,6 @@
 % feta-flags26.mf
 % part of LilyPond's pretty-but-neat music font
 
-input feta-autometric;
-
 design_size := 25.20;
 input feta-flags-generic;
 
index 9a695225fb6d05b49d8ec8909c57af173550383b..37544a7b64dac0351f074b855b722551c623bb41 100644 (file)
@@ -21,7 +21,6 @@
 % debugging
 %
 
-input debugging-settings.mf
 
 def print_penpos (suffix $) =
        message
index c7da14daa6ebb55d1467e7b98b7fdda0e8a13a64..8a7b6e1914293ab12c7cf332a2cdceb0c991c898 100644 (file)
 % along with LilyPond. If not, see <http://www.gnu.org/licenses/>.
 
 
-staffsize# := design_size * pt#;
-
-mode_setup;
-
-input feta-macros;
-
-input feta-params;
+input common-modules-and-initialization;
 
 font_x_height staff_space#;
 
index bfbd735129968171f54e463c366a6d76d33a5c10..f3e181cf8701955e4a672cff9f7d4b41d9a94504 100644 (file)
@@ -1,8 +1,6 @@
 % feta-noteheads11.mf
 % part of LilyPond's pretty-but-neat music font
 
-input feta-autometric;
-
 design_size := 11.22;
 input feta-noteheads-generic;
 
index a78ab0e95926e6d58977190f589b92dcae870eef..9fbe6178261e677157aaecd4624d57a2a130cc08 100644 (file)
@@ -1,8 +1,6 @@
 % feta-noteheads13.mf
 % part of LilyPond's pretty-but-neat music font
 
-input feta-autometric;
-
 design_size := 12.60;
 input feta-noteheads-generic;
 
index 75fccc1a2da6a878b54d11ca6dbb28885031ae78..f47a083c7425b69bf4352a9d3f3957600f7a1674 100644 (file)
@@ -1,8 +1,6 @@
 % feta-noteheads14.mf
 % part of LilyPond's pretty-but-neat music font
 
-input feta-autometric;
-
 design_size := 14.14;
 input feta-noteheads-generic;
 
index 49c48f1e2ced8d994bc66b5bc29fdb467cafd1ca..30f6080607d8d2c7a960bf2952b5f4ba2e4512e8 100644 (file)
@@ -1,8 +1,6 @@
 % feta-noteheads16.mf
 % part of LilyPond's pretty-but-neat music font
 
-input feta-autometric;
-
 design_size := 15.87;
 input feta-noteheads-generic;
 
index 6cfcb6d630a444cc612ea784a190feab28381b59..362d41cacb999796cd8275f70ada1e6adb3ad7c2 100644 (file)
@@ -1,8 +1,6 @@
 % feta-noteheads18.mf
 % part of LilyPond's pretty-but-neat music font
 
-input feta-autometric;
-
 design_size := 17.82;
 input feta-noteheads-generic;
 
index 4a5843cfd914e094877c11d2578ca17fd8f90097..7b9cbb10dac61f729c1c1fa4cef62e59be85e9f1 100644 (file)
@@ -1,8 +1,6 @@
 % feta-noteheads20.mf
 % part of LilyPond's pretty-but-neat music font
 
-input feta-autometric;
-
 design_size := 20;
 input feta-noteheads-generic;
 
index c197af7d0c85d80f0020b0dca41c5db540f31f8f..25a97db73eca4a08f5b368639738519ed1601a5c 100644 (file)
@@ -1,8 +1,6 @@
 % feta-noteheads23.mf
 % part of LilyPond's pretty-but-neat music font
 
-input feta-autometric;
-
 design_size := 22.45;
 input feta-noteheads-generic;
 
index 333c4e3dd0f611e7dc0d3aced8f763592a421a18..df55e6236c04fb8dacb7b1ea1318e97eb15cf72e 100644 (file)
@@ -1,8 +1,6 @@
 % feta-noteheads26.mf
 % part of LilyPond's pretty-but-neat music font
 
-input feta-autometric;
-
 design_size := 25.20;
 input feta-noteheads-generic;
 
index 4058b91a79eb3b74207353739642ba212f0881d2..a3f38a74139a071979b93c2d39a44a161aedc8e2 100644 (file)
 % along with LilyPond.  If not, see <http://www.gnu.org/licenses/>.
 
 
-staffsize# := design_size * pt#;
-
-mode_setup;
-
-input feta-macros;
-
-input feta-params;
+input common-modules-and-initialization;
 
 font_x_height staff_space#;
 
index c9238948e7ddb49834e2d50de04569374aec59e6..209b607354156e340069db03caff962249c0d998 100644 (file)
@@ -1,8 +1,6 @@
 % feta11.mf
 % part of LilyPond's pretty-but-neat music font
 
-input feta-autometric;
-
 design_size := 11.22;
 
 input feta-other-generic;
index 4efb04b496882b6a1e57afe827eb63ea6bfb5a05..1c67814b25a012f49368cf3c5726885b420d3d55 100644 (file)
@@ -1,8 +1,6 @@
 % feta13.mf
 % part of LilyPond's pretty-but-neat music font
 
-input feta-autometric;
-
 design_size := 12.60;
 
 input feta-other-generic;
index 1f9bc5c679c7977e504f775a23bcb7eeddc2b598..21aae5f3a420fa3ba0bc81635216b1ef47af2170 100644 (file)
@@ -1,8 +1,6 @@
 % feta14.mf
 % part of LilyPond's pretty-but-neat music font
 
-input feta-autometric;
-
 design_size := 14.14;
 
 input feta-other-generic;
index e882ad6015edf4cd16a19c5b63984f079d2d9b36..e33c1ff973737032fbcd11f72b06316482a74488 100644 (file)
@@ -1,8 +1,6 @@
 % feta16.mf
 % part of LilyPond's pretty-but-neat music font
 
-input feta-autometric;
-
 design_size := 15.87;
 
 input feta-other-generic;
index 247994adc6ffb131f62665a92082482806e393d7..3b036f8fd8d7652cd3f4605fb19ce9252d69f7d5 100644 (file)
@@ -1,8 +1,6 @@
 % feta18.mf
 % part of LilyPond's pretty-but-neat music font
 
-input feta-autometric;
-
 % todo change file name
 design_size := 17.82;
 
index 2eec430ddb6e382fb64011d05f3a32448bd3e327..55d1440a827183337244dd91b2ccdcde4cb71f11 100644 (file)
@@ -3,9 +3,6 @@
 
 design_size := 20;
 
-input feta-autometric;
-
-
 % use feta-test for debugging.
 input feta-other-generic;
 
index 53221760677030371369fd100fbaabbbd1781e02..344b9a7ce4190958e22419057b1741fc77641c97 100644 (file)
@@ -1,8 +1,6 @@
 % feta23.mf
 % part of LilyPond's pretty-but-neat music font
 
-input feta-autometric;
-
 % todo change file name
 design_size := 22.45;
 
index f3379b2b58605909c30b24260f234ad0a206ccff..7d17b412ca8f79a8e8e757526c8bc387323898a0 100644 (file)
@@ -1,8 +1,6 @@
 % feta26.mf
 % part of LilyPond's pretty-but-neat music font
 
-input feta-autometric;
-
 design_size := 25.20;
 
 input feta-other-generic;
index c2c141b40ad2d11db103959510665fac4f23c788..a104e4ac6bb3ef64870e38e4f352ccf7a91fa8cb 100644 (file)
 % along with LilyPond. If not, see <http://www.gnu.org/licenses/>.
 
 
-staffsize# := design_size * pt#;
-
-mode_setup;
-
-input feta-macros;
-
-input feta-params;
-
+input common-modules-and-initialization;
 input parmesan-macros;
 
 font_x_height staff_space#;
index a3006cdcb79505da387c3cfcc3435e1571bd5e2e..eb9f689cf13e4140c5a5dd5e979a03b80a45ca84 100644 (file)
@@ -1,8 +1,6 @@
 % feta-noteheads11.mf
 % part of LilyPond's pretty-but-neat music font
 
-input feta-autometric;
-
 design_size := 11.22;
 input parmesan-noteheads-generic;
 
index 3b4961a249a6ef8f97b5264421209ec6c951356d..89d58c6164a6392e360bf4b56cebe0f034772347 100644 (file)
@@ -1,8 +1,6 @@
 % feta-noteheads13.mf
 % part of LilyPond's pretty-but-neat music font
 
-input feta-autometric;
-
 design_size := 12.60;
 input parmesan-noteheads-generic;
 
index 46995884088e44eb18f53be7cf07b9b089b473f6..0f8acef281fd05bbe1996a9f296b7aa52ce74365 100644 (file)
@@ -1,8 +1,6 @@
 % feta-noteheads14.mf
 % part of LilyPond's pretty-but-neat music font
 
-input feta-autometric;
-
 design_size := 14.14;
 input parmesan-noteheads-generic;
 
index a398167939579cdb4d2c6750ebd31a8866d30c49..54ac15386185e1fefe322e56265d882f550af9ca 100644 (file)
@@ -1,8 +1,6 @@
 % feta-noteheads16.mf
 % part of LilyPond's pretty-but-neat music font
 
-input feta-autometric;
-
 design_size := 15.87;
 input parmesan-noteheads-generic;
 
index 3e59cd4f8db908f037530d85dba8cd8386556713..fdd5f11535644173fec9631a08a0bd0ab295e7ec 100644 (file)
@@ -1,8 +1,6 @@
 % feta-noteheads18.mf
 % part of LilyPond's pretty-but-neat music font
 
-input feta-autometric;
-
 design_size := 17.82;
 input parmesan-noteheads-generic;
 
index 6dbe9650e9bbfd8c7f975264a9ddca323425a678..90a8bbf118c1994967f83019525e2b0a173a21fa 100644 (file)
@@ -1,8 +1,6 @@
 % feta-noteheads20.mf
 % part of LilyPond's pretty-but-neat music font
 
-input feta-autometric;
-
 design_size := 20;
 input parmesan-noteheads-generic;
 
index 46c58073c7d2076af0f99d2bdaef7b180622283a..9aabc74de935621e69330c942600d872155c8da2 100644 (file)
@@ -1,8 +1,6 @@
 % feta-noteheads23.mf
 % part of LilyPond's pretty-but-neat music font
 
-input feta-autometric;
-
 design_size := 22.45;
 input parmesan-noteheads-generic;
 
index 01618bfc99f44200db28703a09ee1cdf47eb0f0c..c52e853f788e4f7c6fcc30d9ee103394794c51c8 100644 (file)
@@ -1,8 +1,6 @@
 % feta-noteheads26.mf
 % part of LilyPond's pretty-but-neat music font
 
-input feta-autometric;
-
 design_size := 25.20;
 input parmesan-noteheads-generic;
 
index c3e6f85911633f7fab98be99c0ce5e840238bd0a..8352b07ae1f09371031df3e1a137b92aa405affa 100644 (file)
 % along with LilyPond.  If not, see <http://www.gnu.org/licenses/>.
 
 
-mode_setup;
-
-staffsize# := design_size * pt#;
-
-input feta-macros;
-input feta-params;
 
+input common-modules-and-initialization;
 input parmesan-macros;
 
 
index f6c15781be80ccfc90c42eff74c6b0ba67c4eb3b..e5581d64af1bf90d27ba5670371265ef5c4329a6 100644 (file)
@@ -3,8 +3,6 @@
 
 design_size := 11.22;
 
-input feta-autometric;
-
 input parmesan-other-generic;
 
 end.
index 288330694eeba9f928e34b72506483eb11d8d633..ab1ed777c44dc3d2fe96d6276132319a41c71e57 100644 (file)
@@ -3,8 +3,6 @@
 
 design_size := 12.60;
 
-input feta-autometric;
-
 input parmesan-other-generic;
 
 
index 2586d7962e4f3068ecf1881575e80f3cf27cf86a..2484de6f18049453ba15eb76ec0226a9b80b52b1 100644 (file)
@@ -3,8 +3,6 @@
 
 design_size := 14.14;
 
-input feta-autometric;
-
 input parmesan-other-generic;
 
 end.
index 354657643f271eab70ccc305582539d1ba006d48..d45c844be64031ef4b2cd06d91f5dfc3638f5ec1 100644 (file)
@@ -3,8 +3,6 @@
 
 design_size := 15.87;
 
-input feta-autometric;
-
 input parmesan-other-generic;
 
 
index 0360c88104fe1ae28b1f65b4f43adc392a0825e8..039767db141845d56affa223d3211538dfcaa739 100644 (file)
@@ -3,8 +3,6 @@
 
 design_size := 17.82;
 
-input feta-autometric;
-
 input parmesan-other-generic;
 
 
index 6d6b8c5cf77a9a72bd7a798fb4d841e515a6554c..5da29bd9a4729b4c7dbc53ac906cee5b1d489ea9 100644 (file)
@@ -3,8 +3,6 @@
 
 design_size := 20;
 
-input feta-autometric;
-
 input parmesan-other-generic;
 
 
index b56d593819d82caa553baada80d9b9ba5089fda5..c76bb0a7ed2468f212f67f64ef6f94ad27100d1f 100644 (file)
@@ -3,8 +3,6 @@
 
 design_size := 22.45;
 
-input feta-autometric;
-
 input parmesan-other-generic;
 
 
index 0e1fce27e42ee0104b2b2bdf83c494bbff56808e..3a4726c035cb97f06ed84a19813fbeac0ef22b4e 100644 (file)
@@ -3,8 +3,6 @@
 
 design_size := 25.20;
 
-input feta-autometric;
-
 input parmesan-other-generic;