From 9395bbaa6710ad3b7c8415340d068c467cc31f8f Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 19 Jan 2023 15:17:33 -0700 Subject: [PATCH] [hb-info] Format --- util/hb-info.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/util/hb-info.cc b/util/hb-info.cc index 7ee6e1edd..6ffd6e184 100644 --- a/util/hb-info.cc +++ b/util/hb-info.cc @@ -514,7 +514,7 @@ struct info_t if (verbose && count) { printf ("Varitation axes:\n\n"); - printf ("Tag Minimum Default Maximum Name\n------------------------------------\n"); + printf ("Tag Minimum Default Maximum Name\n------------------------------------\n"); } for (unsigned i = 0; i < count; i++) { @@ -549,6 +549,7 @@ struct info_t if (verbose) { printf ("\nNamed instances:\n\n"); + printf ("Index Name Position\n------------------------------------------------\n"); } for (unsigned i = 0; i < count; i++) @@ -566,7 +567,7 @@ struct info_t coords = (float *) calloc (coords_count, sizeof (float)); 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++) printf ("%g, ", (double) coords[j]); printf ("\n");