File tree Expand file tree Collapse file tree 4 files changed +8
-2
lines changed
Expand file tree Collapse file tree 4 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -101,8 +101,12 @@ def _configure_extensions_with_vendored_libs() -> List[Extension]:
101101 include_dirs = ["harfbuzz/src" ],
102102 sources = [
103103 "harfbuzz/src/harfbuzz-subset.cc" ,
104+ "harfbuzz/src/hb-coretext.cc" ,
105+ "harfbuzz/src/hb-coretext-font.cc" ,
104106 "harfbuzz/src/hb-coretext-shape.cc" ,
105107 "harfbuzz/src/hb-directwrite.cc" ,
108+ "harfbuzz/src/hb-directwrite-font.cc" ,
109+ "harfbuzz/src/hb-directwrite-shape.cc" ,
106110 "harfbuzz/src/hb-uniscribe.cc" ,
107111 "src/uharfbuzz/_harfbuzz.pyx" ,
108112 ],
Original file line number Diff line number Diff line change @@ -133,6 +133,7 @@ class BufferClusterLevel(IntEnum):
133133 MONOTONE_GRAPHEMES = HB_BUFFER_CLUSTER_LEVEL_MONOTONE_GRAPHEMES
134134 MONOTONE_CHARACTERS = HB_BUFFER_CLUSTER_LEVEL_MONOTONE_CHARACTERS
135135 CHARACTERS = HB_BUFFER_CLUSTER_LEVEL_CHARACTERS
136+ GRAPHEMES = HB_BUFFER_CLUSTER_LEVEL_GRAPHEMES
136137 DEFAULT = HB_BUFFER_CLUSTER_LEVEL_DEFAULT
137138
138139class BufferContentType (IntEnum ):
Original file line number Diff line number Diff line change @@ -139,6 +139,7 @@ cdef extern from "hb.h":
139139 HB_BUFFER_CLUSTER_LEVEL_MONOTONE_GRAPHEMES
140140 HB_BUFFER_CLUSTER_LEVEL_MONOTONE_CHARACTERS
141141 HB_BUFFER_CLUSTER_LEVEL_CHARACTERS
142+ HB_BUFFER_CLUSTER_LEVEL_GRAPHEMES
142143 HB_BUFFER_CLUSTER_LEVEL_DEFAULT
143144
144145 ctypedef enum hb_buffer_flags_t:
@@ -470,13 +471,13 @@ cdef extern from "hb.h":
470471 float path_start_y
471472 float current_x
472473 float current_y
474+ float slant_xy
473475 hb_var_num_t reserved1
474476 hb_var_num_t reserved2
475477 hb_var_num_t reserved3
476478 hb_var_num_t reserved4
477479 hb_var_num_t reserved5
478480 hb_var_num_t reserved6
479- hb_var_num_t reserved7
480481
481482 ctypedef struct hb_draw_funcs_t:
482483 pass
You can’t perform that action at this time.
0 commit comments