Home | Info | Community | Development | myReactOS | Contact Us
[static]
Definition at line 135 of file otvmath.c.
Referenced by otv_MathKernInfo_validate().
{ FT_Bytes p = table; FT_UInt i, cnt, table_size; OTV_OPTIONAL_TABLE( DeviceTableOffset ); /* OTV_NAME_ENTER( "MathKern" );*/ OTV_LIMIT_CHECK( 2 ); cnt = FT_NEXT_USHORT( p ); OTV_LIMIT_CHECK( 4 * cnt + 2 ); table_size = 4 + 4 * cnt; /* Heights */ for ( i = 0; i < cnt; ++i ) { p += 2; /* Skip the value */ OTV_OPTIONAL_OFFSET( DeviceTableOffset ); OTV_SIZE_CHECK( DeviceTableOffset ); if ( DeviceTableOffset ) otv_Device_validate( table + DeviceTableOffset, valid ); } /* One more Kerning value */ for ( i = 0; i < cnt + 1; ++i ) { p += 2; /* Skip the value */ OTV_OPTIONAL_OFFSET( DeviceTableOffset ); OTV_SIZE_CHECK( DeviceTableOffset ); if ( DeviceTableOffset ) otv_Device_validate( table + DeviceTableOffset, valid ); } OTV_EXIT; }