From 27012526f9b3848676bc2a4fb8e68c630af18620 Mon Sep 17 00:00:00 2001 From: Rod Sheeter Date: Wed, 14 Feb 2018 19:01:00 -0800 Subject: [PATCH] [subset] whitespace --- test/api/test-subset-hmtx.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/test/api/test-subset-hmtx.c b/test/api/test-subset-hmtx.c index 24a99c37c..099b57de5 100644 --- a/test/api/test-subset-hmtx.c +++ b/test/api/test-subset-hmtx.c @@ -42,7 +42,7 @@ static void check_num_hmetrics(hb_face_t *face, uint16_t expected_num_hmetrics) uint8_t *raw_hhea = (uint8_t *) hb_blob_get_data(hhea_blob, &hhea_len); uint16_t num_hmetrics = (raw_hhea[hhea_len - 2] << 8) + raw_hhea[hhea_len - 1]; g_assert_cmpuint(expected_num_hmetrics, ==, num_hmetrics); - + hb_blob_destroy (hhea_blob); hb_blob_destroy (hmtx_blob); } @@ -78,15 +78,14 @@ test_subset_hmtx_monospace (void) hb_set_add (codepoints, 'a'); hb_set_add (codepoints, 'c'); hb_face_t *face_abc_subset = hb_subset_test_create_subset (face_abc, codepoints); - hb_set_destroy (codepoints); + hb_set_destroy (codepoints); check_num_hmetrics(face_abc_subset, 1); /* everything has same width */ hb_subset_test_check (face_ac, face_abc_subset, HB_TAG ('h','m','t','x')); - // TODO hhea hb_face_destroy (face_abc_subset); hb_face_destroy (face_abc); - hb_face_destroy (face_ac); + hb_face_destroy (face_ac); }