diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2006-05-31 07:44:14 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2006-05-31 07:44:14 +0000 |
commit | 88790d7e97caa9a9674cc938dcce7f6b1cb840ed (patch) | |
tree | c870ab1ab22cd82e710d3f509cbadd9344f017a2 | |
parent | 609b20078ee911d6cedc02009fc4703a6ee19a60 (diff) | |
download | pango-88790d7e97caa9a9674cc938dcce7f6b1cb840ed.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 (ftglue_face_goto_table): TrueType table
offsets are absolute, not relative.
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | pango/opentype/ftglue.c | 2 |
2 files changed, 10 insertions, 1 deletions
@@ -1,5 +1,14 @@ 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 (ftglue_face_goto_table): TrueType table + offsets are absolute, not relative. + +2006-05-31 Behdad Esfahbod <behdad@gnome.org> + Bug 336153 – Mark to mark positioning (Lookup Type 6) isn't correct when using MarkAttchmentType Patch from Tin Myo Htet. diff --git a/pango/opentype/ftglue.c b/pango/opentype/ftglue.c index b3fd5b2d..76a62001 100644 --- a/pango/opentype/ftglue.c +++ b/pango/opentype/ftglue.c @@ -331,7 +331,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; } } |