[util/hb-subset] Minor move parsing

This commit is contained in:
Behdad Esfahbod 2021-08-12 10:58:19 -06:00
parent 3f94177ee8
commit 1cb621d35d
1 changed files with 7 additions and 2 deletions

View File

@ -46,10 +46,15 @@ struct subset_main_t : option_parser_t, face_options_t, output_options_t<false>
hb_subset_input_destroy (input); hb_subset_input_destroy (input);
} }
int operator () (int argc, char **argv) void parse (int argc, char **argv)
{ {
add_options (); add_options ();
parse (&argc, &argv); option_parser_t::parse (&argc, &argv);
}
int operator () (int argc, char **argv)
{
parse (argc, argv);
hb_face_t *new_face = nullptr; hb_face_t *new_face = nullptr;
for (unsigned i = 0; i < num_iterations; i++) for (unsigned i = 0; i < num_iterations; i++)