mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-26 01:11:25 +01:00
[beyond-64k] Enable by default
This commit is contained in:
1 parent
a44718d876
commit
66130edd88
2 files changed
+2
-1
No files matched your search
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user