summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2006-05-31 07:44:14 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2006-05-31 07:44:14 +0000
commit88790d7e97caa9a9674cc938dcce7f6b1cb840ed (patch)
treec870ab1ab22cd82e710d3f509cbadd9344f017a2
parent609b20078ee911d6cedc02009fc4703a6ee19a60 (diff)
downloadpango-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--ChangeLog9
-rw-r--r--pango/opentype/ftglue.c2
2 files changed, 10 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 40568a90..dc94e68e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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;
}
}