|
|
|
@ -121,7 +121,7 @@ |
|
|
|
|
GXV_SET_ERR_IF_PARANOID( FT_INVALID_DATA ); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
gxvalid->subtable_length = p - table; |
|
|
|
|
gxvalid->subtable_length = (FT_ULong)( p - table ); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -143,7 +143,7 @@ |
|
|
|
|
p += gxvalid->subtable_length; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
gxvalid->subtable_length = p - table; |
|
|
|
|
gxvalid->subtable_length = (FT_ULong)( p - table ); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -168,7 +168,7 @@ |
|
|
|
|
p += gxvalid->subtable_length; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
gxvalid->subtable_length = p - table; |
|
|
|
|
gxvalid->subtable_length = (FT_ULong)( p - table ); |
|
|
|
|
|
|
|
|
|
GXV_EXIT; |
|
|
|
|
} |
|
|
|
@ -192,8 +192,8 @@ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
GXV_LIMIT_CHECK( 4 + 4 + 2 + 2 ); |
|
|
|
|
lowerLimit = FT_NEXT_ULONG( p ); |
|
|
|
|
upperLimit = FT_NEXT_ULONG( p ); |
|
|
|
|
lowerLimit = FT_NEXT_LONG( p ); |
|
|
|
|
upperLimit = FT_NEXT_LONG( p ); |
|
|
|
|
#ifdef GXV_LOAD_UNUSED_VARS |
|
|
|
|
order = FT_NEXT_USHORT( p ); |
|
|
|
|
#else |
|
|
|
@ -218,7 +218,7 @@ |
|
|
|
|
gxv_just_check_max_gid( glyphs, "type0:glyphs", gxvalid ); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
gxvalid->subtable_length = p - table; |
|
|
|
|
gxvalid->subtable_length = (FT_ULong)( p - table ); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -236,7 +236,7 @@ |
|
|
|
|
|
|
|
|
|
gxv_just_check_max_gid( addGlyph, "type1:addGlyph", gxvalid ); |
|
|
|
|
|
|
|
|
|
gxvalid->subtable_length = p - table; |
|
|
|
|
gxvalid->subtable_length = (FT_ULong)( p - table ); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -267,7 +267,7 @@ |
|
|
|
|
|
|
|
|
|
gxv_just_check_max_gid( substGlyph, "type2:substGlyph", gxvalid ); |
|
|
|
|
|
|
|
|
|
gxvalid->subtable_length = p - table; |
|
|
|
|
gxvalid->subtable_length = (FT_ULong)( p - table ); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -285,11 +285,11 @@ |
|
|
|
|
|
|
|
|
|
GXV_LIMIT_CHECK( 4 + 4 + 4 + 4 ); |
|
|
|
|
variantsAxis = FT_NEXT_ULONG( p ); |
|
|
|
|
minimumLimit = FT_NEXT_ULONG( p ); |
|
|
|
|
noStretchValue = FT_NEXT_ULONG( p ); |
|
|
|
|
maximumLimit = FT_NEXT_ULONG( p ); |
|
|
|
|
minimumLimit = FT_NEXT_LONG( p ); |
|
|
|
|
noStretchValue = FT_NEXT_LONG( p ); |
|
|
|
|
maximumLimit = FT_NEXT_LONG( p ); |
|
|
|
|
|
|
|
|
|
gxvalid->subtable_length = p - table; |
|
|
|
|
gxvalid->subtable_length = (FT_ULong)( p - table ); |
|
|
|
|
|
|
|
|
|
if ( variantsAxis != 0x64756374L ) /* 'duct' */ |
|
|
|
|
GXV_TRACE(( "variantsAxis 0x%08x is non default value", |
|
|
|
@ -327,7 +327,7 @@ |
|
|
|
|
flags )); |
|
|
|
|
gxv_just_check_max_gid( glyph, "type5:glyph", gxvalid ); |
|
|
|
|
|
|
|
|
|
gxvalid->subtable_length = p - table; |
|
|
|
|
gxvalid->subtable_length = (FT_ULong)( p - table ); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -395,7 +395,7 @@ |
|
|
|
|
p += gxvalid->subtable_length; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
gxvalid->subtable_length = p - table; |
|
|
|
|
gxvalid->subtable_length = (FT_ULong)( p - table ); |
|
|
|
|
|
|
|
|
|
GXV_EXIT; |
|
|
|
|
} |
|
|
|
@ -454,7 +454,7 @@ |
|
|
|
|
gxv_just_pcActionRecord_validate( p, limit, gxvalid ); |
|
|
|
|
p += gxvalid->subtable_length; |
|
|
|
|
|
|
|
|
|
gxvalid->subtable_length = p - table; |
|
|
|
|
gxvalid->subtable_length = (FT_ULong)( p - table ); |
|
|
|
|
|
|
|
|
|
GXV_EXIT; |
|
|
|
|
} |
|
|
|
@ -677,7 +677,8 @@ |
|
|
|
|
format = FT_NEXT_USHORT( p ); |
|
|
|
|
horizOffset = FT_NEXT_USHORT( p ); |
|
|
|
|
vertOffset = FT_NEXT_USHORT( p ); |
|
|
|
|
gxv_odtect_add_range( table, p - table, "just header", odtect ); |
|
|
|
|
gxv_odtect_add_range( table, (FT_ULong)( p - table ), |
|
|
|
|
"just header", odtect ); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Version 1.0 (always:2000) */ |
|
|
|
|