From d6ab72316bd0def11789235c90db04ca57954333 Mon Sep 17 00:00:00 2001 From: Tom Kacvinsky Date: Wed, 8 Aug 2001 11:08:58 +0000 Subject: [PATCH] Added documentation and prototype for new function FT_Get_Name_Index. --- include/freetype/freetype.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/include/freetype/freetype.h b/include/freetype/freetype.h index 0fafb295e..3c65a98f5 100644 --- a/include/freetype/freetype.h +++ b/include/freetype/freetype.h @@ -121,6 +121,7 @@ FT_BEGIN_HEADER /* FT_Set_Transform */ /* FT_Load_Glyph */ /* FT_Get_Char_Index */ + /* FT_Get_Name_Index */ /* FT_Load_Char */ /* */ /* FT_LOAD_DEFAULT */ @@ -2356,6 +2357,29 @@ FT_BEGIN_HEADER 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); + + + /*************************************************************************/ /* */ /*
*/