projects
/
platform
/
upstream
/
libHarfBuzzSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2452543
)
Minor
author
Behdad Esfahbod
<behdad@behdad.org>
Fri, 20 Jan 2017 00:48:01 +0000
(16:48 -0800)
committer
Behdad Esfahbod
<behdad@behdad.org>
Fri, 20 Jan 2017 00:48:01 +0000
(16:48 -0800)
test/api/test-ot-math.c
patch
|
blob
|
history
diff --git
a/test/api/test-ot-math.c
b/test/api/test-ot-math.c
index
049656a
..
cfac109
100644
(file)
--- a/
test/api/test-ot-math.c
+++ b/
test/api/test-ot-math.c
@@
-70,12
+70,13
@@
openFont(const char* fontFile)
if ((ft_error = FT_Set_Char_Size (ft_face, 2000, 1000, 0, 0)))
abort();
hb_font = hb_ft_font_create (ft_face, NULL);
- hb_face = hb_f
t_face_create_cached(ft_face
);
+ hb_face = hb_f
ace_reference (hb_font_get_face (hb_font)
);
}
static inline void
closeFont (void)
{
+ hb_face_destroy (hb_face);
hb_font_destroy (hb_font);
FT_Done_Face (ft_face);
}