};
string get_otf_table (FT_Face face, string tag);
-FT_Face open_ft_face (string str, FT_Long idx = 0);
+FT_Face open_ft_face (string str, FT_Long idx);
#endif /* OPEN_TYPE_FONT_HH */
SCM
Open_type_font::make_otf (string str)
{
- FT_Face face = open_ft_face (str);
+ FT_Face face = open_ft_face (str, 0 /* index */);
Open_type_font *otf = new Open_type_font (face);
return otf->self_scm ();
if (be_verbose_global)
progress_indication ("[" + file_name);
- FT_Face face = open_ft_face (file_name);
+ FT_Face face = open_ft_face (file_name, 0 /* index */);
string table = get_otf_table (face, "CFF ");
SCM asscm = scm_from_locale_stringn ((char *) table.data (),