1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-22 21:01:36 +03:00

update harfbuzz to 5.3.1

it includes a fix for shaping grapheme clusters for Katakana voiced
sound marks.

refs: https://github.com/wez/wezterm/issues/2572
This commit is contained in:
Wez Furlong 2022-10-19 20:00:13 -07:00
parent f2b0ce7d2e
commit cc4a155a4a
3 changed files with 19 additions and 2 deletions

@ -1 +1 @@
Subproject commit 4a1d891c6317d2c83e5f3c2607ec5f5ccedffcde Subproject commit 970321db7bddbe8c579b73751fc655a924ea3ce6

View File

@ -6,6 +6,12 @@
#![allow(clippy::unreadable_literal)] #![allow(clippy::unreadable_literal)]
#![allow(clippy::upper_case_acronyms)] #![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_bool_t = ::std::os::raw::c_int;
pub type hb_codepoint_t = u32; pub type hb_codepoint_t = u32;
pub type hb_position_t = i32; pub type hb_position_t = i32;
@ -940,6 +946,9 @@ extern "C" {
blob: *mut hb_blob_t, blob: *mut hb_blob_t,
) -> hb_bool_t; ) -> hb_bool_t;
} }
extern "C" {
pub fn hb_face_builder_sort_tables(face: *mut hb_face_t, tags: *const hb_tag_t);
}
#[repr(C)] #[repr(C)]
#[derive(Copy, Clone)] #[derive(Copy, Clone)]
pub struct hb_draw_state_t { pub struct hb_draw_state_t {
@ -3403,6 +3412,14 @@ extern "C" {
range_end: *mut ::std::os::raw::c_uint, range_end: *mut ::std::os::raw::c_uint,
) -> hb_bool_t; ) -> hb_bool_t;
} }
extern "C" {
pub fn hb_ot_layout_lookup_get_optical_bound(
font: *mut hb_font_t,
lookup_index: ::std::os::raw::c_uint,
direction: hb_direction_t,
glyph: hb_codepoint_t,
) -> hb_position_t;
}
extern "C" { extern "C" {
pub fn hb_ot_layout_feature_get_name_ids( pub fn hb_ot_layout_feature_get_name_ids(
face: *mut hb_face_t, face: *mut hb_face_t,

View File

@ -120,7 +120,7 @@ As features stabilize some brief notes about them will accumulate here.
#### Updated #### Updated
* Bundled Nerd Font Symbols font to v2.2.2 * Bundled Nerd Font Symbols font to v2.2.2
* Bundled harfbuzz to 5.2.0 * Bundled harfbuzz to 5.3.1
### 20220905-102802-7d4b8249 ### 20220905-102802-7d4b8249