From 98b37f0c109d0f7454e91c9563c56d1903d6d496 Mon Sep 17 00:00:00 2001 From: Ebrahim Byagowi Date: Tue, 6 Nov 2018 09:16:28 +0330 Subject: [PATCH] [mort] Fix table detection logic mort really needs some initial tests at least. --- src/hb-aat-layout.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-aat-layout.cc b/src/hb-aat-layout.cc index 1912de0db..5a4e227ca 100644 --- a/src/hb-aat-layout.cc +++ b/src/hb-aat-layout.cc @@ -196,7 +196,7 @@ hb_aat_layout_compile_map (const hb_aat_map_builder_t *mapper, hb_bool_t hb_aat_layout_has_substitution (hb_face_t *face) { - return face->table.morx->has_data (); + return face->table.morx->has_data () || face->table.mort->has_data (); }