|
Metafont code cleanup
Commits (in reverse chronological order):
font: abstract stuff away, unify, format
* move common elements to separate input files,
* move brace-drawing procedure to separate file,
* rename feta-alphabet to feta-alphabet-generic
to conform to the convention,
* rename feta-generic to feta-other-generic
(because this file is not for the whole font,
but just some glyphs that aren't in their own
subfonts); similarly parmesan-generic,
* remove feta-test-generic.mf and other testing
files that were just polluting the code,
* put testing code in one place,
* remove spurious filename comments,
* unify formatting and indentation.
font: clean up staffline-display in testing mode
Previous testing code was a mix of hideous copy&paste with
non-obvious passing glyph outlines around, which attempted
to produce additional glyphs in testing mode, so that there
would be both on-staffline and on-staffspace variations.
That code was completely unreadable and unmaintainable.
Instead i've introduced a global variable that determines
how the stafflines will be printed relative to the glyphs.
To see alternative configuration, just change that value.
font: rename draw_staff to draw_staff_if_debugging
Previous name was confusing: the stafflines are actually
not drawn unless 'test' is set to non-zero value.
feta accidentals: split into several files
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1473 lines, -2501 lines) |
Patch |
|
A |
mf/common-modules-and-initialization.mf
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
A |
mf/debugging-settings.mf
|
View
|
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
|
A |
mf/declare-autometric-parameters.mf
|
View
|
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
mf/feta-accidentals.mf
|
View
|
|
2 chunks |
+5 lines, -1277 lines |
0 comments
|
Download
|
|
A |
mf/feta-accidentals/arrow.mf
|
View
|
|
1 chunk |
+82 lines, -0 lines |
0 comments
|
Download
|
|
A |
mf/feta-accidentals/flats.mf
|
View
|
|
1 chunk |
+535 lines, -0 lines |
0 comments
|
Download
|
|
A |
mf/feta-accidentals/naturals.mf
|
View
|
|
1 chunk |
+150 lines, -0 lines |
0 comments
|
Download
|
|
A |
mf/feta-accidentals/parenthesis.mf
|
View
|
|
1 chunk |
+44 lines, -0 lines |
0 comments
|
Download
|
|
A |
mf/feta-accidentals/sharps.mf
|
View
|
|
1 chunk |
+354 lines, -0 lines |
0 comments
|
Download
|
|
D |
mf/feta-alphabet.mf
|
View
|
|
1 chunk |
+0 lines, -19 lines |
0 comments
|
Download
|
|
A |
mf/feta-alphabet-generic.mf
|
View
|
|
1 chunk |
+19 lines, -0 lines |
0 comments
|
Download
|
|
M |
mf/feta-alphabet11.mf
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
mf/feta-alphabet13.mf
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
mf/feta-alphabet14.mf
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
mf/feta-alphabet16.mf
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
mf/feta-alphabet18.mf
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
mf/feta-alphabet20.mf
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
mf/feta-alphabet23.mf
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
mf/feta-alphabet26.mf
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
mf/feta-braces.mf
|
View
|
|
2 chunks |
+0 lines, -40 lines |
0 comments
|
Download
|
|
M |
mf/feta-braces-a.mf
|
View
|
|
1 chunk |
+1 line, -18 lines |
0 comments
|
Download
|
|
M |
mf/feta-braces-b.mf
|
View
|
|
1 chunk |
+1 line, -18 lines |
0 comments
|
Download
|
|
M |
mf/feta-braces-c.mf
|
View
|
|
1 chunk |
+1 line, -18 lines |
0 comments
|
Download
|
|
M |
mf/feta-braces-d.mf
|
View
|
|
1 chunk |
+1 line, -18 lines |
0 comments
|
Download
|
|
M |
mf/feta-braces-e.mf
|
View
|
|
1 chunk |
+1 line, -18 lines |
0 comments
|
Download
|
|
M |
mf/feta-braces-f.mf
|
View
|
|
1 chunk |
+1 line, -18 lines |
0 comments
|
Download
|
|
M |
mf/feta-braces-g.mf
|
View
|
|
1 chunk |
+1 line, -18 lines |
0 comments
|
Download
|
|
A |
mf/feta-braces-generic.mf
|
View
|
|
1 chunk |
+47 lines, -0 lines |
0 comments
|
Download
|
|
M |
mf/feta-braces-h.mf
|
View
|
|
1 chunk |
+1 line, -18 lines |
0 comments
|
Download
|
|
M |
mf/feta-braces-i.mf
|
View
|
|
1 chunk |
+1 line, -18 lines |
0 comments
|
Download
|
|
M |
mf/feta-clefs.mf
|
View
|
|
5 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
mf/feta-flags-generic.mf
|
View
|
|
2 chunks |
+3 lines, -30 lines |
0 comments
|
Download
|
|
M |
mf/feta-flags11.mf
|
View
|
|
1 chunk |
+1 line, -9 lines |
0 comments
|
Download
|
|
M |
mf/feta-flags13.mf
|
View
|
|
1 chunk |
+1 line, -9 lines |
0 comments
|
Download
|
|
M |
mf/feta-flags14.mf
|
View
|
|
1 chunk |
+1 line, -9 lines |
0 comments
|
Download
|
|
M |
mf/feta-flags16.mf
|
View
|
|
1 chunk |
+1 line, -9 lines |
0 comments
|
Download
|
|
M |
mf/feta-flags18.mf
|
View
|
|
1 chunk |
+1 line, -9 lines |
0 comments
|
Download
|
|
M |
mf/feta-flags20.mf
|
View
|
|
1 chunk |
+1 line, -9 lines |
0 comments
|
Download
|
|
M |
mf/feta-flags23.mf
|
View
|
|
1 chunk |
+1 line, -9 lines |
0 comments
|
Download
|
|
M |
mf/feta-flags26.mf
|
View
|
|
1 chunk |
+1 line, -9 lines |
0 comments
|
Download
|
|
D |
mf/feta-generic.mf
|
View
|
|
1 chunk |
+0 lines, -60 lines |
0 comments
|
Download
|
|
M |
mf/feta-macros.mf
|
View
|
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
mf/feta-noteheads.mf
|
View
|
|
15 chunks |
+24 lines, -208 lines |
0 comments
|
Download
|
|
M |
mf/feta-noteheads-generic.mf
|
View
|
|
2 chunks |
+3 lines, -30 lines |
0 comments
|
Download
|
|
M |
mf/feta-noteheads11.mf
|
View
|
|
1 chunk |
+1 line, -9 lines |
0 comments
|
Download
|
|
M |
mf/feta-noteheads13.mf
|
View
|
|
1 chunk |
+1 line, -9 lines |
0 comments
|
Download
|
|
M |
mf/feta-noteheads14.mf
|
View
|
|
1 chunk |
+1 line, -9 lines |
0 comments
|
Download
|
|
M |
mf/feta-noteheads16.mf
|
View
|
|
1 chunk |
+1 line, -9 lines |
0 comments
|
Download
|
|
M |
mf/feta-noteheads18.mf
|
View
|
|
1 chunk |
+1 line, -9 lines |
0 comments
|
Download
|
|
M |
mf/feta-noteheads20.mf
|
View
|
|
1 chunk |
+1 line, -9 lines |
0 comments
|
Download
|
|
M |
mf/feta-noteheads23.mf
|
View
|
|
1 chunk |
+1 line, -9 lines |
0 comments
|
Download
|
|
M |
mf/feta-noteheads26.mf
|
View
|
|
1 chunk |
+1 line, -9 lines |
0 comments
|
Download
|
|
A |
mf/feta-other-generic.mf
|
View
|
|
1 chunk |
+29 lines, -0 lines |
0 comments
|
Download
|
|
M |
mf/feta-rests.mf
|
View
|
|
14 chunks |
+11 lines, -17 lines |
0 comments
|
Download
|
|
M |
mf/feta-scripts.mf
|
View
|
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
|
D |
mf/feta-test-generic.mf
|
View
|
|
1 chunk |
+0 lines, -17 lines |
0 comments
|
Download
|
|
D |
mf/feta-test11.mf
|
View
|
|
1 chunk |
+0 lines, -15 lines |
0 comments
|
Download
|
|
D |
mf/feta-test13.mf
|
View
|
|
1 chunk |
+0 lines, -16 lines |
0 comments
|
Download
|
|
D |
mf/feta-test16.mf
|
View
|
|
1 chunk |
+0 lines, -16 lines |
0 comments
|
Download
|
|
D |
mf/feta-test20.mf
|
View
|
|
1 chunk |
+0 lines, -16 lines |
0 comments
|
Download
|
|
D |
mf/feta-test23.mf
|
View
|
|
1 chunk |
+0 lines, -16 lines |
0 comments
|
Download
|
|
D |
mf/feta-test26.mf
|
View
|
|
1 chunk |
+0 lines, -15 lines |
0 comments
|
Download
|
|
M |
mf/feta-timesignatures.mf
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
mf/feta11.mf
|
View
|
|
1 chunk |
+2 lines, -10 lines |
0 comments
|
Download
|
|
M |
mf/feta13.mf
|
View
|
|
1 chunk |
+2 lines, -10 lines |
0 comments
|
Download
|
|
M |
mf/feta14.mf
|
View
|
|
1 chunk |
+2 lines, -11 lines |
0 comments
|
Download
|
|
M |
mf/feta16.mf
|
View
|
|
1 chunk |
+2 lines, -10 lines |
0 comments
|
Download
|
|
M |
mf/feta18.mf
|
View
|
|
1 chunk |
+2 lines, -11 lines |
0 comments
|
Download
|
|
M |
mf/feta20.mf
|
View
|
|
1 chunk |
+2 lines, -11 lines |
0 comments
|
Download
|
|
M |
mf/feta23.mf
|
View
|
|
1 chunk |
+2 lines, -12 lines |
0 comments
|
Download
|
|
M |
mf/feta26.mf
|
View
|
|
1 chunk |
+2 lines, -12 lines |
0 comments
|
Download
|
|
M |
mf/parmesan-clefs.mf
|
View
|
|
19 chunks |
+19 lines, -57 lines |
0 comments
|
Download
|
|
D |
mf/parmesan-generic.mf
|
View
|
|
1 chunk |
+0 lines, -50 lines |
0 comments
|
Download
|
|
M |
mf/parmesan-noteheads-generic.mf
|
View
|
|
2 chunks |
+1 line, -21 lines |
0 comments
|
Download
|
|
M |
mf/parmesan-noteheads11.mf
|
View
|
|
1 chunk |
+1 line, -9 lines |
0 comments
|
Download
|
|
M |
mf/parmesan-noteheads13.mf
|
View
|
|
1 chunk |
+1 line, -9 lines |
0 comments
|
Download
|
|
M |
mf/parmesan-noteheads14.mf
|
View
|
|
1 chunk |
+1 line, -9 lines |
0 comments
|
Download
|
|
M |
mf/parmesan-noteheads16.mf
|
View
|
|
1 chunk |
+1 line, -9 lines |
0 comments
|
Download
|
|
M |
mf/parmesan-noteheads18.mf
|
View
|
|
1 chunk |
+1 line, -9 lines |
0 comments
|
Download
|
|
M |
mf/parmesan-noteheads20.mf
|
View
|
|
1 chunk |
+1 line, -9 lines |
0 comments
|
Download
|
|
M |
mf/parmesan-noteheads23.mf
|
View
|
|
1 chunk |
+1 line, -9 lines |
0 comments
|
Download
|
|
M |
mf/parmesan-noteheads26.mf
|
View
|
|
1 chunk |
+1 line, -9 lines |
0 comments
|
Download
|
|
A |
mf/parmesan-other-generic.mf
|
View
|
|
1 chunk |
+25 lines, -0 lines |
0 comments
|
Download
|
|
M |
mf/parmesan11.mf
|
View
|
|
1 chunk |
+2 lines, -10 lines |
0 comments
|
Download
|
|
M |
mf/parmesan13.mf
|
View
|
|
1 chunk |
+2 lines, -11 lines |
0 comments
|
Download
|
|
M |
mf/parmesan14.mf
|
View
|
|
1 chunk |
+2 lines, -11 lines |
0 comments
|
Download
|
|
M |
mf/parmesan16.mf
|
View
|
|
1 chunk |
+2 lines, -11 lines |
0 comments
|
Download
|
|
M |
mf/parmesan18.mf
|
View
|
|
1 chunk |
+2 lines, -11 lines |
0 comments
|
Download
|
|
M |
mf/parmesan20.mf
|
View
|
|
1 chunk |
+2 lines, -11 lines |
0 comments
|
Download
|
|
M |
mf/parmesan23.mf
|
View
|
|
1 chunk |
+2 lines, -11 lines |
0 comments
|
Download
|
|
M |
mf/parmesan26.mf
|
View
|
|
1 chunk |
+2 lines, -11 lines |
0 comments
|
Download
|
Total messages: 9
|