From 734ba5ab48d6a54224e0bf85237b9fabd525cf5b Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 13 Oct 2024 20:01:19 -0600 Subject: [PATCH] [hb-info] Fix font face number recording for .dfont --- util/hb-info.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/hb-info.cc b/util/hb-info.cc index 0bfc2e9ed..cb5a98313 100644 --- a/util/hb-info.cc +++ b/util/hb-info.cc @@ -349,7 +349,7 @@ struct info_t : void _show_face_count () { - hb_blob_t *blob = hb_face_reference_table (face, HB_TAG_NONE); + hb_blob_t *blob = hb_blob_create_from_file (font_file); printf ("Face count: %u\n", hb_face_count (blob)); hb_blob_destroy (blob); }