#include <ft2build.h>
Go to the source code of this file.
Defines | |
#define | LOAD_ADVANCE_FAST_CHECK(flags) |
Functions | |
static FT_Error | _ft_face_scale_advances (FT_Face face, FT_Fixed *advances, FT_UInt count, FT_Int32 flags) |
FT_Get_Advance (FT_Face face, FT_UInt gindex, FT_Int32 flags, FT_Fixed *padvance) | |
FT_Get_Advances (FT_Face face, FT_UInt start, FT_UInt count, FT_Int32 flags, FT_Fixed *padvances) |
#define LOAD_ADVANCE_FAST_CHECK | ( | flags | ) |
Value:
( flags & ( FT_LOAD_NO_SCALE | FT_LOAD_NO_HINTING ) || \ FT_LOAD_TARGET_MODE( flags ) == FT_RENDER_MODE_LIGHT )
Definition at line 62 of file ftadvanc.c.
Referenced by FT_Get_Advance(), and FT_Get_Advances().
static FT_Error _ft_face_scale_advances | ( | FT_Face | face, | |
FT_Fixed * | advances, | |||
FT_UInt | count, | |||
FT_Int32 | flags | |||
) | [static] |
Definition at line 25 of file ftadvanc.c.
References FT_LOAD_NO_SCALE, FT_LOAD_VERTICAL_LAYOUT, FT_MulDiv(), and NULL.
Referenced by FT_Get_Advance(), and FT_Get_Advances().
Definition at line 70 of file ftadvanc.c.
References _ft_face_scale_advances(), error, FT_ERROR_BASE, FT_Get_Advances(), func(), and LOAD_ADVANCE_FAST_CHECK.
Referenced by af_latin2_metrics_check_digits(), and af_latin_metrics_check_digits().
FT_Get_Advances | ( | FT_Face | face, | |
FT_UInt | start, | |||
FT_UInt | count, | |||
FT_Int32 | flags, | |||
FT_Fixed * | padvances | |||
) |
Definition at line 105 of file ftadvanc.c.
References _ft_face_scale_advances(), error, FT_ADVANCE_FLAG_FAST_ONLY, FT_ERROR_BASE, FT_LOAD_ADVANCE_ONLY, FT_Load_Glyph(), FT_LOAD_VERTICAL_LAYOUT, func(), if(), LOAD_ADVANCE_FAST_CHECK, and num.
Referenced by FT_Get_Advance().