diff --git a/util/hb-subset.cc b/util/hb-subset.cc index fed219bdc..8cc13c1c9 100644 --- a/util/hb-subset.cc +++ b/util/hb-subset.cc @@ -1024,15 +1024,19 @@ subset_main_t::add_options () {"drop-tables", 0, 0, G_OPTION_ARG_CALLBACK, (gpointer) &parse_drop_tables, "Drop the specified tables. Use --drop-tables-=... to subtract from the current set.", "list of string table tags or *"}, {"drop-tables+", 0, G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_CALLBACK, (gpointer) &parse_drop_tables, "Drop the specified tables.", "list of string table tags or *"}, {"drop-tables-", 0, G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_CALLBACK, (gpointer) &parse_drop_tables, "Drop the specified tables.", "list of string table tags or *"}, -#ifndef HB_NO_VAR - {"instance", 0, 0, G_OPTION_ARG_CALLBACK, (gpointer) &parse_instance, - "(Partially|Fully) Instantiate a variable font. A location consists of the tag of a variation axis, followed by '=', followed by a\n" - "number or the literal string 'drop'\n" - " " - "For example: --instance=\"wdth=100 wght=200\" or --instance=\"wdth=drop\"\n" - " " - "Note: currently only fully instancing is supported\n", - "list of comma separated axis-locations"}, +#ifndef HB_NO_VAR + {"variations", 0, 0, G_OPTION_ARG_CALLBACK, (gpointer) &parse_instance, + "(Partially|Fully) Instantiate a variable font. A location consists of the tag " + "of a variation axis, followed by '=', followed by a number or the literal " + "string 'drop'. For example: --variations=\"wdth=100 wght=200\" or --instance=\"wdth=drop\"" +#ifndef HB_EXPERIMENTAL_API + "\n\nNote: currently only full instancing is supported unless this util has been compiled with experimental api enabled." +#endif + , + "list of comma separated axis-locations." + }, + {"instance", 0, G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_CALLBACK, (gpointer) &parse_instance, + "Alias for --variations.", "list of comma separated axis-locations"}, #endif {nullptr} };