{"no-hinting",0,G_OPTION_FLAG_NO_ARG,G_OPTION_ARG_CALLBACK,(gpointer)&set_flag<HB_SUBSET_FLAGS_NO_HINTING>,"Whether to drop hints",nullptr},
{"retain-gids",0,G_OPTION_FLAG_NO_ARG,G_OPTION_ARG_CALLBACK,(gpointer)&set_flag<HB_SUBSET_FLAGS_RETAIN_GIDS>,"If set don't renumber glyph ids in the subset.",nullptr},
{"gids",0,0,G_OPTION_ARG_CALLBACK,(gpointer)&parse_gids,"Specify glyph IDs or ranges to include in the subset","list of comma/whitespace-separated int numbers or ranges"},
{"desubroutinize",0,G_OPTION_FLAG_NO_ARG,G_OPTION_ARG_CALLBACK,(gpointer)&set_flag<HB_SUBSET_FLAGS_DESUBROUTINIZE>,"Remove CFF/CFF2 use of subroutines",nullptr},
// gids-file
// glyphs
// glyphs-file
// text
// text-file
{nullptr}
};
parser->add_group(glyphset_entries,
"subset-glyphset",
"Subset glyph-set option:",
"Subsetting glyph-set options",
this);
GOptionEntryother_entries[]=
{
{"name-IDs",0,0,G_OPTION_ARG_CALLBACK,(gpointer)&parse_nameids,"Subset specified nameids","list of int numbers"},
{"name-IDs-",0,0,G_OPTION_ARG_CALLBACK,(gpointer)&parse_nameids,"Subset specified nameids","list of int numbers"},
{"name-IDs+",0,0,G_OPTION_ARG_CALLBACK,(gpointer)&parse_nameids,"Subset specified nameids","list of int numbers"},
{"drop-tables",0,0,G_OPTION_ARG_CALLBACK,(gpointer)&parse_drop_tables,"Drop the specified tables.","list of string table tags."},
{"drop-tables+",0,0,G_OPTION_ARG_CALLBACK,(gpointer)&parse_drop_tables,"Drop the specified tables.","list of string table tags."},
{"drop-tables-",0,0,G_OPTION_ARG_CALLBACK,(gpointer)&parse_drop_tables,"Drop the specified tables.","list of string table tags."},
{"num-iterations",'n',0,G_OPTION_ARG_INT,
&this->num_iterations,
"Run subsetter N times (default: 1)","N"},
{nullptr}
};
parser->add_group(other_entries,
"subset-other",
"Subset other option:",
"Subsetting other options",
this);
GOptionEntryflag_entries[]=
{
{"no-hinting",0,G_OPTION_FLAG_NO_ARG,G_OPTION_ARG_CALLBACK,(gpointer)&set_flag<HB_SUBSET_FLAGS_NO_HINTING>,"Whether to drop hints",nullptr},
{"retain-gids",0,G_OPTION_FLAG_NO_ARG,G_OPTION_ARG_CALLBACK,(gpointer)&set_flag<HB_SUBSET_FLAGS_RETAIN_GIDS>,"If set don't renumber glyph ids in the subset.",nullptr},
{"desubroutinize",0,G_OPTION_FLAG_NO_ARG,G_OPTION_ARG_CALLBACK,(gpointer)&set_flag<HB_SUBSET_FLAGS_DESUBROUTINIZE>,"Remove CFF/CFF2 use of subroutines",nullptr},
{"notdef-outline",0,G_OPTION_FLAG_NO_ARG,G_OPTION_ARG_CALLBACK,(gpointer)&set_flag<HB_SUBSET_FLAGS_NOTDEF_OUTLINE>,"Keep the outline of \'.notdef\' glyph",nullptr},