summaryrefslogtreecommitdiff
path: root/util/options.cc
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2018-01-10 03:35:20 +0100
committerBehdad Esfahbod <behdad@behdad.org>2018-01-10 03:36:03 +0100
commit3b1e97f364e5ffdc08b52f889e3fea80a7e83e99 (patch)
tree16f3d13845ebb0a5d7078888dd7adfcab9d1d94b /util/options.cc
parent46e4ed552fb1205eb6cbc16450bb231998fc7347 (diff)
downloadharfbuzz-3b1e97f364e5ffdc08b52f889e3fea80a7e83e99.tar.gz
Add HB_BUFFER_FLAG_REMOVE_DEFAULT_IGNORABLES
New API: HB_BUFFER_FLAG_REMOVE_DEFAULT_IGNORABLES hb-shape / hb-view --remove-default-ignorables One more text-rendering-tests test passing. Eleven failing.
Diffstat (limited to 'util/options.cc')
-rw-r--r--util/options.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/options.cc b/util/options.cc
index 23360d8f..f6360725 100644
--- a/util/options.cc
+++ b/util/options.cc
@@ -397,6 +397,7 @@ shape_options_t::add_options (option_parser_t *parser)
{"bot", 0, 0, G_OPTION_ARG_NONE, &this->bot, "Treat text as beginning-of-paragraph", nullptr},
{"eot", 0, 0, G_OPTION_ARG_NONE, &this->eot, "Treat text as end-of-paragraph", nullptr},
{"preserve-default-ignorables",0, 0, G_OPTION_ARG_NONE, &this->preserve_default_ignorables, "Preserve Default-Ignorable characters", nullptr},
+ {"remove-default-ignorables",0, 0, G_OPTION_ARG_NONE, &this->remove_default_ignorables, "Remove Default-Ignorable characters", nullptr},
{"utf8-clusters", 0, 0, G_OPTION_ARG_NONE, &this->utf8_clusters, "Use UTF8 byte indices, not char indices", nullptr},
{"cluster-level", 0, 0, G_OPTION_ARG_INT, &this->cluster_level, "Cluster merging level (default: 0)", "0/1/2"},
{"normalize-glyphs",0, 0, G_OPTION_ARG_NONE, &this->normalize_glyphs, "Rearrange glyph clusters in nominal order", nullptr},