[HarfBuzz] harfbuzz: Branch 'master' - 2 commits
Behdad Esfahbod
behdad at kemper.freedesktop.org
Tue Jul 30 11:48:49 PDT 2013
src/hb-coretext.cc | 2 ++
util/hb-ot-shape-closure.cc | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
New commits:
commit c461371419d186811d4bfc768e26535f48a807f4
Author: Behdad Esfahbod <behdad at behdad.org>
Date: Tue Jul 30 14:48:23 2013 -0400
[CoreText] Don't leak the CTLine object (and everything that hangs off it)
Patch from Jonathan Kew.
diff --git a/src/hb-coretext.cc b/src/hb-coretext.cc
index 66db97b..e99a905 100644
--- a/src/hb-coretext.cc
+++ b/src/hb-coretext.cc
@@ -348,5 +348,7 @@ _hb_coretext_shape (hb_shape_plan_t *shape_plan,
}
}
+ CFRelease (line);
+
return true;
}
commit 5fbc952524ac8840f007dc0136823a4ab6e25f70
Author: Behdad Esfahbod <behdad at behdad.org>
Date: Mon Jul 29 14:34:40 2013 -0400
Fix glyph name printing in hb-ot-shape-closure
diff --git a/util/hb-ot-shape-closure.cc b/util/hb-ot-shape-closure.cc
index 7c81a7d..03de7e6 100644
--- a/util/hb-ot-shape-closure.cc
+++ b/util/hb-ot-shape-closure.cc
@@ -82,7 +82,7 @@ struct shape_closure_consumer_t : option_group_t
if (show_glyph_names)
{
char glyph_name[64];
- hb_font_get_glyph_name (font, i, glyph_name, sizeof (glyph_name));
+ hb_font_glyph_to_string (font, i, glyph_name, sizeof (glyph_name));
printf ("%s", glyph_name);
} else
printf ("%u", i);
More information about the HarfBuzz
mailing list