gxvmorx1.c File Reference

#include "gxvmorx.h"

Go to the source code of this file.

Classes

struct  GXV_morx_subtable_type1_StateOptRec_

Defines

#define FT_COMPONENT   trace_gxvmorx
#define GXV_MORX_SUBTABLE_TYPE1_HEADER_SIZE   ( GXV_STATETABLE_HEADER_SIZE + 2 )

Typedefs

typedef GXV_morx_subtable_type1_StateOptRec_ GXV_morx_subtable_type1_StateOptRec
typedef GXV_morx_subtable_type1_StateOptRec_GXV_morx_subtable_type1_StateOptRecData

Functions

static void gxv_morx_subtable_type1_substitutionTable_load (FT_Bytes table, FT_Bytes limit, GXV_Validator valid)
static void gxv_morx_subtable_type1_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_type1_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_type1_LookupValue_validate (FT_UShort glyph, GXV_LookupValueCPtr value_p, GXV_Validator valid)
static GXV_LookupValueDesc gxv_morx_subtable_type1_LookupFmt4_transit (FT_UShort relative_gindex, GXV_LookupValueCPtr base_value_p, FT_Bytes lookuptbl_limit, GXV_Validator valid)
static void gxv_morx_subtable_type1_substitutionTable_validate (FT_Bytes table, FT_Bytes limit, GXV_Validator valid)
 gxv_morx_subtable_type1_validate (FT_Bytes table, FT_Bytes limit, GXV_Validator valid)


Define Documentation

#define FT_COMPONENT   trace_gxvmorx

Definition at line 38 of file gxvmorx1.c.

#define GXV_MORX_SUBTABLE_TYPE1_HEADER_SIZE   ( GXV_STATETABLE_HEADER_SIZE + 2 )

Definition at line 51 of file gxvmorx1.c.

Referenced by gxv_morx_subtable_type1_validate().


Typedef Documentation

typedef struct GXV_morx_subtable_type1_StateOptRec_ GXV_morx_subtable_type1_StateOptRec

typedef struct GXV_morx_subtable_type1_StateOptRec_ * GXV_morx_subtable_type1_StateOptRecData


Function Documentation

static void gxv_morx_subtable_type1_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 103 of file gxvmorx1.c.

References FT_INVALID_DATA, FT_UNUSED, FT_VALIDATE_PARANOID, GXV_TRACE, GXV_morx_subtable_type1_StateOptRec_::substitutionTable_num_lookupTables, and GXV_StateTable_GlyphOffsetDesc_::ul.

Referenced by gxv_morx_subtable_type1_validate().

static GXV_LookupValueDesc gxv_morx_subtable_type1_LookupFmt4_transit ( FT_UShort  relative_gindex,
GXV_LookupValueCPtr  base_value_p,
FT_Bytes  lookuptbl_limit,
GXV_Validator  valid 
) [static]

Definition at line 171 of file gxvmorx1.c.

References FT_NEXT_USHORT, GXV_LIMIT_CHECK, p, sizeof(), GXV_LookupValueDesc_::u, and value.

Referenced by gxv_morx_subtable_type1_substitutionTable_validate().

static void gxv_morx_subtable_type1_LookupValue_validate ( FT_UShort  glyph,
GXV_LookupValueCPtr  value_p,
GXV_Validator  valid 
) [static]

Definition at line 157 of file gxvmorx1.c.

References FT_INVALID_GLYPH_ID, FT_UNUSED, GXV_TRACE, and GXV_LookupValueDesc_::u.

Referenced by gxv_morx_subtable_type1_substitutionTable_validate().

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

Definition at line 56 of file gxvmorx1.c.

References FT_NEXT_USHORT, GXV_LIMIT_CHECK, p, and GXV_morx_subtable_type1_StateOptRec_::substitutionTable.

Referenced by gxv_morx_subtable_type1_validate().

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

Definition at line 200 of file gxvmorx1.c.

References for(), FT_NEXT_ULONG, GXV_LIMIT_CHECK, gxv_LookupTable_validate(), GXV_LOOKUPVALUE_UNSIGNED, gxv_morx_subtable_type1_LookupFmt4_transit(), gxv_morx_subtable_type1_LookupValue_validate(), i, p, and GXV_morx_subtable_type1_StateOptRec_::substitutionTable_num_lookupTables.

Referenced by gxv_morx_subtable_type1_validate().

static void gxv_morx_subtable_type1_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 72 of file gxvmorx1.c.

References gxv_set_length_by_ulong_offset(), l, o, GXV_morx_subtable_type1_StateOptRec_::substitutionTable, and GXV_morx_subtable_type1_StateOptRec_::substitutionTable_length.

Referenced by gxv_morx_subtable_type1_validate().

gxv_morx_subtable_type1_validate ( FT_Bytes  table,
FT_Bytes  limit,
GXV_Validator  valid 
)

Definition at line 237 of file gxvmorx1.c.

References GXV_EXIT, GXV_GLYPHOFFSET_ULONG, GXV_LIMIT_CHECK, gxv_morx_subtable_type1_entry_validate(), GXV_MORX_SUBTABLE_TYPE1_HEADER_SIZE, gxv_morx_subtable_type1_substitutionTable_load(), gxv_morx_subtable_type1_substitutionTable_validate(), gxv_morx_subtable_type1_subtable_setup(), GXV_NAME_ENTER, gxv_XStateTable_validate(), p, GXV_morx_subtable_type1_StateOptRec_::substitutionTable, GXV_morx_subtable_type1_StateOptRec_::substitutionTable_length, and GXV_morx_subtable_type1_StateOptRec_::substitutionTable_num_lookupTables.

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