diff --git a/ChangeLog b/ChangeLog index 399db545f..eb1a97d1f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-08-27 Behdad Esfahbod + + * src/sfnt/ttload.c (tt_face_load_font_dir): Fix sign typos. + 2013-08-27 Behdad Esfahbod FT_Open_Face: Improve external stream handling. diff --git a/src/sfnt/ttload.c b/src/sfnt/ttload.c index 89a8ae04c..e6b9064f1 100644 --- a/src/sfnt/ttload.c +++ b/src/sfnt/ttload.c @@ -391,8 +391,8 @@ { entry->Tag = FT_GET_TAG4(); entry->CheckSum = FT_GET_ULONG(); - entry->Offset = FT_GET_LONG(); - entry->Length = FT_GET_LONG(); + entry->Offset = FT_GET_ULONG(); + entry->Length = FT_GET_ULONG(); /* ignore invalid tables */ if ( entry->Offset + entry->Length > stream->size )