mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-28 17:19:17 +01:00
Merge branch 'master' into cff-subset
This commit is contained in:
commit
c06a5dff0b
19 files changed
+364
-138
No files matched your search
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user