* src/otvalid/otvcmmn.c (otv_x_y_ux_sy): Skip context glyphs. Found


			
			
				david-pic-changes
			
			
		
Werner Lemberg 18 years ago
parent 23a424f521
commit abc44f5ecf
  1. 8
      ChangeLog
  2. 3
      src/otvalid/otvcommn.c

@ -1,3 +1,11 @@
2007-08-18 Werner Lemberg <wl@gnu.org>
* src/otvalid/otvcmmn.c (otv_x_y_ux_sy): Skip context glyphs. Found
by Imran Yousaf. Fixes Savannah bug #20773.
(otv_Lookup_validate): Correct handling of LookupType. Found by
Imran Yousaf. Fixes Savannah bug #20782.
2007-08-17 George Williams <gww@silcom.com>
* src/otvalid/otvgsub.c (otv_SingleSubst_validate): Fix handling of

@ -360,7 +360,7 @@
OTV_TRACE(( " (type %d)\n", LookupType ));
if ( LookupType == 0 || LookupType >= valid->type_count )
if ( LookupType == 0 || LookupType > valid->type_count )
FT_INVALID_DATA;
validate = valid->type_funcs[LookupType - 1];
@ -759,6 +759,7 @@
FT_INVALID_DATA;
OTV_LIMIT_CHECK( ( Count1 - 1 ) * 2 + Count2 * 4 );
p += ( Count1 - 1 ) * 2;
for ( ; Count2 > 0; Count2-- )
{

Loading…
Cancel
Save