gxvmort2.c File Reference

#include "gxvmort.h"

Go to the source code of this file.

Classes

struct  GXV_mort_subtable_type2_StateOptRec_

Defines

#define FT_COMPONENT   trace_gxvmort
#define GXV_MORT_SUBTABLE_TYPE2_HEADER_SIZE   ( GXV_STATETABLE_HEADER_SIZE + 2 + 2 + 2 )

Typedefs

typedef GXV_mort_subtable_type2_StateOptRec_ GXV_mort_subtable_type2_StateOptRec
typedef GXV_mort_subtable_type2_StateOptRec_GXV_mort_subtable_type2_StateOptRecData

Functions

static void gxv_mort_subtable_type2_opttable_load (FT_Bytes table, FT_Bytes limit, GXV_Validator valid)
static void gxv_mort_subtable_type2_subtable_setup (FT_UShort table_size, FT_UShort classTable, FT_UShort stateArray, FT_UShort entryTable, FT_UShort *classTable_length_p, FT_UShort *stateArray_length_p, FT_UShort *entryTable_length_p, GXV_Validator valid)
static void gxv_mort_subtable_type2_ligActionOffset_validate (FT_Bytes table, FT_UShort ligActionOffset, GXV_Validator valid)
static void gxv_mort_subtable_type2_entry_validate (FT_Byte state, FT_UShort flags, GXV_StateTable_GlyphOffsetCPtr glyphOffset_p, FT_Bytes table, FT_Bytes limit, GXV_Validator valid)
static void gxv_mort_subtable_type2_ligatureTable_validate (FT_Bytes table, GXV_Validator valid)
 gxv_mort_subtable_type2_validate (FT_Bytes table, FT_Bytes limit, GXV_Validator valid)


Define Documentation

#define FT_COMPONENT   trace_gxvmort

Definition at line 38 of file gxvmort2.c.

#define GXV_MORT_SUBTABLE_TYPE2_HEADER_SIZE   ( GXV_STATETABLE_HEADER_SIZE + 2 + 2 + 2 )

Definition at line 53 of file gxvmort2.c.

Referenced by gxv_mort_subtable_type2_validate().


Typedef Documentation

typedef struct GXV_mort_subtable_type2_StateOptRec_ GXV_mort_subtable_type2_StateOptRec

typedef struct GXV_mort_subtable_type2_StateOptRec_ * GXV_mort_subtable_type2_StateOptRecData


Function Documentation

static void gxv_mort_subtable_type2_entry_validate ( FT_Byte  state,
FT_UShort  flags,
GXV_StateTable_GlyphOffsetCPtr  glyphOffset_p,
FT_Bytes  table,
FT_Bytes  limit,
GXV_Validator  valid 
) [static]

Definition at line 189 of file gxvmort2.c.

References FT_UNUSED, and gxv_mort_subtable_type2_ligActionOffset_validate().

Referenced by gxv_mort_subtable_type2_validate().

static void gxv_mort_subtable_type2_ligActionOffset_validate ( FT_Bytes  table,
FT_UShort  ligActionOffset,
GXV_Validator  valid 
) [static]

Definition at line 137 of file gxvmort2.c.

References FT_INVALID_OFFSET, FT_NEXT_ULONG, FT_VALIDATE_PARANOID, GXV_32BIT_ALIGNMENT_VALIDATE, GXV_TRACE, GXV_mort_subtable_type2_StateOptRec_::ligActionTable, and p.

Referenced by gxv_mort_subtable_type2_entry_validate().

static void gxv_mort_subtable_type2_ligatureTable_validate ( FT_Bytes  table,
GXV_Validator  valid 
) [static]

Definition at line 218 of file gxvmort2.c.

References FT_NEXT_USHORT, GXV_EXIT, GXV_LIMIT_CHECK, GXV_NAME_ENTER, GXV_mort_subtable_type2_StateOptRec_::ligatureTable, GXV_mort_subtable_type2_StateOptRec_::ligatureTable_length, and p.

Referenced by gxv_mort_subtable_type2_validate().

static void gxv_mort_subtable_type2_opttable_load ( FT_Bytes  table,
FT_Bytes  limit,
GXV_Validator  valid 
) [static]

Definition at line 58 of file gxvmort2.c.

References GXV_mort_subtable_type2_StateOptRec_::componentTable, FT_NEXT_USHORT, GXV_LIMIT_CHECK, GXV_TRACE, GXV_mort_subtable_type2_StateOptRec_::ligActionTable, GXV_mort_subtable_type2_StateOptRec_::ligatureTable, and p.

Referenced by gxv_mort_subtable_type2_validate().

static void gxv_mort_subtable_type2_subtable_setup ( FT_UShort  table_size,
FT_UShort  classTable,
FT_UShort  stateArray,
FT_UShort  entryTable,
FT_UShort classTable_length_p,
FT_UShort stateArray_length_p,
FT_UShort entryTable_length_p,
GXV_Validator  valid 
) [static]

Definition at line 82 of file gxvmort2.c.

References GXV_mort_subtable_type2_StateOptRec_::componentTable, GXV_mort_subtable_type2_StateOptRec_::componentTable_length, GXV_EXIT, GXV_NAME_ENTER, gxv_set_length_by_ushort_offset(), GXV_TRACE, l, GXV_mort_subtable_type2_StateOptRec_::ligActionTable, GXV_mort_subtable_type2_StateOptRec_::ligActionTable_length, GXV_mort_subtable_type2_StateOptRec_::ligatureTable, GXV_mort_subtable_type2_StateOptRec_::ligatureTable_length, and o.

Referenced by gxv_mort_subtable_type2_validate().

gxv_mort_subtable_type2_validate ( FT_Bytes  table,
FT_Bytes  limit,
GXV_Validator  valid 
)

Definition at line 247 of file gxvmort2.c.

References GXV_EXIT, GXV_GLYPHOFFSET_NONE, GXV_LIMIT_CHECK, gxv_mort_subtable_type2_entry_validate(), GXV_MORT_SUBTABLE_TYPE2_HEADER_SIZE, gxv_mort_subtable_type2_ligatureTable_validate(), gxv_mort_subtable_type2_opttable_load(), gxv_mort_subtable_type2_subtable_setup(), GXV_NAME_ENTER, gxv_StateTable_validate(), and p.

Referenced by gxv_mort_subtables_validate().


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