You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-24 15:26:15 +00:00
Update HarfBuzz to 7.1.0
This commit is contained in:
@@ -69,12 +69,17 @@ SubstLookup::dispatch_recurse_func<hb_closure_lookups_context_t> (hb_closure_loo
|
||||
template <>
|
||||
inline bool SubstLookup::dispatch_recurse_func<hb_ot_apply_context_t> (hb_ot_apply_context_t *c, unsigned int lookup_index)
|
||||
{
|
||||
const SubstLookup &l = c->face->table.GSUB.get_relaxed ()->table->get_lookup (lookup_index);
|
||||
auto *gsub = c->face->table.GSUB.get_relaxed ();
|
||||
const SubstLookup &l = gsub->table->get_lookup (lookup_index);
|
||||
unsigned int saved_lookup_props = c->lookup_props;
|
||||
unsigned int saved_lookup_index = c->lookup_index;
|
||||
c->set_lookup_index (lookup_index);
|
||||
c->set_lookup_props (l.get_props ());
|
||||
bool ret = l.dispatch (c);
|
||||
|
||||
bool ret = false;
|
||||
auto *accel = gsub->get_accel (lookup_index);
|
||||
ret = accel && accel->apply (c, l.get_subtable_count (), false);
|
||||
|
||||
c->set_lookup_index (saved_lookup_index);
|
||||
c->set_lookup_props (saved_lookup_props);
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user