Added documentation and prototype for new function FT_Get_Name_Index.

This commit is contained in:
Tom Kacvinsky 2001-08-08 11:08:58 +00:00
parent d2a996c482
commit 3c6e026a4e
1 changed files with 24 additions and 0 deletions

View File

@ -121,6 +121,7 @@ FT_BEGIN_HEADER
/* FT_Set_Transform */ /* FT_Set_Transform */
/* FT_Load_Glyph */ /* FT_Load_Glyph */
/* FT_Get_Char_Index */ /* FT_Get_Char_Index */
/* FT_Get_Name_Index */
/* FT_Load_Char */ /* FT_Load_Char */
/* */ /* */
/* FT_LOAD_DEFAULT */ /* FT_LOAD_DEFAULT */
@ -2356,6 +2357,29 @@ FT_BEGIN_HEADER
FT_ULong charcode ); FT_ULong charcode );
/*************************************************************************/
/* */
/* <Function> */
/* FT_Get_Name_Index */
/* */
/* <Description> */
/* Returns the glyph index of a given glyph name. This function uses */
/* driver specific objects to do the translation. */
/* */
/* <Input> */
/* face :: A handle to the source face object. */
/* */
/* glyph_name :: The glyph name. */
/* */
/* <Return> */
/* The glyph index. 0 means `undefined character code'. */
/* */
FT_EXPORT( FT_UInt )
FT_Get_Name_Index( FT_Face face,
FT_String* glyph_name);
/*************************************************************************/ /*************************************************************************/
/* */ /* */
/* <Section> */ /* <Section> */