This commit enables fontname replacing for CFF (OTF/OTC) fonts.
{
/* handle to face object */
FT_Face face_;
{
/* handle to face object */
FT_Face face_;
+ string postscript_name_;
SCM lily_subfonts_;
SCM lily_character_table_;
SCM lily_subfonts_;
SCM lily_character_table_;
index_to_charcode_map_ = make_index_to_charcode_map (face_);
lily_index_to_bbox_table_ = scm_c_make_hash_table (257);
index_to_charcode_map_ = make_index_to_charcode_map (face_);
lily_index_to_bbox_table_ = scm_c_make_hash_table (257);
+
+ postscript_name_ = get_postscript_name (face_);
string
Open_type_font::font_name () const
{
string
Open_type_font::font_name () const
{
- return FT_Get_Postscript_Name (face_);
+ return postscript_name_;