#include "afglobal.h"#include "afdummy.h"#include "aflatin.h"#include "afcjk.h"#include "afindic.h"#include "afpic.h"#include "aferrors.h"Go to the source code of this file.
Classes | |
| struct | AF_FaceGlobalsRec_ |
Defines | |
| #define | AF_SCRIPT_LIST_DEFAULT 2 |
| #define | AF_SCRIPT_LIST_NONE 0x7F |
| #define | AF_DIGIT 0x80 |
Typedefs | |
| typedef AF_FaceGlobalsRec_ | AF_FaceGlobalsRec |
Functions | |
| static FT_Error | af_face_globals_compute_script_coverage (AF_FaceGlobals globals) |
| af_face_globals_new (FT_Face face, AF_FaceGlobals *aglobals) | |
| af_face_globals_free (AF_FaceGlobals globals) | |
| af_face_globals_get_metrics (AF_FaceGlobals globals, FT_UInt gindex, FT_UInt options, AF_ScriptMetrics *ametrics) | |
| af_face_globals_is_digit (AF_FaceGlobals globals, FT_UInt gindex) | |
Variables | |
| static AF_ScriptClass const | af_script_classes [] |
| #define AF_DIGIT 0x80 |
| #define AF_SCRIPT_LIST_DEFAULT 2 |
Definition at line 53 of file afglobal.c.
| #define AF_SCRIPT_LIST_NONE 0x7F |
Definition at line 55 of file afglobal.c.
Referenced by af_face_globals_compute_script_coverage(), and af_face_globals_get_metrics().
| typedef struct AF_FaceGlobalsRec_ AF_FaceGlobalsRec |
| static FT_Error af_face_globals_compute_script_coverage | ( | AF_FaceGlobals | globals | ) | [static] |
Definition at line 79 of file afglobal.c.
References AF_SCRIPT_CLASSES_GET, AF_SCRIPT_LIST_NONE, error, for(), FT_ENCODING_UNICODE, FT_Get_Char_Index(), FT_Get_Next_Char(), FT_MEM_SET, FT_Select_Charmap(), i, if(), and NULL.
Referenced by af_face_globals_new().
| af_face_globals_free | ( | AF_FaceGlobals | globals | ) |
Definition at line 212 of file afglobal.c.
References AF_SCRIPT_CLASSES_GET, AF_SCRIPT_MAX, FT_ASSERT, FT_FREE, if(), and NULL.
Referenced by af_face_globals_new(), and af_loader_reset().
| af_face_globals_get_metrics | ( | AF_FaceGlobals | globals, | |
| FT_UInt | gindex, | |||
| FT_UInt | options, | |||
| AF_ScriptMetrics * | ametrics | |||
| ) |
Definition at line 246 of file afglobal.c.
References AF_SCRIPT_CLASSES_GET, AF_SCRIPT_LIST_NONE, error, FT_ALLOC, FT_FREE, metrics(), and NULL.
Referenced by af_loader_load_glyph().
| af_face_globals_is_digit | ( | AF_FaceGlobals | globals, | |
| FT_UInt | gindex | |||
| ) |
| af_face_globals_new | ( | FT_Face | face, | |
| AF_FaceGlobals * | aglobals | |||
| ) |
Definition at line 181 of file afglobal.c.
References af_face_globals_compute_script_coverage(), af_face_globals_free(), error, AF_FaceGlobalsRec_::face, FT_ALLOC, NULL, FT_FaceRec_::num_glyphs, and sizeof().
Referenced by af_loader_reset().
AF_ScriptClass const af_script_classes[] [static] |
Initial value:
{
&af_dummy_script_class,
&af_latin_script_class,
&af_cjk_script_class,
&af_indic_script_class,
NULL
}
Definition at line 38 of file afglobal.c.
1.5.1