Skip to content

Commit 7c62b92

Browse files
committed
Update to HarfBuzz 11.0.0
1 parent 1c3debc commit 7c62b92

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

harfbuzz

Submodule harfbuzz updated 325 files

setup.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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
],

src/uharfbuzz/_harfbuzz.pyx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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

138139
class BufferContentType(IntEnum):

src/uharfbuzz/charfbuzz.pxd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)