Bug 341138 – Using TTC font, Gtk2 programs begin to eating big memory

2006-05-31  Behdad Esfahbod  <behdad@gnome.org>

        Bug 341138 – Using TTC font, Gtk2 programs begin to eating big memory
        and have many cpu usage.
        Patch from Yong Li.

        * pango/opentype/ftglue.c (_hb_ftglue_face_goto_table): TrueType table
        offsets are absolute, not relative.
This commit is contained in:
Behdad Esfahbod 2006-05-31 07:42:55 +00:00 committed by Behdad Esfahbod
parent f8f7bd2451
commit ffb2d5c1e7
1 changed files with 1 additions and 1 deletions

View File

@ -281,7 +281,7 @@ _hb_ftglue_face_goto_table( FT_Face face,
if ( tag == the_tag )
{
LOG(( "TrueType table (start: %ld) (size: %ld)\n", start, size ));
error = _hb_ftglue_stream_seek( stream, offset+start );
error = _hb_ftglue_stream_seek( stream, start );
goto FoundIt;
}
}