forked from minhngoc25a/freetype2
In function CFF_Init_Face(), logical or the face flags with
FT_FACE_FLAG_GLYPH_NAMES only if FT_CONFIG_OPTION_NO_GLYPH_NAMES is not defined. This is to add support for getting a glyph name from a glyph index vi FT_Get_Glyph_Name().
This commit is contained in:
parent
941099e1e5
commit
8e555b9731
|
@ -427,6 +427,10 @@
|
|||
flags |= FT_FACE_FLAG_KERNING;
|
||||
#endif
|
||||
|
||||
#ifndef FT_CONFIG_OPTION_NO_GLYPH_NAMES
|
||||
flags |= FT_FACE_FLAG_GLYPH_NAMES;
|
||||
#endif
|
||||
|
||||
root->face_flags = flags;
|
||||
|
||||
/*******************************************************************/
|
||||
|
|
Loading…
Reference in New Issue