Merge branch 'master' into cff-subset

This commit is contained in:
Michiharu Ariza committed 2018-10-09 22:00:10 -07:00
commit c06a5dff0b
19 files changed
+364 -138

No files matched your search

+4 -7
View File
@@ -34,8 +34,8 @@
#include <hb-ot.h>
#include <glib.h>
static char *font_path = "fonts/Inconsolata-Regular.abc.ttf";
static char *text = "abc";
static const char *font_path = "fonts/Inconsolata-Regular.abc.ttf";
static const char *text = "abc";
static int num_threads = 30;
static int num_iters = 200;
@@ -164,11 +164,8 @@ main (int argc, char **argv)
test_body ();
/* hb-font backed by FreeType functions can only be used from
* one thread at a time, because that's FT_Face's MT guarantee.
* So, disable this, even though it works "most of the time". */
//hb_ft_font_set_funcs (font);
//test_body ();
hb_ft_font_set_funcs (font);
test_body ();
hb_buffer_destroy (ref_buffer);