X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fpango-font.cc;fp=lily%2Fpango-font.cc;h=10cca5bfaf7734cec57c6f039043ee4f853a6f8f;hb=1f3a3c18f8914a996be5af986d8c6f7e022d4ea3;hp=f91eafb9844743dd1a6ae89904e5c48ebb0f81b8;hpb=209910ea2fdac61374a41537456f16eb1df25a21;p=lilypond.git diff --git a/lily/pango-font.cc b/lily/pango-font.cc index f91eafb984..10cca5bfaf 100644 --- a/lily/pango-font.cc +++ b/lily/pango-font.cc @@ -163,7 +163,9 @@ Pango_font::pango_item_string_stencil (PangoItem const *item, string str, { int errorcode = FT_Get_Glyph_Name (ftface, pg, glyph_name, GLYPH_NAME_LEN); if (errorcode) - programming_error ("FT_Get_Glyph_Name returns error"); + programming_error (_f ("FT_Get_Glyph_Name() error: %s", + freetype_error_string (errorcode).c_str() + )); } SCM char_id = SCM_EOL;