[mort] Fix table detection logic

mort really needs some initial tests at least.
This commit is contained in:
Ebrahim Byagowi 2018-11-06 09:16:28 +03:30 committed by GitHub
parent fa3ebf845f
commit 98b37f0c10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ hb_aat_layout_compile_map (const hb_aat_map_builder_t *mapper,
hb_bool_t hb_bool_t
hb_aat_layout_has_substitution (hb_face_t *face) 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 (); face->table.mort->has_data ();
} }