From dcfe7f795ce12c3291e0bedb70e8e9e460d127a3 Mon Sep 17 00:00:00 2001 From: Harley Acheson Date: Fri, 12 Aug 2022 11:57:53 -0700 Subject: BLF: Adjustments to Static Font Details Adjust static font details so that we can properly display Arabic contextual letter forms. And so that alphabetical ligatures are loaded from language-specific fonts. See D15678 for more details Differential Revision: https://developer.blender.org/D15678 Own Code. --- source/blender/blenfont/intern/blf_font.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source/blender/blenfont') diff --git a/source/blender/blenfont/intern/blf_font.c b/source/blender/blenfont/intern/blf_font.c index 6aac09190fc..b3729b7a673 100644 --- a/source/blender/blenfont/intern/blf_font.c +++ b/source/blender/blenfont/intern/blf_font.c @@ -1341,12 +1341,12 @@ static const eFaceDetails static_face_details[] = { {"lastresort.woff2", UINT32_MAX, UINT32_MAX, UINT32_MAX, UINT32_MAX}, {"Noto Sans CJK Regular.woff2", 0x30000083L, 0x2BDF3C10L, 0x16L, 0}, {"NotoEmoji-VariableFont_wght.woff2", 0x80000003L, 0x241E4ACL, 0x14000000L, 0x4000000L}, - {"NotoSansArabic-VariableFont_wdth,wght.woff2", TT_UCR_ARABIC, 0, 0, 0}, - {"NotoSansArmenian-VariableFont_wdth,wght.woff2", - TT_UCR_ARMENIAN, - TT_UCR_ALPHABETIC_PRESENTATION_FORMS, - 0, + {"NotoSansArabic-VariableFont_wdth,wght.woff2", + TT_UCR_ARABIC, + (uint)TT_UCR_ARABIC_PRESENTATION_FORMS_A, + TT_UCR_ARABIC_PRESENTATION_FORMS_B, 0}, + {"NotoSansArmenian-VariableFont_wdth,wght.woff2", TT_UCR_ARMENIAN, 0, 0, 0}, {"NotoSansBengali-VariableFont_wdth,wght.woff2", TT_UCR_BENGALI, 0, 0, 0}, {"NotoSansDevanagari-Regular.woff2", TT_UCR_DEVANAGARI, 0, 0, 0}, {"NotoSansEthiopic-Regular.woff2", 0, 0, TT_UCR_ETHIOPIC, 0}, -- cgit v1.2.3