X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fopen-type-font.cc;h=b8f65b45cca2b543c22d409f52012d9424ac19fb;hb=dcbb0d114e3107090cc807965cec582eee1d7375;hp=2e72d57af35ada1833d95f5c60807358b9ef606c;hpb=93e65fdd05c82e674d188e0388332d3f950a0b33;p=lilypond.git diff --git a/lily/open-type-font.cc b/lily/open-type-font.cc index 2e72d57af3..b8f65b45cc 100644 --- a/lily/open-type-font.cc +++ b/lily/open-type-font.cc @@ -174,7 +174,7 @@ Open_type_font::get_indexed_char (size_t signed_idx) const char name[len]; size_t code = FT_Get_Glyph_Name (face_, signed_idx, name, len); if (code) - warning (_f ("FT_Get_Glyph_Name() Freetype error: %s", + warning (_f ("FT_Get_Glyph_Name () Freetype error: %s", freetype_error_string (code))); SCM sym = ly_symbol2scm (name); @@ -299,7 +299,7 @@ Open_type_font::glyph_list () const char name[len]; size_t code = FT_Get_Glyph_Name (face_, i, name, len); if (code) - warning (_f ("FT_Get_Glyph_Name() error: %s", + warning (_f ("FT_Get_Glyph_Name () error: %s", freetype_error_string (code).c_str ())); *tail = scm_cons (scm_from_locale_string (name), SCM_EOL);