#include <ft2build.h>
#include <FT_TRUETYPE_TABLES_H>
#include <FT_TRUETYPE_TAGS_H>
#include <FT_GX_VALIDATE_H>
#include <FT_INTERNAL_OBJECTS_H>
#include <FT_SERVICE_GX_VALIDATE_H>
#include "gxvmod.h"
#include "gxvalid.h"
#include "gxvcommn.h"
Go to the source code of this file.
#define FT_COMPONENT trace_gxvmodule |
#define GXV_TABLE_DECL |
( |
|
_sfnt | ) |
|
#define GXV_TABLE_LOAD |
( |
|
_sfnt | ) |
|
Value:if ( ( FT_VALIDATE_ ## _sfnt ## _INDEX < table_count ) && \
( gx_flags & FT_VALIDATE_ ## _sfnt ) ) \
&_sfnt, &len_ ## _sfnt );
\
goto Exit; \
}
static FT_Error gxv_load_table(FT_Face face, FT_Tag tag, FT_Byte *volatile *table, FT_ULong *table_len)
Definition at line 80 of file gxvmod.c.
Referenced by gxv_validate().
#define GXV_TABLE_SET |
( |
|
_sfnt | ) |
|
Value:if ( FT_VALIDATE_ ## _sfnt ## _INDEX < table_count ) \
tables[FT_VALIDATE_ ## _sfnt ## _INDEX] = (
FT_Bytes)_sfnt
Definition at line 102 of file gxvmod.c.
Referenced by gxv_validate().
#define GXV_TABLE_VALIDATE |
( |
|
_sfnt | ) |
|
Value:if ( _sfnt ) \
gxv_ ## _sfnt ## _validate( _sfnt,
face, &valid );
\
goto Exit; \
}
ft_validator_init(FT_Validator valid, const FT_Byte *base, const FT_Byte *limit, FT_ValidationLevel level)
Definition at line 90 of file gxvmod.c.
Referenced by gxv_validate().
Definition at line 191 of file gxvmod.c.
References FT_ValidatorRec_::error, error, FT_FACE_MEMORY, FT_FREE, ft_setjmp, FT_VALIDATE_CKERN, FT_VALIDATE_DEFAULT, ft_validator_init(), gxv_kern_validate_classic(), gxv_load_table(), FT_ValidatorRec_::jump_buffer, NULL, and TTAG_kern.
const FT_Service_CKERNvalidateRec ckernvalid_interface |
|
static |
Initial value:=
{
}
static FT_Error classic_kern_validate(FT_Face face, FT_UInt ckern_flags, FT_Bytes *ckern_table)
Definition at line 243 of file gxvmod.c.
Initial value:=
{
0,
"gxvalid",
0x10000L,
0x20000L,
0,
}
static FT_Pointer gxvalid_get_service(FT_Module module, const char *service_id)
FT_Module_Interface(* FT_Module_Requester)(FT_Module module, const char *name)
struct FT_ModuleRec_ FT_ModuleRec
void(* FT_Module_Destructor)(FT_Module module)
FT_Error(* FT_Module_Constructor)(FT_Module module)
Definition at line 269 of file gxvmod.c.
const FT_Service_GXvalidateRec gxvalid_interface |
|
static |
Initial value:=
{
}
static FT_Error gxv_validate(FT_Face face, FT_UInt gx_flags, FT_Bytes tables[FT_VALIDATE_GX_LENGTH], FT_UInt table_count)
Definition at line 236 of file gxvmod.c.
Initial value:=
{
}
static const FT_Service_CKERNvalidateRec ckernvalid_interface
#define FT_SERVICE_ID_CLASSICKERN_VALIDATE
#define FT_SERVICE_ID_GX_VALIDATE
static const FT_Service_GXvalidateRec gxvalid_interface
Definition at line 250 of file gxvmod.c.