[beyond-64k] Enable by default

This commit is contained in:
Khaled Hosny committed 2026-10-22 19:31:32 +03:00
1 parent a44718d876
commit 66130edd88
2 files changed
+2 -1

No files matched your search

-1
View File
@@ -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
+2
View File
@@ -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);