mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-10 23:31:41 +00:00
[instancer] add a flag HB_SUBSET_FLAGS_IUP_DELTA_OPT
This commit is contained in:
parent
93a148cde6
commit
c7a6030b31
2 changed files with 4 additions and 0 deletions
|
@ -76,6 +76,8 @@ typedef struct hb_subset_plan_t hb_subset_plan_t;
|
|||
* @HB_SUBSET_FLAGS_IFTB_REQUIREMENTS: If set enforce requirements on the output subset
|
||||
* to allow it to be used with incremental font transfer IFTB patches. Primarily,
|
||||
* this forces all outline data to use long (32 bit) offsets. Since: EXPERIMENTAL
|
||||
* @HB_SUBSET_FLAGS_IUP_DELTA_OPT: If set perform IUP delta optimization on the
|
||||
* remaining gvar table's deltas. Since: EXPERIMENTAL
|
||||
*
|
||||
* List of boolean properties that can be configured on the subset input.
|
||||
*
|
||||
|
@ -95,6 +97,7 @@ typedef enum { /*< flags >*/
|
|||
HB_SUBSET_FLAGS_NO_LAYOUT_CLOSURE = 0x00000200u,
|
||||
#ifdef HB_EXPERIMENTAL_API
|
||||
HB_SUBSET_FLAGS_IFTB_REQUIREMENTS = 0x00000400u,
|
||||
HB_SUBSET_FLAGS_IUP_DELTA_OPT = 0x00000800u,
|
||||
#endif
|
||||
} hb_subset_flags_t;
|
||||
|
||||
|
|
|
@ -963,6 +963,7 @@ subset_main_t::add_options ()
|
|||
"If set preprocesses the face with the add accelerator option before actually subsetting.", nullptr},
|
||||
#ifdef HB_EXPERIMENTAL_API
|
||||
{"iftb-requirements", 0, G_OPTION_FLAG_NO_ARG, G_OPTION_ARG_CALLBACK, (gpointer) &set_flag<HB_SUBSET_FLAGS_IFTB_REQUIREMENTS>, "Enforce requirements needed to use the subset with incremental font transfer IFTB patches.", nullptr},
|
||||
{"optimize", 0, G_OPTION_FLAG_NO_ARG, G_OPTION_ARG_CALLBACK, (gpointer) &set_flag<HB_SUBSET_FLAGS_IUP_DELTA_OPT>, "perform IUP delta optimization on the remaining gvar table's deltas", nullptr},
|
||||
#endif
|
||||
{nullptr}
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue