ref: c799dd67259fbb0c194e2665d68d2585dd074bf4
parent: bd3849e7deefcb3c772e77f14fdbf102bead389d
author: Behdad Esfahbod <[email protected]>
date: Tue Aug 27 17:46:03 EDT 2013
* src/sfnt/ttload.c (tt_face_load_font_dir): Fix sign typos.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2013-08-27 Behdad Esfahbod <[email protected]>
+ * src/sfnt/ttload.c (tt_face_load_font_dir): Fix sign typos.
+
+2013-08-27 Behdad Esfahbod <[email protected]>
+
FT_Open_Face: Improve external stream handling.
If the font's `clazz->init_face' function wants to swap to new
--- 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 )