From 8eb497fa19ca37908591a14d42e44cfe4862ba9e Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sat, 26 Mar 2022 10:51:35 -0700 Subject: [PATCH] deps: harfbuzz -> 4.1.0 --- deps/harfbuzz/harfbuzz | 2 +- deps/harfbuzz/src/lib.rs | 13 +++++++------ docs/changelog.md | 2 ++ 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/deps/harfbuzz/harfbuzz b/deps/harfbuzz/harfbuzz index 1f79ba940..c36844d6d 160000 --- a/deps/harfbuzz/harfbuzz +++ b/deps/harfbuzz/harfbuzz @@ -1 +1 @@ -Subproject commit 1f79ba9407ecd54e382997940cbcc3fb71bef8be +Subproject commit c36844d6d923bfc765f841fde10d6f505ff297fd diff --git a/deps/harfbuzz/src/lib.rs b/deps/harfbuzz/src/lib.rs index 06e22e67a..53fa22bc4 100644 --- a/deps/harfbuzz/src/lib.rs +++ b/deps/harfbuzz/src/lib.rs @@ -6,12 +6,6 @@ #![allow(clippy::unreadable_literal)] #![allow(clippy::upper_case_acronyms)] -pub type __int8_t = ::std::os::raw::c_schar; -pub type __uint8_t = ::std::os::raw::c_uchar; -pub type __int16_t = ::std::os::raw::c_short; -pub type __uint16_t = ::std::os::raw::c_ushort; -pub type __int32_t = ::std::os::raw::c_int; -pub type __uint32_t = ::std::os::raw::c_uint; pub type hb_bool_t = ::std::os::raw::c_int; pub type hb_codepoint_t = u32; pub type hb_position_t = i32; @@ -757,6 +751,13 @@ extern "C" { extern "C" { pub fn hb_set_add_range(set: *mut hb_set_t, first: hb_codepoint_t, last: hb_codepoint_t); } +extern "C" { + pub fn hb_set_add_sorted_array( + set: *mut hb_set_t, + sorted_codepoints: *const hb_codepoint_t, + num_codepoints: ::std::os::raw::c_uint, + ); +} extern "C" { pub fn hb_set_del(set: *mut hb_set_t, codepoint: hb_codepoint_t); } diff --git a/docs/changelog.md b/docs/changelog.md index e9e2f9280..ffd7917d3 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -14,6 +14,8 @@ As features stabilize some brief notes about them will accumulate here. #### New #### Changed #### Updated and Improved +* Bundled harfbuzz to 4.1.0 + #### Fixed * Incorrect csi-u encoding with non-ascii characters. [#1746](https://github.com/wez/wezterm/issues/1746) * X11 `_NET_WM_ICON` had red/blue channels swapped [#1754](https://github.com/wez/wezterm/issues/1754)