otvmod.c File Reference

#include <ft2build.h>
#include "otvmod.h"
#include "otvalid.h"
#include "otvcommn.h"

Go to the source code of this file.

Defines

#define FT_COMPONENT   trace_otvmodule

Functions

static FT_Error otv_load_table (FT_Face face, FT_Tag tag, FT_Byte *volatile *table, FT_ULong *table_len)
static FT_Error otv_validate (FT_Face volatile face, FT_UInt ot_flags, FT_Bytes *ot_base, FT_Bytes *ot_gdef, FT_Bytes *ot_gpos, FT_Bytes *ot_gsub, FT_Bytes *ot_jstf)
static FT_Pointer otvalid_get_service (FT_Module module, const char *service_id)

Variables

static const FT_Service_OTvalidateRec otvalid_interface
static const FT_ServiceDescRec otvalid_services []
FT_CALLBACK_TABLE_DEF const
FT_Module_Class 
otv_module_class


Define Documentation

#define FT_COMPONENT   trace_otvmodule

Definition at line 38 of file otvmod.c.


Function Documentation

static FT_Error otv_load_table ( FT_Face  face,
FT_Tag  tag,
FT_Byte *volatile *  table,
FT_ULong table_len 
) [static]

Definition at line 42 of file otvmod.c.

References error, FT_ALLOC, FT_FACE_MEMORY, FT_Load_Sfnt_Table(), and NULL.

Referenced by otv_validate().

static FT_Error otv_validate ( FT_Face volatile  face,
FT_UInt  ot_flags,
FT_Bytes ot_base,
FT_Bytes ot_gdef,
FT_Bytes ot_gpos,
FT_Bytes ot_gsub,
FT_Bytes ot_jstf 
) [static]

Definition at line 68 of file otvmod.c.

References error, FT_FACE_MEMORY, FT_FREE, ft_setjmp, FT_TRACE1, FT_VALIDATE_BASE, FT_VALIDATE_DEFAULT, FT_VALIDATE_GDEF, FT_VALIDATE_GPOS, FT_VALIDATE_GSUB, FT_VALIDATE_JSTF, FT_VALIDATE_MATH, ft_validator_init(), if(), NULL, otv_BASE_validate(), otv_GDEF_validate(), otv_GPOS_validate(), otv_GSUB_validate(), otv_JSTF_validate(), otv_load_table(), otv_MATH_validate(), TTAG_BASE, TTAG_GDEF, TTAG_GPOS, TTAG_GSUB, TTAG_JSTF, and TTAG_MATH.

static FT_Pointer otvalid_get_service ( FT_Module  module,
const char *  service_id 
) [static]

Definition at line 254 of file otvmod.c.

References ft_service_list_lookup(), FT_UNUSED, and otvalid_services.


Variable Documentation

FT_CALLBACK_TABLE_DEF const FT_Module_Class otv_module_class

Initial value:

Definition at line 264 of file otvmod.c.

const FT_Service_OTvalidateRec otvalid_interface [static]

Initial value:

Definition at line 239 of file otvmod.c.

const FT_ServiceDescRec otvalid_services[] [static]

Initial value:

Definition at line 246 of file otvmod.c.

Referenced by otvalid_get_service().


Generated on Tue Jul 5 15:58:24 2011 for ROOT_528-00b_version by  doxygen 1.5.1