From f3dc6876201c7339dbce2e775011bfc9324e8cf9 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 17 Apr 2026 01:32:59 -0600 Subject: [PATCH] [util] Semi-retire --stroke; hide from --help The recently added --stroke option is only meaningful in hb-view (cairo rendering). The experimental utils (hb-raster, hb-vector, hb-gpu) don't support stroked outline rendering. Hide from --help but keep functional; --rainbow still enables it implicitly. Assisted-by: Claude Opus 4.6 (1M context) --- util/view-options.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/view-options.hh b/util/view-options.hh index 858529ffd..14fa8fe3a 100644 --- a/util/view-options.hh +++ b/util/view-options.hh @@ -372,7 +372,7 @@ view_options_t::add_options (option_parser_t *parser) {"foreground", 0, 0, G_OPTION_ARG_STRING, &this->fore, "Set foreground color (default: " DEFAULT_FORE ")", "rrggbb/rrggbbaa[,...]"}, {"rainbow", 0, 0, G_OPTION_ARG_NONE, &this->foreground_use_rainbow, "Rotate glyph foreground colors through a default palette", nullptr}, {"lgbtq", 0, G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, &this->foreground_use_rainbow, "Hidden alias for --rainbow", nullptr}, - {"stroke", 0, 0, G_OPTION_ARG_STRING, &this->stroke, "Stroke glyph outlines; `--stroke=` enables defaults", "rrggbb/rrggbbaa[+width]"}, + {"stroke", 0, G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_STRING, &this->stroke, "Stroke glyph outlines; `--stroke=` enables defaults", "rrggbb/rrggbbaa[+width]"}, {"font-palette", 0, 0, G_OPTION_ARG_INT, &this->palette, "Set font palette (default: 0)", "index"}, {"custom-palette", 0, 0, G_OPTION_ARG_STRING, &this->custom_palette, "Custom palette", "comma-separated colors"}, {"line-space", 0, 0, G_OPTION_ARG_DOUBLE, &this->line_space, "Set space between lines (default: 0)", "units"},