Bug 341138 – Using TTC font, Gtk2 programs begin to eating big memory
authorBehdad Esfahbod <behdad@gnome.org>
Wed, 31 May 2006 07:42:55 +0000 (07:42 +0000)
committerBehdad Esfahbod <behdad@src.gnome.org>
Wed, 31 May 2006 07:42:55 +0000 (07:42 +0000)
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.

ChangeLog
pango/opentype/ftglue.c

index f95373c..efeb351 100644 (file)
--- 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.
index 31214b3..6444e67 100644 (file)
@@ -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;
       }
     }