From 8916303a2bf7999d7f73ee9b9c43ffb47db34e69 Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Sat, 3 Feb 2024 20:43:23 +0200 Subject: [PATCH] Add missing subset flag --- src/uharfbuzz/_harfbuzz.pyx | 1 + src/uharfbuzz/charfbuzz.pxd | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/uharfbuzz/_harfbuzz.pyx b/src/uharfbuzz/_harfbuzz.pyx index 1ffcd26..cbe3bf3 100644 --- a/src/uharfbuzz/_harfbuzz.pyx +++ b/src/uharfbuzz/_harfbuzz.pyx @@ -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: diff --git a/src/uharfbuzz/charfbuzz.pxd b/src/uharfbuzz/charfbuzz.pxd index 90e96d7..529748d 100644 --- a/src/uharfbuzz/charfbuzz.pxd +++ b/src/uharfbuzz/charfbuzz.pxd @@ -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