Go to the source code of this file.
|
static void | gxv_morx_subtable_type1_substitutionTable_load (FT_Bytes table, FT_Bytes limit, GXV_Validator gxvalid) |
|
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) |
|
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) |
|
static void | gxv_morx_subtable_type1_LookupValue_validate (FT_UShort glyph, GXV_LookupValueCPtr value_p, GXV_Validator gxvalid) |
|
static GXV_LookupValueDesc | gxv_morx_subtable_type1_LookupFmt4_transit (FT_UShort relative_gindex, GXV_LookupValueCPtr base_value_p, FT_Bytes lookuptbl_limit, GXV_Validator gxvalid) |
|
static void | gxv_morx_subtable_type1_substitutionTable_validate (FT_Bytes table, FT_Bytes limit, GXV_Validator gxvalid) |
|
| gxv_morx_subtable_type1_validate (FT_Bytes table, FT_Bytes limit, GXV_Validator gxvalid) |
|
◆ FT_COMPONENT
#define FT_COMPONENT trace_gxvmorx |
◆ GXV_MORX_SUBTABLE_TYPE1_HEADER_SIZE
◆ GXV_morx_subtable_type1_StateOptRec
◆ GXV_morx_subtable_type1_StateOptRecData
◆ gxv_morx_subtable_type1_entry_validate()
Definition at line 104 of file gxvmorx1.c.
111 {
112#ifdef GXV_LOAD_TRACE_VARS
115#endif
119
122
126
127
128#ifdef GXV_LOAD_TRACE_VARS
131#endif
132
134
135 markIndex = (
FT_Short)( glyphOffset_p->
ul >> 16 );
136 currentIndex = (
FT_Short)( glyphOffset_p->
ul );
137
138 GXV_TRACE((
" setMark=%01d dontAdvance=%01d\n",
139 setMark, dontAdvance ));
140
142 {
143 GXV_TRACE((
" non-zero bits found in reserved range\n" ));
145 }
146
147 GXV_TRACE((
"markIndex = %d, currentIndex = %d\n",
148 markIndex, currentIndex ));
149
153
157 }
#define GXV_SET_ERR_IF_PARANOID(err)
struct GXV_morx_subtable_type1_StateOptRec_ * GXV_morx_subtable_type1_StateOptRecData
GXV_XStateTable_ValidatorRec xstatetable
FT_UShort substitutionTable_num_lookupTables
Referenced by gxv_morx_subtable_type1_validate().
◆ gxv_morx_subtable_type1_LookupFmt4_transit()
◆ gxv_morx_subtable_type1_LookupValue_validate()
◆ gxv_morx_subtable_type1_substitutionTable_load()
◆ gxv_morx_subtable_type1_substitutionTable_validate()
Definition at line 204 of file gxvmorx1.c.
207 {
210
213
214
215
219
221 {
223
224
227
229 }
230
231
232 }
#define FT_NEXT_ULONG(buffer)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
gxv_LookupTable_validate(FT_Bytes table, FT_Bytes limit, GXV_Validator gxvalid)
@ GXV_LOOKUPVALUE_UNSIGNED
static void gxv_morx_subtable_type1_LookupValue_validate(FT_UShort glyph, GXV_LookupValueCPtr value_p, GXV_Validator gxvalid)
static GXV_LookupValueDesc gxv_morx_subtable_type1_LookupFmt4_transit(FT_UShort relative_gindex, GXV_LookupValueCPtr base_value_p, FT_Bytes lookuptbl_limit, GXV_Validator gxvalid)
GXV_Lookup_Fmt4_Transit_Func lookupfmt4_trans
GXV_Lookup_Value_Validate_Func lookupval_func
GXV_LookupValue_SignSpec lookupval_sign
Referenced by gxv_morx_subtable_type1_validate().
◆ gxv_morx_subtable_type1_subtable_setup()
Definition at line 73 of file gxvmorx1.c.
81 {
85
88
89
90 o[0] = classTable;
91 o[1] = stateArray;
92 o[2] = entryTable;
94 l[0] = classTable_length_p;
95 l[1] = stateArray_length_p;
96 l[2] = entryTable_length_p;
98
100 }
static unsigned char buff[32768]
gxv_set_length_by_ulong_offset(FT_ULong *offset, FT_ULong **length, FT_ULong *buff, FT_UInt nmemb, FT_ULong limit, GXV_Validator gxvalid)
FT_ULong substitutionTable_length
Referenced by gxv_morx_subtable_type1_validate().
◆ gxv_morx_subtable_type1_validate()
Definition at line 241 of file gxvmorx1.c.
244 {
246
248
249
250 GXV_NAME_ENTER(
"morx chain subtable type1 (Contextual Glyph Subst)" );
251
253
255
257 &st_rec;
266
268
272 gxvalid );
273
275 }
gxv_XStateTable_validate(FT_Bytes table, FT_Bytes limit, GXV_Validator gxvalid)
#define GXV_NAME_ENTER(name)
#define GXV_MORX_SUBTABLE_TYPE1_HEADER_SIZE
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)
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)
static void gxv_morx_subtable_type1_substitutionTable_load(FT_Bytes table, FT_Bytes limit, GXV_Validator gxvalid)
static void gxv_morx_subtable_type1_substitutionTable_validate(FT_Bytes table, FT_Bytes limit, GXV_Validator gxvalid)
GXV_XStateTable_OptData_Load_Func optdata_load_func
int entry_glyphoffset_fmt
GXV_XStateTable_Entry_Validate_Func entry_validate_func
GXV_XStateTable_Subtable_Setup_Func subtable_setup_func
Referenced by gxv_morx_subtables_validate().