[util] Print named-instance index in --list-variations

This commit is contained in:
Behdad Esfahbod 2023-01-15 10:45:47 -07:00
parent d195e077e9
commit 40bf30bfeb
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ _list_variations (hb_face_t *face)
coords.resize (coords_count);
hb_ot_var_named_instance_get_design_coords (face, i, &coords_count, coords.arrayZ);
printf ("%-32s", name);
printf ("%u. %-32s", i, name);
for (unsigned j = 0; j < coords.length; j++)
printf ("%g, ", (double) coords[j]);
printf ("\n");