X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fpango-select.cc;h=29686d44ddce44a8799fa59365870bd34723e3bd;hb=3a5ba68c4200ce392683436b36e2e4ee493b78c3;hp=ed4b7579d4da6fc21f2c4a413ab7d55867d0d65e;hpb=16cb456cabf477f6d398ff731aa0f10b60913394;p=lilypond.git diff --git a/lily/pango-select.cc b/lily/pango-select.cc index ed4b7579d4..29686d44dd 100644 --- a/lily/pango-select.cc +++ b/lily/pango-select.cc @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 2004--2007 Han-Wen Nienhuys + (c) 2004--2009 Han-Wen Nienhuys */ #include "dimensions.hh" @@ -58,7 +58,8 @@ select_pango_font (Output_def *layout, SCM chain) char *str = pango_font_description_to_string (pfd); SCM scm_str = scm_from_locale_string (str); g_free (str); - + pango_font_description_free (pfd); + return find_pango_font (layout, scm_str, 1.0); }