X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fpango-select.cc;h=4637fa26b692eeb5a7c366e71367990bb28b8475;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=5d032f252bcaecbd5ea890d5485e470968e45855;hpb=711cf44d0ab28f3159230c84d63c0b19199408b0;p=lilypond.git diff --git a/lily/pango-select.cc b/lily/pango-select.cc index 5d032f252b..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--2006 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); }