1 % Feta (not the Font-En-Tja) music font -- dot vaticana
2 % This file is part of LilyPond, the GNU music typesetter.
4 % Copyright (C) 2006--2014 Juergen Reuter <reuter@ipd.uka.de>
6 % The LilyPond font is free software: you can redistribute it and/or modify
7 % it under the terms of the GNU General Public License as published by
8 % the Free Software Foundation, either version 3 of the License, or
9 % (at your option) any later version, or under the SIL Open Font License.
11 % LilyPond is distributed in the hope that it will be useful,
12 % but WITHOUT ANY WARRANTY; without even the implied warranty of
13 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 % GNU General Public License for more details.
16 % You should have received a copy of the GNU General Public License
17 % along with LilyPond. If not, see <http://www.gnu.org/licenses/>.
19 fet_begingroup ("dots");
23 3 dot_diam# = staff_space# - stafflinethickness#;
24 define_whole_blacker_pixels (dot_diam);
26 fet_beginchar ("duration dot", "dotvaticana");
27 pickup pencircle scaled dot_diam;
30 top y0 = vround (.5 dot_diam);
34 set_char_box (0, dot_diam#, .5 dot_diam#, .5 dot_diam#);
40 %%% Code for Kievan Music Notation
46 kievan_dot_diam# := staff_space# - stafflinethickness#;
47 define_whole_pixels (kievan_dot_diam);
50 fet_beginchar ("Kievan augmentation dot", "dotkievan");
51 % parameters for superellipse are right, top, left, bottom
52 fill superellipse ((kievan_dot_diam, 0),
53 (kievan_dot_diam / 2, kievan_dot_diam / 2),
55 (kievan_dot_diam / 2, -kievan_dot_diam / 2),
58 set_char_box (0, kievan_dot_diam#,
59 0.5 kievan_dot_diam#, 0.5 kievan_dot_diam#);
62 fet_endgroup ("dots");