From 9882c89eae301e127d5195748a52393c8212b09c Mon Sep 17 00:00:00 2001 From: Guillaume Ayoub Date: Thu, 18 Apr 2024 15:29:13 +0200 Subject: [PATCH] Print count --- testfont.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/testfont.c b/testfont.c index 0fb60b19f..7bef179eb 100644 --- a/testfont.c +++ b/testfont.c @@ -6,6 +6,7 @@ int main() { printf("start\n"); unsigned int *length; + unsigned int count; printf("config\n"); FcConfig *config = FcInitLoadConfigAndFonts(); @@ -36,6 +37,8 @@ int main() { hb_face_t *hb_face = hb_font_get_face(hb_font); printf("reference blob\n"); hb_blob_t *hb_blob = hb_face_reference_blob(hb_face); + count = hb_face_get_glyph_count (hb_face); + printf("count: %u\n", count); printf("get data\n"); if (hb_blob) { printf("not null\n");