deps: harfbuzz -> 8.0.0

This commit is contained in:
Wez Furlong committed 2023-07-09 07:38:36 -07:00
1 parent d5861f5e59
commit 1bfaf8522a
3 files changed
+66 -28

No files matched your search

+64 -26
View File
@@ -1909,16 +1909,6 @@ pub type hb_font_get_glyph_from_name_func_t = ::std::option::Option<
user_data: *mut ::std::os::raw::c_void,
) -> hb_bool_t,
>;
pub type hb_font_get_glyph_shape_func_t = ::std::option::Option<
unsafe extern "C" fn(
font: *mut hb_font_t,
font_data: *mut ::std::os::raw::c_void,
glyph: hb_codepoint_t,
draw_funcs: *mut hb_draw_funcs_t,
draw_data: *mut ::std::os::raw::c_void,
user_data: *mut ::std::os::raw::c_void,
),
>;
pub type hb_font_draw_glyph_func_t = ::std::option::Option<
unsafe extern "C" fn(
font: *mut hb_font_t,
@@ -2069,14 +2059,6 @@ extern "C" {
destroy: hb_destroy_func_t,
);
}
extern "C" {
pub fn hb_font_funcs_set_glyph_shape_func(
ffuncs: *mut hb_font_funcs_t,
func: hb_font_get_glyph_shape_func_t,
user_data: *mut ::std::os::raw::c_void,
destroy: hb_destroy_func_t,
);
}
extern "C" {
pub fn hb_font_funcs_set_draw_glyph_func(
ffuncs: *mut hb_font_funcs_t,
@@ -2217,14 +2199,6 @@ extern "C" {
glyph: *mut hb_codepoint_t,
) -> hb_bool_t;
}
extern "C" {
pub fn hb_font_get_glyph_shape(
font: *mut hb_font_t,
glyph: hb_codepoint_t,
dfuncs: *mut hb_draw_funcs_t,
draw_data: *mut ::std::os::raw::c_void,
);
}
extern "C" {
pub fn hb_font_draw_glyph(
font: *mut hb_font_t,
@@ -3046,6 +3020,32 @@ extern "C" {
bottom_glyph: hb_codepoint_t,
) -> hb_position_t;
}
pub type hb_font_get_glyph_shape_func_t = ::std::option::Option<
unsafe extern "C" fn(
font: *mut hb_font_t,
font_data: *mut ::std::os::raw::c_void,
glyph: hb_codepoint_t,
draw_funcs: *mut hb_draw_funcs_t,
draw_data: *mut ::std::os::raw::c_void,
user_data: *mut ::std::os::raw::c_void,
),
>;
extern "C" {
pub fn hb_font_funcs_set_glyph_shape_func(
ffuncs: *mut hb_font_funcs_t,
func: hb_font_get_glyph_shape_func_t,
user_data: *mut ::std::os::raw::c_void,
destroy: hb_destroy_func_t,
);
}
extern "C" {
pub fn hb_font_get_glyph_shape(
font: *mut hb_font_t,
glyph: hb_codepoint_t,
dfuncs: *mut hb_draw_funcs_t,
draw_data: *mut ::std::os::raw::c_void,
);
}
extern "C" {
pub fn hb_shape(
font: *mut hb_font_t,
@@ -4104,6 +4104,24 @@ extern "C" {
characters: *mut hb_codepoint_t,
) -> ::std::os::raw::c_uint;
}
extern "C" {
pub fn hb_ot_layout_get_font_extents(
font: *mut hb_font_t,
direction: hb_direction_t,
script_tag: hb_tag_t,
language_tag: hb_tag_t,
extents: *mut hb_font_extents_t,
) -> hb_bool_t;
}
extern "C" {
pub fn hb_ot_layout_get_font_extents2(
font: *mut hb_font_t,
direction: hb_direction_t,
script: hb_script_t,
language: hb_language_t,
extents: *mut hb_font_extents_t,
) -> hb_bool_t;
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum hb_ot_layout_baseline_tag_t {
@@ -4133,6 +4151,16 @@ extern "C" {
coord: *mut hb_position_t,
) -> hb_bool_t;
}
extern "C" {
pub fn hb_ot_layout_get_baseline2(
font: *mut hb_font_t,
baseline_tag: hb_ot_layout_baseline_tag_t,
direction: hb_direction_t,
script: hb_script_t,
language: hb_language_t,
coord: *mut hb_position_t,
) -> hb_bool_t;
}
extern "C" {
pub fn hb_ot_layout_get_baseline_with_fallback(
font: *mut hb_font_t,
@@ -4143,6 +4171,16 @@ extern "C" {
coord: *mut hb_position_t,
);
}
extern "C" {
pub fn hb_ot_layout_get_baseline_with_fallback2(
font: *mut hb_font_t,
baseline_tag: hb_ot_layout_baseline_tag_t,
direction: hb_direction_t,
script: hb_script_t,
language: hb_language_t,
coord: *mut hb_position_t,
);
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum hb_ot_math_constant_t {
+1 -1
View File
@@ -113,7 +113,7 @@ As features stabilize some brief notes about them will accumulate here.
information can be displayed. #3941
#### Updated
* Bundled harfbuzz to 7.3.0
* Bundled harfbuzz to 8.0.0
* Bundled freetype to 2.13.0
* Bundled Nerd Font Symbols font to v3.0.1. Note that there are several
[breaking changes in v3](https://github.com/ryanoasis/nerd-fonts/releases/tag/v3.0.0).