[mort] Hook up more

This commit is contained in:
Behdad Esfahbod 2018-10-30 20:15:28 -07:00
parent 9346b1f158
commit 90667b31bc
1 changed files with 13 additions and 1 deletions

View File

@ -207,7 +207,19 @@ void
hb_aat_layout_compile_map (const hb_aat_map_builder_t *mapper,
hb_aat_map_t *map)
{
_get_morx (mapper->face).compile_flags (mapper, map);
const AAT::morx& morx = _get_morx (mapper->face, nullptr);
if (morx.has_data ())
{
morx.compile_flags (mapper, map);
return;
}
const AAT::mort& mort = _get_mort (mapper->face, nullptr);
if (mort.has_data ())
{
mort.compile_flags (mapper, map);
return;
}
}