From 90356eb226f633c8a7c9250b2653da75eaf51cfb Mon Sep 17 00:00:00 2001 From: Garret Rieger Date: Fri, 14 Apr 2023 20:52:35 +0000 Subject: [PATCH] [subset] Note --no-layout-closure is only for GSUB. --- src/hb-subset.h | 2 +- util/hb-subset.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hb-subset.h b/src/hb-subset.h index d64ea7b06..24a5621ac 100644 --- a/src/hb-subset.h +++ b/src/hb-subset.h @@ -72,7 +72,7 @@ typedef struct hb_subset_plan_t hb_subset_plan_t; * @HB_SUBSET_FLAGS_NO_PRUNE_UNICODE_RANGES: If set then the unicode ranges in * OS/2 will not be recalculated. * @HB_SUBSET_FLAGS_NO_LAYOUT_CLOSURE: If set don't perform glyph closure on layout - * tables (GSUB, GPOS, GDEF). + * substitution rules (GSUB). * * List of boolean properties that can be configured on the subset input. * diff --git a/util/hb-subset.cc b/util/hb-subset.cc index 1c2485d63..cdab3efde 100644 --- a/util/hb-subset.cc +++ b/util/hb-subset.cc @@ -941,7 +941,7 @@ subset_main_t::add_options () {"set-overlaps-flag", 0, G_OPTION_FLAG_NO_ARG, G_OPTION_ARG_CALLBACK, (gpointer) &set_flag, "Set the overlaps flag on each glyph.", nullptr}, {"notdef-outline", 0, G_OPTION_FLAG_NO_ARG, G_OPTION_ARG_CALLBACK, (gpointer) &set_flag, "Keep the outline of \'.notdef\' glyph", nullptr}, {"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}, - {"no-layout-closure", 0, G_OPTION_FLAG_NO_ARG, G_OPTION_ARG_CALLBACK, (gpointer) &set_flag, "Don't perform glyph closure for layout tables (GSUB, GPOS, GDEF).", nullptr}, + {"no-layout-closure", 0, G_OPTION_FLAG_NO_ARG, G_OPTION_ARG_CALLBACK, (gpointer) &set_flag, "Don't perform glyph closure for layout substitution (GSUB).", 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, G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, &this->preprocess,