[config] Fixup for AAT ltag table access
Part of https://github.com/harfbuzz/harfbuzz/issues/1652
This commit is contained in:
parent
f08066ce9a
commit
37f8ebff5f
|
@ -78,12 +78,4 @@ hb_aat_layout_track (const hb_ot_shape_plan_t *plan,
|
||||||
hb_buffer_t *buffer);
|
hb_buffer_t *buffer);
|
||||||
|
|
||||||
|
|
||||||
inline hb_language_t
|
|
||||||
_hb_aat_language_get (hb_face_t *face,
|
|
||||||
unsigned int i)
|
|
||||||
{
|
|
||||||
return face->table.ltag->get_language (i);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#endif /* HB_AAT_LAYOUT_HH */
|
#endif /* HB_AAT_LAYOUT_HH */
|
||||||
|
|
|
@ -63,7 +63,7 @@ struct NameRecord
|
||||||
|
|
||||||
#ifndef HB_NO_OT_NAME_LANGUAGE_AAT
|
#ifndef HB_NO_OT_NAME_LANGUAGE_AAT
|
||||||
if (p == 0)
|
if (p == 0)
|
||||||
return _hb_aat_language_get (face, l);
|
return face->table.ltag->get_language (l);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue