5.15: fix for QTBUG-88495 (Fix shaping problems on iOS 14 / macOS 11)

This commit is contained in:
kleuter 2021-05-13 00:09:29 +02:00
parent 387236ed9d
commit 206fe0f4ef
2 changed files with 2 additions and 2 deletions

View File

@ -1322,7 +1322,7 @@ struct hb_coretext_aat_shaper_face_data_t {};
hb_coretext_aat_shaper_face_data_t *
_hb_coretext_aat_shaper_face_data_create (hb_face_t *face)
{
static const hb_tag_t tags[] = {HB_CORETEXT_TAG_MORX, HB_CORETEXT_TAG_MORT, HB_CORETEXT_TAG_KERX};
static const hb_tag_t tags[] = {HB_CORETEXT_TAG_MORX, HB_CORETEXT_TAG_MORT, HB_CORETEXT_TAG_KERX, HB_CORETEXT_TAG_TRAK};
for (unsigned int i = 0; i < ARRAY_LENGTH (tags); i++)
{

View File

@ -43,7 +43,7 @@ HB_BEGIN_DECLS
#define HB_CORETEXT_TAG_MORT HB_TAG('m','o','r','t')
#define HB_CORETEXT_TAG_MORX HB_TAG('m','o','r','x')
#define HB_CORETEXT_TAG_KERX HB_TAG('k','e','r','x')
#define HB_CORETEXT_TAG_TRAK HB_TAG('t','r','a','k')
HB_EXTERN hb_face_t *
hb_coretext_face_create (CGFontRef cg_font);