diff --git a/deps/harfbuzz/harfbuzz b/deps/harfbuzz/harfbuzz index 1d665c2b5..0967a3e24 160000 --- a/deps/harfbuzz/harfbuzz +++ b/deps/harfbuzz/harfbuzz @@ -1 +1 @@ -Subproject commit 1d665c2b521512cdd56964138fc601debd1f1177 +Subproject commit 0967a3e24ab5d79cc55dbe224652d8aabd942def diff --git a/deps/harfbuzz/src/lib.rs b/deps/harfbuzz/src/lib.rs index f961e6133..b0cd3bf20 100644 --- a/deps/harfbuzz/src/lib.rs +++ b/deps/harfbuzz/src/lib.rs @@ -1,4 +1,4 @@ -/* automatically generated by rust-bindgen 0.65.1 */ +/* automatically generated by rust-bindgen 0.66.1 */ #![allow(non_snake_case)] #![allow(non_camel_case_types)] @@ -1303,6 +1303,15 @@ pub type hb_paint_pop_transform_func_t = ::std::option::Option< user_data: *mut ::std::os::raw::c_void, ), >; +pub type hb_paint_color_glyph_func_t = ::std::option::Option< + unsafe extern "C" fn( + funcs: *mut hb_paint_funcs_t, + paint_data: *mut ::std::os::raw::c_void, + glyph: hb_codepoint_t, + font: *mut hb_font_t, + user_data: *mut ::std::os::raw::c_void, + ) -> hb_bool_t, +>; pub type hb_paint_push_clip_glyph_func_t = ::std::option::Option< unsafe extern "C" fn( funcs: *mut hb_paint_funcs_t, @@ -1523,6 +1532,14 @@ extern "C" { destroy: hb_destroy_func_t, ); } +extern "C" { + pub fn hb_paint_funcs_set_color_glyph_func( + funcs: *mut hb_paint_funcs_t, + func: hb_paint_color_glyph_func_t, + user_data: *mut ::std::os::raw::c_void, + destroy: hb_destroy_func_t, + ); +} extern "C" { pub fn hb_paint_funcs_set_push_clip_glyph_func( funcs: *mut hb_paint_funcs_t, @@ -1629,6 +1646,14 @@ extern "C" { paint_data: *mut ::std::os::raw::c_void, ); } +extern "C" { + pub fn hb_paint_color_glyph( + funcs: *mut hb_paint_funcs_t, + paint_data: *mut ::std::os::raw::c_void, + glyph: hb_codepoint_t, + font: *mut hb_font_t, + ) -> hb_bool_t; +} extern "C" { pub fn hb_paint_push_clip_glyph( funcs: *mut hb_paint_funcs_t, diff --git a/docs/changelog.md b/docs/changelog.md index 481f8b425..199390fa1 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -98,7 +98,7 @@ As features stabilize some brief notes about them will accumulate here. to @hexchain! #3996 #4322. #### Updated -* Bundled harfbuzz to 8.1.1 +* Bundled harfbuzz to 8.2.1 * Bundled freetype to 2.13.1 * Bundled Noto Color Emoji font to 2.038