summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2006-05-31 07:42:55 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2006-05-31 07:42:55 +0000
commitf1c30092b3ed327d2853d3b4dff4b7f00f6b01a4 (patch)
tree891ebbdabd53c53eb738883ed08601d0ddb980aa
parent60d2705f65297bf95def0a433d6830861e3d5e86 (diff)
downloadpango-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.
-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 f95373ce..efeb351f 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 (_hb_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 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;
}
}