ReactOS 0.4.16-dev-109-gf4cb10f
gxvmorx.h File Reference
#include "gxvalid.h"
#include "gxvcommn.h"
#include "gxvmort.h"
Include dependency graph for gxvmorx.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

 gxv_morx_subtable_type0_validate (FT_Bytes table, FT_Bytes limit, GXV_Validator gxvalid)
 
 gxv_morx_subtable_type1_validate (FT_Bytes table, FT_Bytes limit, GXV_Validator gxvalid)
 
 gxv_morx_subtable_type2_validate (FT_Bytes table, FT_Bytes limit, GXV_Validator gxvalid)
 
 gxv_morx_subtable_type4_validate (FT_Bytes table, FT_Bytes limit, GXV_Validator gxvalid)
 
 gxv_morx_subtable_type5_validate (FT_Bytes table, FT_Bytes limit, GXV_Validator gxvalid)
 

Function Documentation

◆ gxv_morx_subtable_type0_validate()

gxv_morx_subtable_type0_validate ( FT_Bytes  table,
FT_Bytes  limit,
GXV_Validator  gxvalid 
)

Definition at line 87 of file gxvmorx0.c.

90 {
92
93
95 "morx chain subtable type0 (Indic-Script Rearrangement)" );
96
98
99 gxvalid->xstatetable.optdata = NULL;
105
106 gxv_XStateTable_validate( p, limit, gxvalid );
107
108 GXV_EXIT;
109 }
#define NULL
Definition: types.h:112
const FT_Byte * FT_Bytes
Definition: fttypes.h:165
GLint limit
Definition: glext.h:10326
GLfloat GLfloat p
Definition: glext.h:8902
gxv_XStateTable_validate(FT_Bytes table, FT_Bytes limit, GXV_Validator gxvalid)
Definition: gxvcommn.c:1554
#define GXV_NAME_ENTER(name)
Definition: gxvcommn.h:301
@ GXV_GLYPHOFFSET_NONE
Definition: gxvcommn.h:122
#define GXV_STATETABLE_HEADER_SIZE
Definition: gxvcommn.h:520
#define GXV_EXIT
Definition: gxvcommn.h:302
#define GXV_LIMIT_CHECK(_count)
Definition: gxvcommn.h:272
static void gxv_morx_subtable_type0_entry_validate(FT_UShort state, FT_UShort flags, GXV_XStateTable_GlyphOffsetCPtr glyphOffset_p, FT_Bytes table, FT_Bytes limit, GXV_Validator gxvalid)
Definition: gxvmorx0.c:43
GXV_XStateTable_ValidatorRec xstatetable
Definition: gxvcommn.h:255
GXV_XStateTable_OptData_Load_Func optdata_load_func
Definition: gxvcommn.h:227
GXV_XStateTable_Entry_Validate_Func entry_validate_func
Definition: gxvcommn.h:226
GXV_XStateTable_Subtable_Setup_Func subtable_setup_func
Definition: gxvcommn.h:225

Referenced by gxv_morx_subtables_validate().

◆ gxv_morx_subtable_type1_validate()

gxv_morx_subtable_type1_validate ( FT_Bytes  table,
FT_Bytes  limit,
GXV_Validator  gxvalid 
)

Definition at line 241 of file gxvmorx1.c.

244 {
245 FT_Bytes p = table;
246
248
249
250 GXV_NAME_ENTER( "morx chain subtable type1 (Contextual Glyph Subst)" );
251
253
255
256 gxvalid->xstatetable.optdata =
257 &st_rec;
266
267 gxv_XStateTable_validate( p, limit, gxvalid );
268
270 table + st_rec.substitutionTable,
272 gxvalid );
273
274 GXV_EXIT;
275 }
@ GXV_GLYPHOFFSET_ULONG
Definition: gxvcommn.h:127
#define GXV_MORX_SUBTABLE_TYPE1_HEADER_SIZE
Definition: gxvmorx1.c:52
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 gxvalid)
Definition: gxvmorx1.c:104
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 gxvalid)
Definition: gxvmorx1.c:73
static void gxv_morx_subtable_type1_substitutionTable_load(FT_Bytes table, FT_Bytes limit, GXV_Validator gxvalid)
Definition: gxvmorx1.c:57
static void gxv_morx_subtable_type1_substitutionTable_validate(FT_Bytes table, FT_Bytes limit, GXV_Validator gxvalid)
Definition: gxvmorx1.c:204

Referenced by gxv_morx_subtables_validate().

◆ gxv_morx_subtable_type2_validate()

gxv_morx_subtable_type2_validate ( FT_Bytes  table,
FT_Bytes  limit,
GXV_Validator  gxvalid 
)

Definition at line 296 of file gxvmorx2.c.

299 {
300 FT_Bytes p = table;
301
303
304
305 GXV_NAME_ENTER( "morx chain subtable type2 (Ligature Substitution)" );
306
308
309 gxvalid->xstatetable.optdata =
310 &lig_rec;
319
320 gxv_XStateTable_validate( p, limit, gxvalid );
321
322#if 0
323 p += gxvalid->subtable_length;
324#endif
326
327 GXV_EXIT;
328 }
@ GXV_GLYPHOFFSET_USHORT
Definition: gxvcommn.h:125
static void gxv_morx_subtable_type2_opttable_load(FT_Bytes table, FT_Bytes limit, GXV_Validator gxvalid)
Definition: gxvmorx2.c:60
static void gxv_morx_subtable_type2_ligatureTable_validate(FT_Bytes table, GXV_Validator gxvalid)
Definition: gxvmorx2.c:263
#define GXV_MORX_SUBTABLE_TYPE2_HEADER_SIZE
Definition: gxvmorx2.c:55
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 gxvalid)
Definition: gxvmorx2.c:85
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 gxvalid)
Definition: gxvmorx2.c:224
FT_ULong subtable_length
Definition: gxvcommn.h:244

Referenced by gxv_morx_subtables_validate().

◆ gxv_morx_subtable_type4_validate()

gxv_morx_subtable_type4_validate ( FT_Bytes  table,
FT_Bytes  limit,
GXV_Validator  gxvalid 
)

Definition at line 43 of file gxvmorx4.c.

46 {
47 GXV_NAME_ENTER( "morx chain subtable type4 "
48 "(Non-Contextual Glyph Substitution)" );
49
51
53 }
gxv_mort_subtable_type4_validate(FT_Bytes table, FT_Bytes limit, GXV_Validator gxvalid)
Definition: gxvmort4.c:106

Referenced by gxv_morx_subtables_validate().

◆ gxv_morx_subtable_type5_validate()

gxv_morx_subtable_type5_validate ( FT_Bytes  table,
FT_Bytes  limit,
GXV_Validator  gxvalid 
)

Definition at line 195 of file gxvmorx5.c.

198 {
199 FT_Bytes p = table;
200
203
204
205 GXV_NAME_ENTER( "morx chain subtable type5 (Glyph Insertion)" );
206
208
209 gxvalid->xstatetable.optdata =
210 et;
219
220 gxv_XStateTable_validate( p, limit, gxvalid );
221
222 GXV_EXIT;
223 }
static void gxv_morx_subtable_type5_insertionGlyphList_load(FT_Bytes table, FT_Bytes limit, GXV_Validator gxvalid)
Definition: gxvmorx5.c:66
#define GXV_MORX_SUBTABLE_TYPE5_HEADER_SIZE
Definition: gxvmorx5.c:61
static void gxv_morx_subtable_type5_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 gxvalid)
Definition: gxvmorx5.c:82
static void gxv_morx_subtable_type5_entry_validate(FT_UShort state, FT_UShort flags, GXV_StateTable_GlyphOffsetCPtr glyphOffset_p, FT_Bytes table, FT_Bytes limit, GXV_Validator gxvalid)
Definition: gxvmorx5.c:141

Referenced by gxv_morx_subtables_validate().