From d87add41b3ff6ce19cf387cf20542525e8237b14 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 1 Jan 2023 16:27:26 -0700 Subject: [PATCH] [hb-subset] Rename --preprocess-face to --preprocess Keep old name working but hidden. --- util/hb-subset.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/util/hb-subset.cc b/util/hb-subset.cc index 2f90048bd..7b57a2772 100644 --- a/util/hb-subset.cc +++ b/util/hb-subset.cc @@ -927,7 +927,9 @@ subset_main_t::add_options () {"no-prune-unicode-ranges", 0, G_OPTION_FLAG_NO_ARG, G_OPTION_ARG_CALLBACK, (gpointer) &set_flag, "Don't change the 'OS/2 ulUnicodeRange*' bits.", nullptr}, {"glyph-names", 0, G_OPTION_FLAG_NO_ARG, G_OPTION_ARG_CALLBACK, (gpointer) &set_flag, "Keep PS glyph names in TT-flavored fonts. ", nullptr}, {"passthrough-tables", 0, G_OPTION_FLAG_NO_ARG, G_OPTION_ARG_CALLBACK, (gpointer) &set_flag, "Do not drop tables that the tool does not know how to subset.", nullptr}, - {"preprocess-face", 0, 0, G_OPTION_ARG_NONE, &this->preprocess, + {"preprocess-face", 0, G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, &this->preprocess, + "Alternative name for --preprocess.", nullptr}, + {"preprocess", 0, 0, G_OPTION_ARG_NONE, &this->preprocess, "If set preprocesses the face with the add accelerator option before actually subsetting.", nullptr}, {nullptr} };