gxvmorx2.c File Reference

#include "gxvmorx.h"

Go to the source code of this file.

Classes

struct  GXV_morx_subtable_type2_StateOptRec_

Defines

#define FT_COMPONENT   trace_gxvmorx
#define GXV_MORX_SUBTABLE_TYPE2_HEADER_SIZE   ( GXV_XSTATETABLE_HEADER_SIZE + 4 + 4 + 4 )
#define GXV_MORX_LIGACTION_ENTRY_SIZE   4

Typedefs

typedef GXV_morx_subtable_type2_StateOptRec_ GXV_morx_subtable_type2_StateOptRec
typedef GXV_morx_subtable_type2_StateOptRec_GXV_morx_subtable_type2_StateOptRecData

Functions

static void gxv_morx_subtable_type2_opttable_load (FT_Bytes table, FT_Bytes limit, GXV_Validator valid)
static void gxv_morx_subtable_type2_subtable_setup (FT_ULong table_size, FT_ULong classTable, FT_ULong stateArray, FT_ULong entryTable, FT_ULong *classTable_length_p, FT_ULong *stateArray_length_p, FT_ULong *entryTable_length_p, GXV_Validator valid)
static void gxv_morx_subtable_type2_ligActionIndex_validate (FT_Bytes table, FT_UShort ligActionIndex, GXV_Validator valid)
static void gxv_morx_subtable_type2_entry_validate (FT_UShort state, FT_UShort flags, GXV_StateTable_GlyphOffsetCPtr glyphOffset_p, FT_Bytes table, FT_Bytes limit, GXV_Validator valid)
static void gxv_morx_subtable_type2_ligatureTable_validate (FT_Bytes table, GXV_Validator valid)
 gxv_morx_subtable_type2_validate (FT_Bytes table, FT_Bytes limit, GXV_Validator valid)


Define Documentation

#define FT_COMPONENT   trace_gxvmorx

Definition at line 38 of file gxvmorx2.c.

#define GXV_MORX_LIGACTION_ENTRY_SIZE   4

Definition at line 138 of file gxvmorx2.c.

Referenced by gxv_morx_subtable_type2_ligActionIndex_validate().

#define GXV_MORX_SUBTABLE_TYPE2_HEADER_SIZE   ( GXV_XSTATETABLE_HEADER_SIZE + 4 + 4 + 4 )

Definition at line 54 of file gxvmorx2.c.

Referenced by gxv_morx_subtable_type2_validate().


Typedef Documentation

typedef struct GXV_morx_subtable_type2_StateOptRec_ GXV_morx_subtable_type2_StateOptRec

typedef struct GXV_morx_subtable_type2_StateOptRec_ * GXV_morx_subtable_type2_StateOptRecData


Function Documentation

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

Definition at line 186 of file gxvmorx2.c.

References FT_UNUSED, gxv_morx_subtable_type2_ligActionIndex_validate(), GXV_TRACE, and GXV_StateTable_GlyphOffsetDesc_::u.

Referenced by gxv_morx_subtable_type2_validate().

static void gxv_morx_subtable_type2_ligActionIndex_validate ( FT_Bytes  table,
FT_UShort  ligActionIndex,
GXV_Validator  valid 
) [static]

Definition at line 142 of file gxvmorx2.c.

References FT_INVALID_OFFSET, FT_NEXT_ULONG, GXV_MORX_LIGACTION_ENTRY_SIZE, GXV_TRACE, if(), GXV_morx_subtable_type2_StateOptRec_::ligActionTable, and p.

Referenced by gxv_morx_subtable_type2_entry_validate().

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

Definition at line 221 of file gxvmorx2.c.

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

Referenced by gxv_morx_subtable_type2_validate().

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

Definition at line 59 of file gxvmorx2.c.

References GXV_morx_subtable_type2_StateOptRec_::componentTable, FT_NEXT_ULONG, GXV_LIMIT_CHECK, GXV_TRACE, GXV_morx_subtable_type2_StateOptRec_::ligActionTable, GXV_morx_subtable_type2_StateOptRec_::ligatureTable, and p.

Referenced by gxv_morx_subtable_type2_validate().

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

Definition at line 84 of file gxvmorx2.c.

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

Referenced by gxv_morx_subtable_type2_validate().

gxv_morx_subtable_type2_validate ( FT_Bytes  table,
FT_Bytes  limit,
GXV_Validator  valid 
)

Definition at line 252 of file gxvmorx2.c.

References GXV_EXIT, GXV_GLYPHOFFSET_USHORT, GXV_LIMIT_CHECK, gxv_morx_subtable_type2_entry_validate(), GXV_MORX_SUBTABLE_TYPE2_HEADER_SIZE, gxv_morx_subtable_type2_ligatureTable_validate(), gxv_morx_subtable_type2_opttable_load(), gxv_morx_subtable_type2_subtable_setup(), GXV_NAME_ENTER, gxv_XStateTable_validate(), and p.

Referenced by gxv_morx_subtables_validate().


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