gxvbsln.c File Reference

#include "gxvalid.h"
#include "gxvcommn.h"

Go to the source code of this file.

Classes

struct  GXV_bsln_DataRec_

Defines

#define FT_COMPONENT   trace_gxvbsln
#define GXV_BSLN_VALUE_COUNT   32
#define GXV_BSLN_VALUE_EMPTY   0xFFFFU
#define GXV_BSLN_DATA(field)   GXV_TABLE_DATA( bsln, field )

Typedefs

typedef GXV_bsln_DataRec_ GXV_bsln_DataRec
typedef GXV_bsln_DataRec_GXV_bsln_Data

Functions

static void gxv_bsln_LookupValue_validate (FT_UShort glyph, GXV_LookupValueCPtr value_p, GXV_Validator valid)
static GXV_LookupValueDesc gxv_bsln_LookupFmt4_transit (FT_UShort relative_gindex, GXV_LookupValueCPtr base_value_p, FT_Bytes lookuptbl_limit, GXV_Validator valid)
static void gxv_bsln_parts_fmt0_validate (FT_Bytes tables, FT_Bytes limit, GXV_Validator valid)
static void gxv_bsln_parts_fmt1_validate (FT_Bytes tables, FT_Bytes limit, GXV_Validator valid)
static void gxv_bsln_parts_fmt2_validate (FT_Bytes tables, FT_Bytes limit, GXV_Validator valid)
static void gxv_bsln_parts_fmt3_validate (FT_Bytes tables, FT_Bytes limit, GXV_Validator valid)
 gxv_bsln_validate (FT_Bytes table, FT_Face face, FT_Validator ftvalid)


Define Documentation

#define FT_COMPONENT   trace_gxvbsln

Definition at line 38 of file gxvbsln.c.

#define GXV_BSLN_DATA ( field   )     GXV_TABLE_DATA( bsln, field )

Definition at line 61 of file gxvbsln.c.

Referenced by gxv_bsln_LookupValue_validate(), and gxv_bsln_parts_fmt2_validate().

#define GXV_BSLN_VALUE_COUNT   32

Definition at line 49 of file gxvbsln.c.

Referenced by gxv_bsln_LookupValue_validate(), gxv_bsln_parts_fmt0_validate(), gxv_bsln_parts_fmt1_validate(), gxv_bsln_parts_fmt2_validate(), and gxv_bsln_parts_fmt3_validate().

#define GXV_BSLN_VALUE_EMPTY   0xFFFFU

Definition at line 50 of file gxvbsln.c.

Referenced by gxv_bsln_LookupValue_validate(), and gxv_bsln_parts_fmt2_validate().


Typedef Documentation

typedef struct GXV_bsln_DataRec_ * GXV_bsln_Data

typedef struct GXV_bsln_DataRec_ GXV_bsln_DataRec


Function Documentation

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

Definition at line 124 of file gxvbsln.c.

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

Referenced by gxv_bsln_parts_fmt1_validate(), and gxv_bsln_parts_fmt3_validate().

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

Definition at line 73 of file gxvbsln.c.

References FT_INVALID_DATA, FT_UNUSED, GXV_BSLN_DATA, GXV_BSLN_VALUE_COUNT, GXV_BSLN_VALUE_EMPTY, GXV_EXIT, GXV_NAME_ENTER, and GXV_LookupValueDesc_::u.

Referenced by gxv_bsln_parts_fmt1_validate(), and gxv_bsln_parts_fmt3_validate().

static void gxv_bsln_parts_fmt0_validate ( FT_Bytes  tables,
FT_Bytes  limit,
GXV_Validator  valid 
) [static]

Definition at line 149 of file gxvbsln.c.

References GXV_BSLN_VALUE_COUNT, GXV_EXIT, GXV_LIMIT_CHECK, GXV_NAME_ENTER, NULL, and p.

Referenced by gxv_bsln_parts_fmt1_validate(), and gxv_bsln_validate().

static void gxv_bsln_parts_fmt1_validate ( FT_Bytes  tables,
FT_Bytes  limit,
GXV_Validator  valid 
) [static]

Definition at line 168 of file gxvbsln.c.

References gxv_bsln_LookupFmt4_transit(), gxv_bsln_LookupValue_validate(), gxv_bsln_parts_fmt0_validate(), GXV_BSLN_VALUE_COUNT, GXV_EXIT, gxv_LookupTable_validate(), GXV_LOOKUPVALUE_UNSIGNED, GXV_NAME_ENTER, and p.

Referenced by gxv_bsln_validate().

static void gxv_bsln_parts_fmt2_validate ( FT_Bytes  tables,
FT_Bytes  limit,
GXV_Validator  valid 
) [static]

Definition at line 193 of file gxvbsln.c.

References FT_INVALID_DATA, FT_NEXT_USHORT, GXV_BSLN_DATA, GXV_BSLN_VALUE_COUNT, GXV_BSLN_VALUE_EMPTY, gxv_ctlPoint_validate(), GXV_EXIT, gxv_glyphid_validate(), GXV_LIMIT_CHECK, GXV_NAME_ENTER, GXV_TRACE, i, and p.

Referenced by gxv_bsln_parts_fmt3_validate(), and gxv_bsln_validate().

static void gxv_bsln_parts_fmt3_validate ( FT_Bytes  tables,
FT_Bytes  limit,
GXV_Validator  valid 
) [static]

Definition at line 237 of file gxvbsln.c.

References gxv_bsln_LookupFmt4_transit(), gxv_bsln_LookupValue_validate(), gxv_bsln_parts_fmt2_validate(), GXV_BSLN_VALUE_COUNT, GXV_EXIT, gxv_LookupTable_validate(), GXV_LOOKUPVALUE_UNSIGNED, GXV_NAME_ENTER, and p.

Referenced by gxv_bsln_validate().

gxv_bsln_validate ( FT_Bytes  table,
FT_Face  face,
FT_Validator  ftvalid 
)

Definition at line 270 of file gxvbsln.c.

References GXV_bsln_DataRec_::defaultBaseline, FT_INVALID_FORMAT, FT_NEXT_ULONG, FT_NEXT_USHORT, FT_TRACE3, FT_TRACE4, gxv_bsln_parts_fmt0_validate(), gxv_bsln_parts_fmt1_validate(), gxv_bsln_parts_fmt2_validate(), gxv_bsln_parts_fmt3_validate(), GXV_INIT, GXV_LIMIT_CHECK, GXV_TRACE, p, and version.


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