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--2012 Juergen Reuter <reuter@ipd.uka.de>
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.
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.
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/>.
20 fet_begingroup ("dots");
24 3 dot_diam# = staff_space# - stafflinethickness#;
25 define_whole_blacker_pixels (dot_diam);
27 fet_beginchar ("duration dot", "dotvaticana");
28 pickup pencircle scaled dot_diam;
31 top y0 = vround (.5 dot_diam);
35 set_char_box (0, dot_diam#, .5 dot_diam#, .5 dot_diam#);
41 %%% Code for Kievan Music Notation
47 kievan_dot_diam# := staff_space# - stafflinethickness#;
48 define_whole_pixels (kievan_dot_diam);
51 fet_beginchar ("Kievan augmentation dot", "dotkievan");
52 % parameters for superellipse are right, top, left, bottom
53 fill superellipse ((kievan_dot_diam, 0),
54 (kievan_dot_diam / 2, kievan_dot_diam / 2),
56 (kievan_dot_diam / 2, -kievan_dot_diam / 2),
59 set_char_box (0, kievan_dot_diam#,
60 0.5 kievan_dot_diam#, 0.5 kievan_dot_diam#);
63 fet_endgroup ("dots");