From 1c14f2d96390ebafb390a953aa9b847e4a7303d7 Mon Sep 17 00:00:00 2001 From: Patrick Lam Date: Fri, 2 Jun 2006 18:48:30 +0000 Subject: [PATCH] 2006-05-31 Yong Li (rigel863@gmail.com) reviewed by: plam, Bedhad Esfahbod TrueType Collection table offsets are absolute, not relative. --- ChangeLog | 7 +++++++ src/ftglue.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 52ac61d..992a5ee 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2006-05-31 Yong Li (rigel863@gmail.com) + reviewed by: plam, Bedhad Esfahbod + + * src/ftglue.c (_hb_ftglue_face_goto_table): + + TrueType Collection table offsets are absolute, not relative. + 2006-04-27 Paolo Borelli (pborelli@katamail.com) reviewed by: plam diff --git a/src/ftglue.c b/src/ftglue.c index 0ad935e..413a933 100644 --- a/src/ftglue.c +++ b/src/ftglue.c @@ -290,7 +290,7 @@ ftglue_face_goto_table( FT_Face face, if ( tag == the_tag ) { LOG(( "TrueType table (start: %ld) (size: %ld)\n", start, size )); - error = ftglue_stream_seek( stream, offset+start ); + error = ftglue_stream_seek( stream, start ); goto FoundIt; } } -- 2.39.5