ReactOS  0.4.15-dev-1201-gb2cf5a4
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  {
91  FT_Bytes p = table;
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  }
GXV_XStateTable_Subtable_Setup_Func subtable_setup_func
Definition: gxvcommn.h:225
#define GXV_NAME_ENTER(name)
Definition: gxvcommn.h:301
GXV_XStateTable_OptData_Load_Func optdata_load_func
Definition: gxvcommn.h:227
GLenum GLsizei GLenum GLenum const GLvoid * table
Definition: glext.h:5644
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
GLint limit
Definition: glext.h:10326
smooth NULL
Definition: ftsmooth.c:416
#define GXV_EXIT
Definition: gxvcommn.h:302
const FT_Byte * FT_Bytes
Definition: fttypes.h:165
GXV_XStateTable_Entry_Validate_Func entry_validate_func
Definition: gxvcommn.h:226
#define GXV_STATETABLE_HEADER_SIZE
Definition: gxvcommn.h:520
GLfloat GLfloat p
Definition: glext.h:8902
GXV_XStateTable_ValidatorRec xstatetable
Definition: gxvcommn.h:255
#define GXV_LIMIT_CHECK(_count)
Definition: gxvcommn.h:272
gxv_XStateTable_validate(FT_Bytes table, FT_Bytes limit, GXV_Validator gxvalid)
Definition: gxvcommn.c:1554

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;
258  gxvalid->xstatetable.optdata_load_func =
266 
267  gxv_XStateTable_validate( p, limit, gxvalid );
268 
270  table + st_rec.substitutionTable,
272  gxvalid );
273 
274  GXV_EXIT;
275  }
GXV_XStateTable_Subtable_Setup_Func subtable_setup_func
Definition: gxvcommn.h:225
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
#define GXV_NAME_ENTER(name)
Definition: gxvcommn.h:301
GXV_XStateTable_OptData_Load_Func optdata_load_func
Definition: gxvcommn.h:227
GLenum GLsizei GLenum GLenum const GLvoid * table
Definition: glext.h:5644
static void gxv_morx_subtable_type1_substitutionTable_validate(FT_Bytes table, FT_Bytes limit, GXV_Validator gxvalid)
Definition: gxvmorx1.c:204
GLint limit
Definition: glext.h:10326
#define GXV_EXIT
Definition: gxvcommn.h:302
const FT_Byte * FT_Bytes
Definition: fttypes.h:165
GXV_XStateTable_Entry_Validate_Func entry_validate_func
Definition: gxvcommn.h:226
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_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
#define GXV_MORX_SUBTABLE_TYPE1_HEADER_SIZE
Definition: gxvmorx1.c:52
GLfloat GLfloat p
Definition: glext.h:8902
GXV_XStateTable_ValidatorRec xstatetable
Definition: gxvcommn.h:255
#define GXV_LIMIT_CHECK(_count)
Definition: gxvcommn.h:272
gxv_XStateTable_validate(FT_Bytes table, FT_Bytes limit, GXV_Validator gxvalid)
Definition: gxvcommn.c:1554

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;
311  gxvalid->xstatetable.optdata_load_func =
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_XStateTable_Subtable_Setup_Func subtable_setup_func
Definition: gxvcommn.h:225
#define GXV_NAME_ENTER(name)
Definition: gxvcommn.h:301
GXV_XStateTable_OptData_Load_Func optdata_load_func
Definition: gxvcommn.h:227
GLenum GLsizei GLenum GLenum const GLvoid * table
Definition: glext.h:5644
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
GLint limit
Definition: glext.h:10326
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
#define GXV_MORX_SUBTABLE_TYPE2_HEADER_SIZE
Definition: gxvmorx2.c:55
#define GXV_EXIT
Definition: gxvcommn.h:302
const FT_Byte * FT_Bytes
Definition: fttypes.h:165
GXV_XStateTable_Entry_Validate_Func entry_validate_func
Definition: gxvcommn.h:226
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
FT_ULong subtable_length
Definition: gxvcommn.h:244
GLfloat GLfloat p
Definition: glext.h:8902
GXV_XStateTable_ValidatorRec xstatetable
Definition: gxvcommn.h:255
#define GXV_LIMIT_CHECK(_count)
Definition: gxvcommn.h:272
gxv_XStateTable_validate(FT_Bytes table, FT_Bytes limit, GXV_Validator gxvalid)
Definition: gxvcommn.c:1554

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 
52  GXV_EXIT;
53  }
#define GXV_NAME_ENTER(name)
Definition: gxvcommn.h:301
GLint limit
Definition: glext.h:10326
#define GXV_EXIT
Definition: gxvcommn.h:302
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;
211  gxvalid->xstatetable.optdata_load_func =
219 
220  gxv_XStateTable_validate( p, limit, gxvalid );
221 
222  GXV_EXIT;
223  }
GXV_XStateTable_Subtable_Setup_Func subtable_setup_func
Definition: gxvcommn.h:225
#define GXV_NAME_ENTER(name)
Definition: gxvcommn.h:301
GXV_XStateTable_OptData_Load_Func optdata_load_func
Definition: gxvcommn.h:227
GLenum GLsizei GLenum GLenum const GLvoid * table
Definition: glext.h:5644
static void gxv_morx_subtable_type5_insertionGlyphList_load(FT_Bytes table, FT_Bytes limit, GXV_Validator gxvalid)
Definition: gxvmorx5.c:66
GLint limit
Definition: glext.h:10326
#define GXV_EXIT
Definition: gxvcommn.h:302
const FT_Byte * FT_Bytes
Definition: fttypes.h:165
GXV_XStateTable_Entry_Validate_Func entry_validate_func
Definition: gxvcommn.h:226
#define GXV_MORX_SUBTABLE_TYPE5_HEADER_SIZE
Definition: gxvmorx5.c:61
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
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
GLfloat GLfloat p
Definition: glext.h:8902
GXV_XStateTable_ValidatorRec xstatetable
Definition: gxvcommn.h:255
#define GXV_LIMIT_CHECK(_count)
Definition: gxvcommn.h:272
gxv_XStateTable_validate(FT_Bytes table, FT_Bytes limit, GXV_Validator gxvalid)
Definition: gxvcommn.c:1554

Referenced by gxv_morx_subtables_validate().