[hb-info] Format
This commit is contained in:
parent
d7cf69ede2
commit
9395bbaa67
|
@ -549,6 +549,7 @@ struct info_t
|
||||||
if (verbose)
|
if (verbose)
|
||||||
{
|
{
|
||||||
printf ("\nNamed instances:\n\n");
|
printf ("\nNamed instances:\n\n");
|
||||||
|
printf ("Index Name Position\n------------------------------------------------\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
for (unsigned i = 0; i < count; i++)
|
for (unsigned i = 0; i < count; i++)
|
||||||
|
@ -566,7 +567,7 @@ struct info_t
|
||||||
coords = (float *) calloc (coords_count, sizeof (float));
|
coords = (float *) calloc (coords_count, sizeof (float));
|
||||||
hb_ot_var_named_instance_get_design_coords (face, i, &coords_count, coords);
|
hb_ot_var_named_instance_get_design_coords (face, i, &coords_count, coords);
|
||||||
|
|
||||||
printf ("%u. %-32s", i, name);
|
printf ("%u %-32s", i, name);
|
||||||
for (unsigned j = 0; j < coords_count; j++)
|
for (unsigned j = 0; j < coords_count; j++)
|
||||||
printf ("%g, ", (double) coords[j]);
|
printf ("%g, ", (double) coords[j]);
|
||||||
printf ("\n");
|
printf ("\n");
|
||||||
|
|
Loading…
Reference in New Issue