]> git.wh0rd.org Git - fontconfig.git/commitdiff
2006-05-31 Yong Li (rigel863@gmail.com) reviewed by: plam, Bedhad Esfahbod
authorPatrick Lam <plam@MIT.EDU>
Fri, 2 Jun 2006 18:48:30 +0000 (18:48 +0000)
committerPatrick Lam <plam@MIT.EDU>
Fri, 2 Jun 2006 18:48:30 +0000 (18:48 +0000)
TrueType Collection table offsets are absolute, not relative.

ChangeLog
src/ftglue.c

index 52ac61d827ba8dfc4cdf1f79f8df76e10800240d..992a5eec59a36a192d7d2d948eff042c0c1fc8e5 100644 (file)
--- 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
        
index 0ad935ef2625a48e00603858869fb4f5bfb02c6f..413a933ab1b02e3b6171ec82faf86632196650fd 100644 (file)
@@ -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;
       }
     }