[HarfBuzz] harfbuzz: Branch 'master'
Behdad Esfahbod
behdad at kemper.freedesktop.org
Wed Oct 7 14:33:07 PDT 2015
src/hb-ot-font.cc | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
New commits:
commit 3224a594dcf2164b5585b4ccba34f244af3f61b9
Author: Behdad Esfahbod <behdad at behdad.org>
Date: Wed Oct 7 17:33:02 2015 -0400
Minor
diff --git a/src/hb-ot-font.cc b/src/hb-ot-font.cc
index 9cde838..3d861ec 100644
--- a/src/hb-ot-font.cc
+++ b/src/hb-ot-font.cc
@@ -238,10 +238,9 @@ struct hb_ot_font_t
static hb_ot_font_t *
-_hb_ot_font_create (hb_font_t *font)
+_hb_ot_font_create (hb_face_t *face)
{
hb_ot_font_t *ot_font = (hb_ot_font_t *) calloc (1, sizeof (hb_ot_font_t));
- hb_face_t *face = font->face;
if (unlikely (!ot_font))
return NULL;
@@ -423,7 +422,7 @@ _hb_ot_get_font_funcs (void)
void
hb_ot_font_set_funcs (hb_font_t *font)
{
- hb_ot_font_t *ot_font = _hb_ot_font_create (font);
+ hb_ot_font_t *ot_font = _hb_ot_font_create (font->face);
if (unlikely (!ot_font))
return;
More information about the HarfBuzz
mailing list