* src/sfnt/ttload.c (tt_face_load_font_dir): Fix sign typos.

This commit is contained in:
Behdad Esfahbod 2013-08-27 21:46:03 +02:00 committed by Werner Lemberg
parent bd3849e7de
commit c799dd6725
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2013-08-27 Behdad Esfahbod <behdad@google.com>
* src/sfnt/ttload.c (tt_face_load_font_dir): Fix sign typos.
2013-08-27 Behdad Esfahbod <behdad@google.com>
FT_Open_Face: Improve external stream handling.

View File

@ -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 )