mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-23 07:51:10 +01: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:
1 parent
8c021462e6
commit
c097abab52
1 file changed
+2
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user