[subset] copy Lookup::markFilteringSet when subseting.

This commit is contained in:
Garret Rieger 2021-04-02 12:41:09 -07:00
parent d3a2f999e4
commit 596f4258d0
20 changed files with 9 additions and 0 deletions

View File

@ -1291,6 +1291,14 @@ struct Lookup
| hb_apply (subset_offset_array (c, out->get_subtables<TSubTable> (), this, lookup_type)) | hb_apply (subset_offset_array (c, out->get_subtables<TSubTable> (), this, lookup_type))
; ;
if (lookupFlag & LookupFlag::UseMarkFilteringSet)
{
if (unlikely (!c->serializer->extend (out))) return_trace (false);
const HBUINT16 &markFilteringSet = StructAfter<HBUINT16> (subTable);
HBUINT16 &outMarkFilteringSet = StructAfter<HBUINT16> (out->subTable);
outMarkFilteringSet = markFilteringSet;
}
return_trace (true); return_trace (true);
} }

View File

@ -12,6 +12,7 @@ name-ids.txt
name-languages.txt name-languages.txt
name-legacy.txt name-legacy.txt
gids.txt gids.txt
keep-layout.txt
SUBSETS: SUBSETS:
abc abc