[mort] Fix table detection logic
mort really needs some initial tests at least.
This commit is contained in:
parent
fa3ebf845f
commit
98b37f0c10
|
@ -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 ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue