mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-15 09:44:46 +00:00
[mort] Hook up more
This commit is contained in:
parent
9346b1f158
commit
90667b31bc
1 changed files with 13 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue