Index: include/freetype/freetype.h =================================================================== RCS file: /cvs/freetype/freetype2/include/freetype/freetype.h,v retrieving revision 1.61 diff -u -r1.61 freetype.h --- freetype.h 2001/06/28 17:48:38 1.61 +++ freetype.h 2001/08/06 19:34:13 @@ -121,6 +121,7 @@ /* FT_Set_Transform */ /* FT_Load_Glyph */ /* FT_Get_Char_Index */ + /* FT_Get_Name_Index */ /* FT_Load_Char */ /* */ /* FT_LOAD_DEFAULT */ @@ -2354,6 +2355,29 @@ FT_EXPORT( FT_UInt ) FT_Get_Char_Index( FT_Face face, FT_ULong charcode ); + + + /*************************************************************************/ + /* */ + /* */ + /* FT_Get_Name_Index */ + /* */ + /* */ + /* Returns the glyph index of a given glyph name. This function uses */ + /* driver specific objects to do the translation. */ + /* */ + /* */ + /* face :: A handle to the source face object. */ + /* */ + /* glyph_name :: The glyph name. */ + /* */ + /* */ + /* The glyph index. 0 means `undefined character code'. */ + /* */ + FT_EXPORT( FT_UInt ) + FT_Get_Name_Index( FT_Face face, + FT_String* glyph_name); + /*************************************************************************/