From: Patrick Lam Date: Fri, 2 Jun 2006 18:48:30 +0000 (+0000) Subject: 2006-05-31 Yong Li (rigel863@gmail.com) reviewed by: plam, Bedhad Esfahbod X-Git-Tag: 2.3.96~55 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=1c14f2d96390ebafb390a953aa9b847e4a7303d7;p=fontconfig.git 2006-05-31 Yong Li (rigel863@gmail.com) reviewed by: plam, Bedhad Esfahbod TrueType Collection table offsets are absolute, not relative. --- 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; } }