forked from minhngoc25a/freetype2
* src/sfnt/ttload.c (tt_face_load_font_dir): Fix sign typos.
This commit is contained in:
parent
bd3849e7de
commit
c799dd6725
|
@ -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.
|
||||
|
|
|
@ -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 )
|
||||
|
|
Loading…
Reference in New Issue