From 66130edd88a9affc45839d6175e69e5bb4709adf Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Thu, 22 Oct 2026 16:51:56 +0300 Subject: [PATCH] [beyond-64k] Enable by default --- src/hb-config.hh | 1 - test/api/test-be-num-glyphs.c | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/hb-config.hh b/src/hb-config.hh index 161766fd0..b2de52db2 100644 --- a/src/hb-config.hh +++ b/src/hb-config.hh @@ -36,7 +36,6 @@ #endif #ifndef HB_EXPERIMENTAL_API -#define HB_NO_BEYOND_64K #define HB_NO_CUBIC_GLYF #define HB_NO_SUBSET_DEPEND #endif diff --git a/test/api/test-be-num-glyphs.c b/test/api/test-be-num-glyphs.c index f98fcabe8..be673dbb0 100644 --- a/test/api/test-be-num-glyphs.c +++ b/test/api/test-be-num-glyphs.c @@ -256,9 +256,11 @@ test_GLYF_and_LOCA (void) hb_face_destroy (face); g_assert_true (hb_font_get_glyph_extents (font, 0, &extents)); g_assert_cmpint (extents.width, ==, 13); +#ifndef HB_NO_CUBIC_GLYF cubic_count = 0; hb_font_draw_glyph (font, 0, draw_funcs, &cubic_count); g_assert_cmpuint (cubic_count, ==, 1); +#endif hb_font_destroy (font); face = create_glyf_face (TRUE, FALSE);