From 1e1438c4fb7ed6fdcfcd8d6ae53eb9ed8d3a8a93 Mon Sep 17 00:00:00 2001 From: Garret Rieger Date: Thu, 26 Aug 2021 14:59:29 -0600 Subject: [PATCH] [subset] fix --*-file options in hb-subset. (#3176) The previous change to add -/+ versions of each set type broke all of the --*-file input options since all of the parse functions now default to replacing the set if the + variant is not being used. This fixes the issue by changing parse_file_for to pass '+' as the name to the parsing function. This triggers the append mode. --- util/hb-subset.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/hb-subset.cc b/util/hb-subset.cc index ce2c9e2dc..d3a9cbcdb 100644 --- a/util/hb-subset.cc +++ b/util/hb-subset.cc @@ -660,7 +660,7 @@ parse_file_for (const char *name, *comment = '\0'; } - line_parser (name, gs->str, data, error); + line_parser ("+", gs->str, data, error); if (*error) break;