zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
afglobal.c File Reference
#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.

Macros

#define AF_DIGIT   0x80
 
#define AF_SCRIPT_LIST_DEFAULT   2
 
#define AF_SCRIPT_LIST_NONE   0x7F
 

Typedefs

typedef struct AF_FaceGlobalsRec_ AF_FaceGlobalsRec
 

Functions

static FT_Error af_face_globals_compute_script_coverage (AF_FaceGlobals globals)
 
 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)
 
 af_face_globals_new (FT_Face face, AF_FaceGlobals *aglobals)
 

Variables

static AF_ScriptClass const af_script_classes []
 

Macro Definition Documentation

#define AF_DIGIT   0x80

Definition at line 57 of file afglobal.c.

Referenced by af_face_globals_compute_script_coverage(), and af_face_globals_is_digit().

#define AF_SCRIPT_LIST_DEFAULT   2

Definition at line 53 of file afglobal.c.

Referenced by af_face_globals_compute_script_coverage().

#define AF_SCRIPT_LIST_NONE   0x7F

Typedef Documentation

typedef struct AF_FaceGlobalsRec_ AF_FaceGlobalsRec

Function Documentation

af_face_globals_free ( AF_FaceGlobals  globals)

Definition at line 211 of file afglobal.c.

References AF_SCRIPT_CLASSES_GET, AF_SCRIPT_MAX, FT_ASSERT, FT_FREE, 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 
)
af_face_globals_is_digit ( AF_FaceGlobals  globals,
FT_UInt  gindex 
)

Definition at line 309 of file afglobal.c.

References AF_DIGIT, and FT_Bool.

Referenced by af_loader_load_g().

af_face_globals_new ( FT_Face  face,
AF_FaceGlobals aglobals 
)

Variable Documentation

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,
}
#define NULL
Definition: ftobjs.h:61

Definition at line 38 of file afglobal.c.