X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fpango-select.cc;h=4637fa26b692eeb5a7c366e71367990bb28b8475;hb=750a3ffcf9186636a0477358620bec74d12a7212;hp=ed4b7579d4da6fc21f2c4a413ab7d55867d0d65e;hpb=87eedcd59f4082cb0841528ad5bc82cb1d1191e3;p=lilypond.git diff --git a/lily/pango-select.cc b/lily/pango-select.cc index ed4b7579d4..4637fa26b6 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--2008 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); }