]> git.donarmstrong.com Git - lilypond.git/blob - mf/feta-generic.mf
Merge remote-tracking branch 'origin/translation' into master
[lilypond.git] / mf / feta-generic.mf
1 % Feta (not the Font-En-Tja) music font --  generic stuff: include lots of files, but don't
2 % This file is part of LilyPond, the GNU music typesetter.
3 %
4 % Copyright (C) 1997--2012 Han-Wen Nienhuys <hanwen@xs4all.nl>
5 %
6 %
7 % LilyPond is free software: you can redistribute it and/or modify
8 % it under the terms of the GNU General Public License as published by
9 % the Free Software Foundation, either version 3 of the License, or
10 % (at your option) any later version.
11 %
12 % LilyPond is distributed in the hope that it will be useful,
13 % but WITHOUT ANY WARRANTY; without even the implied warranty of
14 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 % GNU General Public License for more details.
16 %
17 % You should have received a copy of the GNU General Public License
18 % along with LilyPond.  If not, see <http://www.gnu.org/licenses/>.
19
20
21 if test = -1:
22         mode := smoke;
23 fi
24
25 staffsize# := design_size * pt#;
26
27 mode_setup;
28
29 input feta-macros;
30
31 input feta-params;
32
33 font_x_height staff_space#;
34
35 fet_beginfont ("feta", design_size, "fetaMusic");
36
37 if test = 0:
38         input feta-rests;
39         input feta-accidentals;
40         input feta-arrowheads;
41         input feta-dots;
42         input feta-scripts;
43         input feta-clefs;
44         input feta-timesignatures;
45         input feta-pedals;
46         input feta-brackettips;
47         input feta-accordion;
48         input feta-ties;
49 else:
50         input feta-test-generic.mf;
51 fi
52
53 autometric_parameter ("staffsize", staffsize#);
54 autometric_parameter ("stafflinethickness", stafflinethickness#);
55 autometric_parameter ("staff_space", staff_space#);
56 autometric_parameter ("linethickness", linethickness#);
57 autometric_parameter ("black_notehead_width", black_notehead_width#);
58 autometric_parameter ("ledgerlinethickness", ledgerlinethickness#);
59 autometric_parameter ("blot_diameter", blot_diameter#);
60
61 fet_endfont;