diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2006-05-31 07:42:55 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2006-05-31 07:42:55 +0000 |
commit | f1c30092b3ed327d2853d3b4dff4b7f00f6b01a4 (patch) | |
tree | 891ebbdabd53c53eb738883ed08601d0ddb980aa /pango | |
parent | 60d2705f65297bf95def0a433d6830861e3d5e86 (diff) | |
download | pango-f1c30092b3ed327d2853d3b4dff4b7f00f6b01a4.tar.gz |
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.
Diffstat (limited to 'pango')
-rw-r--r-- | pango/opentype/ftglue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/opentype/ftglue.c b/pango/opentype/ftglue.c index 31214b3e..6444e67d 100644 --- a/pango/opentype/ftglue.c +++ b/pango/opentype/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; } } |