ReactOS 0.4.15-dev-8109-gd7be748
gxvmort4.c File Reference
#include "gxvmort.h"
Include dependency graph for gxvmort4.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define FT_COMPONENT   trace_gxvmort
 

Functions

static void gxv_mort_subtable_type4_lookupval_validate (FT_UShort glyph, GXV_LookupValueCPtr value_p, GXV_Validator gxvalid)
 
static GXV_LookupValueDesc gxv_mort_subtable_type4_lookupfmt4_transit (FT_UShort relative_gindex, GXV_LookupValueCPtr base_value_p, FT_Bytes lookuptbl_limit, GXV_Validator gxvalid)
 
 gxv_mort_subtable_type4_validate (FT_Bytes table, FT_Bytes limit, GXV_Validator gxvalid)
 

Macro Definition Documentation

◆ FT_COMPONENT

#define FT_COMPONENT   trace_gxvmort

Definition at line 39 of file gxvmort4.c.

Function Documentation

◆ gxv_mort_subtable_type4_lookupfmt4_transit()

static GXV_LookupValueDesc gxv_mort_subtable_type4_lookupfmt4_transit ( FT_UShort  relative_gindex,
GXV_LookupValueCPtr  base_value_p,
FT_Bytes  lookuptbl_limit,
GXV_Validator  gxvalid 
)
static

Definition at line 80 of file gxvmort4.c.

85 {
86 FT_Bytes p;
90
91 /* XXX: check range? */
92 offset = (FT_UShort)( base_value_p->u +
93 relative_gindex * sizeof ( FT_UShort ) );
94
95 p = gxvalid->lookuptbl_head + offset;
96 limit = lookuptbl_limit;
97
98 GXV_LIMIT_CHECK( 2 );
99 value.u = FT_NEXT_USHORT( p );
100
101 return value;
102 }
#define FT_NEXT_USHORT(buffer)
Definition: ftstream.h:226
unsigned short FT_UShort
Definition: fttypes.h:209
const FT_Byte * FT_Bytes
Definition: fttypes.h:165
GLint limit
Definition: glext.h:10326
GLfloat GLfloat p
Definition: glext.h:8902
GLintptr offset
Definition: glext.h:5920
#define GXV_LIMIT_CHECK(_count)
Definition: gxvcommn.h:272
FT_Bytes lookuptbl_head
Definition: gxvcommn.h:249
Definition: pdh_main.c:94
ActualNumberDriverObjects * sizeof(PDRIVER_OBJECT)) PDRIVER_OBJECT *DriverObjectList

Referenced by gxv_mort_subtable_type4_validate().

◆ gxv_mort_subtable_type4_lookupval_validate()

static void gxv_mort_subtable_type4_lookupval_validate ( FT_UShort  glyph,
GXV_LookupValueCPtr  value_p,
GXV_Validator  gxvalid 
)
static

Definition at line 43 of file gxvmort4.c.

46 {
47 FT_UNUSED( glyph );
48
49 gxv_glyphid_validate( value_p->u, gxvalid );
50 }
#define FT_UNUSED(arg)
Definition: ftconfig.h:101
gxv_glyphid_validate(FT_UShort gid, GXV_Validator gxvalid)
Definition: gxvcommn.c:813

Referenced by gxv_mort_subtable_type4_validate().

◆ gxv_mort_subtable_type4_validate()

gxv_mort_subtable_type4_validate ( FT_Bytes  table,
FT_Bytes  limit,
GXV_Validator  gxvalid 
)

Definition at line 106 of file gxvmort4.c.

109 {
110 FT_Bytes p = table;
111
112
113 GXV_NAME_ENTER( "mort chain subtable type4 "
114 "(Non-Contextual Glyph Substitution)" );
115
119
120 gxv_LookupTable_validate( p, limit, gxvalid );
121
122 GXV_EXIT;
123 }
gxv_LookupTable_validate(FT_Bytes table, FT_Bytes limit, GXV_Validator gxvalid)
Definition: gxvcommn.c:755
#define GXV_NAME_ENTER(name)
Definition: gxvcommn.h:301
@ GXV_LOOKUPVALUE_UNSIGNED
Definition: gxvcommn.h:100
#define GXV_EXIT
Definition: gxvcommn.h:302
static GXV_LookupValueDesc gxv_mort_subtable_type4_lookupfmt4_transit(FT_UShort relative_gindex, GXV_LookupValueCPtr base_value_p, FT_Bytes lookuptbl_limit, GXV_Validator gxvalid)
Definition: gxvmort4.c:80
static void gxv_mort_subtable_type4_lookupval_validate(FT_UShort glyph, GXV_LookupValueCPtr value_p, GXV_Validator gxvalid)
Definition: gxvmort4.c:43
GXV_Lookup_Fmt4_Transit_Func lookupfmt4_trans
Definition: gxvcommn.h:248
GXV_Lookup_Value_Validate_Func lookupval_func
Definition: gxvcommn.h:247
GXV_LookupValue_SignSpec lookupval_sign
Definition: gxvcommn.h:246

Referenced by gxv_mort_subtables_validate(), and gxv_morx_subtable_type4_validate().