mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-06 05:55:06 +00:00
[subset] set no prune unicode ranges flag in preprocessor.
To avoid modifying the original unicode range values in the source font.
This commit is contained in:
parent
8c021462e6
commit
c097abab52
1 changed files with 2 additions and 1 deletions
|
@ -500,7 +500,8 @@ hb_subset_preprocess (hb_face_t *source)
|
|||
hb_subset_input_set_flags(input,
|
||||
HB_SUBSET_FLAGS_NOTDEF_OUTLINE |
|
||||
HB_SUBSET_FLAGS_GLYPH_NAMES |
|
||||
HB_SUBSET_FLAGS_RETAIN_GIDS);
|
||||
HB_SUBSET_FLAGS_RETAIN_GIDS |
|
||||
HB_SUBSET_FLAGS_NO_PRUNE_UNICODE_RANGES);
|
||||
input->attach_accelerator_data = true;
|
||||
|
||||
// Always use long loca in the preprocessed version. This allows
|
||||
|
|
Loading…
Add table
Reference in a new issue