Skip to content

Commit

Permalink
Print count
Browse files Browse the repository at this point in the history
  • Loading branch information
liZe committed Apr 18, 2024
1 parent e6238c2 commit 9882c89
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions testfont.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
int main() {
printf("start\n");
unsigned int *length;
unsigned int count;

printf("config\n");
FcConfig *config = FcInitLoadConfigAndFonts();
Expand Down Expand Up @@ -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");
Expand Down

0 comments on commit 9882c89

Please sign in to comment.