diff --git a/ChangeLog b/ChangeLog index b3b4a961c..776abf60c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-06-23 David Turner + + * src/truetype/ttgload.c (TT_Load_Simple): fix typo that prevented + the truetype loader from loading most glyphs. ooops ! + 2007-06-20 Werner Lemberg * src/cff/cffgload.c (cff_slot_load): Fix logic of 2007-05-28 diff --git a/src/truetype/ttgload.c b/src/truetype/ttgload.c index 540e3aad5..a0b599604 100644 --- a/src/truetype/ttgload.c +++ b/src/truetype/ttgload.c @@ -271,7 +271,7 @@ for ( cont++; cont < cont_limit; cont++ ) { cont[0] = FT_NEXT_USHORT( p ); - if ( cont[0] > prev_cont ) + if ( cont[0] <= prev_cont ) { /* unordered contours: this is invalid */ error = FT_Err_Invalid_Table;