X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Ffont-interface.hh;h=8d4df894d782de4ace10c29288e9d9bc7c71b3eb;hb=32a34dcef0c0041c6d62677487a380b5c8b85712;hp=1ebee16316073eff383a97914d674d87ad00cb7c;hpb=c242304638b8cb73b702b29bc37cfca15d0eb397;p=lilypond.git diff --git a/lily/include/font-interface.hh b/lily/include/font-interface.hh index 1ebee16316..8d4df894d7 100644 --- a/lily/include/font-interface.hh +++ b/lily/include/font-interface.hh @@ -1,27 +1,34 @@ -/* - font-interface.hh -- declare Font_interface - - source file of the GNU LilyPond music typesetter - - (c) 2000--2003 Han-Wen Nienhuys - - */ +/* + This file is part of LilyPond, the GNU music typesetter. + + Copyright (C) 2000--2012 Han-Wen Nienhuys + + LilyPond is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + LilyPond is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with LilyPond. If not, see . +*/ #ifndef FONT_INTERFACE_HH #define FONT_INTERFACE_HH -#include "lily-proto.hh" #include "font-metric.hh" +#include "grob-interface.hh" struct Font_interface { - static SCM font_alist_chain (Grob*); - static Font_metric * get_font (Paper_def*, SCM alist_chain); - static Font_metric * get_default_font (Grob*); - static bool wild_compare (SCM field_val, SCM val); - DECLARE_SCHEME_CALLBACK (properties_to_font_name, (SCM,SCM)); - DECLARE_SCHEME_CALLBACK (get_property_alist_chain, (SCM)); - static bool has_interface (Grob*); + static SCM text_font_alist_chain (Grob *); + static SCM music_font_alist_chain (Grob *); + static Font_metric *get_default_font (Grob *); + DECLARE_GROB_INTERFACE (); }; #endif /* FONT_INTERFACE_HH */