From bd35da613da4e94dec47f9966efe4dade1847f07 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 2 Oct 2026 11:22:24 -0600 Subject: [PATCH] [test] Remove disabled advance checks from the obsolete proposal Delete the remaining dead assertions for the old beyond-64K hmtx extension, along with their stale adaptation comment. The current specification uses separate capital-letter tables. Leave the active legacy-table assertions and fixture unchanged. Testing: full Meson suite: 281 passed, one skipped. Assisted-by: OpenAI Codex --- test/api/test-be-glyph-advance.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/test/api/test-be-glyph-advance.c b/test/api/test-be-glyph-advance.c index 930f87f21..918e8ea1f 100644 --- a/test/api/test-be-glyph-advance.c +++ b/test/api/test-be-glyph-advance.c @@ -77,14 +77,6 @@ test_maxp_and_hmtx (void) g_assert_cmpuint (hb_font_get_glyph_h_advance (font, 2), ==, 3); g_assert_cmpuint (hb_font_get_glyph_h_advance (font, 3), ==, 3); g_assert_cmpuint (hb_font_get_glyph_h_advance (font, 4), ==, 3); -#if 0 - /* These checks belonged to an old beyond-64k proposal that has since - * changed. The library code needs to adapt before testing this behavior. - */ - g_assert_cmpuint (hb_font_get_glyph_h_advance (font, 5), ==, 8); - g_assert_cmpuint (hb_font_get_glyph_h_advance (font, 6), ==, 9); - g_assert_cmpuint (hb_font_get_glyph_h_advance (font, 7), ==, 9); -#endif g_assert_cmpuint (hb_font_get_glyph_h_advance (font, 8), ==, 0); g_assert_cmpuint (hb_font_get_glyph_h_advance (font, 9), ==, 0); g_assert_cmpuint (hb_font_get_glyph_h_advance (font,10), ==, 0);