X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=lily%2Finclude%2Fall-font-metrics.hh;h=5f275853865c8f04b08cc608fb9cc3e460fa5f49;hb=3a991b6913837bac6d0ea429b583295b9263e049;hp=34a05e701f21cb1a5ae16b276ceaa8122b0ab729;hpb=04974e9ea76a647fb5ded11d048017ad2e469157;p=lilypond.git diff --git a/lily/include/all-font-metrics.hh b/lily/include/all-font-metrics.hh index 34a05e701f..5f27585386 100644 --- a/lily/include/all-font-metrics.hh +++ b/lily/include/all-font-metrics.hh @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 1998--2006 Han-Wen Nienhuys + (c) 1998--2007 Han-Wen Nienhuys */ #ifndef ALL_FONTS_HH @@ -20,7 +20,8 @@ /* - Interface to all .afm files living in the filesystem. + Interface to all fonts (both system fonts and fonts loaded + via Pango). */ class All_font_metrics { @@ -43,11 +44,8 @@ public: All_font_metrics (string search_path); ~All_font_metrics (); -#if HAVE_PANGO_FT2 - Pango_font *find_pango_font (PangoFontDescription *description, - Real magnification, + Pango_font *find_pango_font (PangoFontDescription const *description, Real scale); -#endif Font_metric *find_font (string name); Open_type_font *find_otf (string name); @@ -58,4 +56,3 @@ extern All_font_metrics *all_fonts_global; SCM ly_reset_all_fonts (); #endif /* ALL_FONTS_HH */ -