From 8cfb0ed07289dc8982003e53277f064b65a7a1eb Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 24 Jan 2023 11:24:31 -0700 Subject: [PATCH] [hb-view] --annotate enables --show-extents --- util/view-options.hh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/util/view-options.hh b/util/view-options.hh index 2cb7cd234..d5c3cdde7 100644 --- a/util/view-options.hh +++ b/util/view-options.hh @@ -44,6 +44,12 @@ struct view_options_t void add_options (option_parser_t *parser); + void post_parse (GError **error) + { + if (annotate) + show_extents = true; + } + hb_bool_t annotate = false; char *fore = nullptr; char *back = nullptr;