2006-05-31 Yong Li (rigel863@gmail.com) reviewed by: plam, Bedhad Esfahbod

TrueType Collection table offsets are absolute, not relative.
This commit is contained in:
Patrick Lam 2006-06-02 18:48:30 +00:00
parent 31b7e6d7f5
commit 1c14f2d963
2 changed files with 8 additions and 1 deletions

View File

@ -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

View 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;
}
}