From: Behdad Esfahbod Date: Wed, 31 May 2006 07:42:55 +0000 (+0000) Subject: Bug 341138 – Using TTC font, Gtk2 programs begin to eating big memory X-Git-Tag: 2.0_alpha~7^2~1332 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ffb2d5c1e7af33644d0a4058befa4b8358c9a7bf;p=apps%2Fcore%2Fpreloaded%2Fvideo-player.git Bug 341138 – Using TTC font, Gtk2 programs begin to eating big memory 2006-05-31 Behdad Esfahbod 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. --- diff --git a/src/ftglue.c b/src/ftglue.c index 31214b3..6444e67 100644 --- a/src/ftglue.c +++ b/src/ftglue.c @@ -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; } }