You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Update HarfBuzz to 8.5.0
This commit is contained in:
8
thirdparty/harfbuzz/src/hb-ot-layout.cc
vendored
8
thirdparty/harfbuzz/src/hb-ot-layout.cc
vendored
@@ -87,7 +87,7 @@ using OT::Layout::GPOS;
|
||||
bool
|
||||
hb_ot_layout_has_kerning (hb_face_t *face)
|
||||
{
|
||||
return face->table.kern->has_data ();
|
||||
return face->table.kern->table->has_data ();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -103,7 +103,7 @@ hb_ot_layout_has_kerning (hb_face_t *face)
|
||||
bool
|
||||
hb_ot_layout_has_machine_kerning (hb_face_t *face)
|
||||
{
|
||||
return face->table.kern->has_state_machine ();
|
||||
return face->table.kern->table->has_state_machine ();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -123,7 +123,7 @@ hb_ot_layout_has_machine_kerning (hb_face_t *face)
|
||||
bool
|
||||
hb_ot_layout_has_cross_kerning (hb_face_t *face)
|
||||
{
|
||||
return face->table.kern->has_cross_stream ();
|
||||
return face->table.kern->table->has_cross_stream ();
|
||||
}
|
||||
|
||||
void
|
||||
@@ -132,7 +132,7 @@ hb_ot_layout_kern (const hb_ot_shape_plan_t *plan,
|
||||
hb_buffer_t *buffer)
|
||||
{
|
||||
hb_blob_t *blob = font->face->table.kern.get_blob ();
|
||||
const AAT::kern& kern = *blob->as<AAT::kern> ();
|
||||
const auto& kern = *font->face->table.kern;
|
||||
|
||||
AAT::hb_aat_apply_context_t c (plan, font, buffer, blob);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user