Skip to content

Commit

Permalink
Add missing subset flag
Browse files Browse the repository at this point in the history
  • Loading branch information
khaledhosny committed Feb 3, 2024
1 parent f3e9145 commit 8916303
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/uharfbuzz/_harfbuzz.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -2446,6 +2446,7 @@ class SubsetFlags(IntFlag):
NOTDEF_OUTLINE = HB_SUBSET_FLAGS_NOTDEF_OUTLINE
GLYPH_NAMES = HB_SUBSET_FLAGS_GLYPH_NAMES
NO_PRUNE_UNICODE_RANGES = HB_SUBSET_FLAGS_NO_PRUNE_UNICODE_RANGES
NO_LAYOUT_CLOSURE = HB_SUBSET_FLAGS_NO_LAYOUT_CLOSURE
cdef class SubsetInput:
Expand Down
3 changes: 1 addition & 2 deletions src/uharfbuzz/charfbuzz.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -1192,8 +1192,7 @@ cdef extern from "hb-subset.h":
HB_SUBSET_FLAGS_NOTDEF_OUTLINE
HB_SUBSET_FLAGS_GLYPH_NAMES
HB_SUBSET_FLAGS_NO_PRUNE_UNICODE_RANGES
# Not supported yet: HB_SUBSET_FLAGS_PATCH_MODE
# Not supported yet: HB_SUBSET_FLAGS_OMIT_GLYF
HB_SUBSET_FLAGS_NO_LAYOUT_CLOSURE
ctypedef enum hb_subset_sets_t:
HB_SUBSET_SETS_GLYPH_INDEX
HB_SUBSET_SETS_UNICODE
Expand Down

0 comments on commit 8916303

Please sign in to comment.