From ba055a8d53595ab49747ed3e02d90c9b6a3cf4f3 Mon Sep 17 00:00:00 2001 From: Michiharu Ariza Date: Mon, 22 Oct 2018 16:20:04 -0700 Subject: [PATCH] fix build attempt ^3 --- test/api/test-ot-extents-cff.c | 2 +- test/api/test-subset-cff1.c | 1 + test/api/test-subset-cff2.c | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/test/api/test-ot-extents-cff.c b/test/api/test-ot-extents-cff.c index fe44a5a0..259437c4 100644 --- a/test/api/test-ot-extents-cff.c +++ b/test/api/test-ot-extents-cff.c @@ -157,7 +157,7 @@ test_extents_cff2_vsindex (void) hb_glyph_extents_t extents; float coords[2] = { 800.0f, 50.0f }; hb_font_set_var_coords_design (font, coords, 2); - bool result = hb_font_get_glyph_extents (font, 1, &extents); + hb_bool_t result = hb_font_get_glyph_extents (font, 1, &extents); g_assert (result); g_assert_cmpint (extents.x_bearing, ==, 11); diff --git a/test/api/test-subset-cff1.c b/test/api/test-subset-cff1.c index 2089d308..8f0c1b60 100644 --- a/test/api/test-subset-cff1.c +++ b/test/api/test-subset-cff1.c @@ -25,6 +25,7 @@ */ #include "hb-test.h" +#include "hb-subset-test.h" /* Unit tests for CFF subsetting */ diff --git a/test/api/test-subset-cff2.c b/test/api/test-subset-cff2.c index a909b73d..dafb32b6 100644 --- a/test/api/test-subset-cff2.c +++ b/test/api/test-subset-cff2.c @@ -25,6 +25,7 @@ */ #include "hb-test.h" +#include "hb-subset-test.h" /* Unit tests for CFF2 subsetting */ -- GitLab