2006-01-22 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ * lily/ttf.cc (LY_DEFINE): store name before destroying face.
+
* mf/GNUmakefile: idem.
* buildscripts/mf-to-table.py (help): excise fetaXXlist.ly support.
}
FT_Done_Face (face);
-
if (be_verbose_global)
progress_indication ("]");
return retval;
FT_Face face = open_ft_face (file_name);
char const *ps_name_str0 = FT_Get_Postscript_Name (face);
+ SCM ps_name = scm_makfrom0str (ps_name_str0 ? ps_name_str0 : "");
FT_Done_Face (face);
if (be_verbose_global)
progress_indication ("]");
-
- return scm_makfrom0str (ps_name_str0 ? ps_name_str0 : "");
+
+ return ps_name;
}