|
|
|
@ -18,14 +18,14 @@ struct EntryExitRecord |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void collect_variation_indices (hb_collect_variation_indices_context_t *c, |
|
|
|
|
const void *src_base) const |
|
|
|
|
const struct CursivePosFormat1 *src_base) const |
|
|
|
|
{ |
|
|
|
|
(src_base+entryAnchor).collect_variation_indices (c); |
|
|
|
|
(src_base+exitAnchor).collect_variation_indices (c); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
bool subset (hb_subset_context_t *c, |
|
|
|
|
const void *src_base) const |
|
|
|
|
const struct CursivePosFormat1 *src_base) const |
|
|
|
|
{ |
|
|
|
|
TRACE_SERIALIZE (this); |
|
|
|
|
auto *out = c->serializer->embed (this); |
|
|
|
@ -38,11 +38,11 @@ struct EntryExitRecord |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
protected: |
|
|
|
|
Offset16To<Anchor> |
|
|
|
|
Offset16To<Anchor, struct CursivePosFormat1> |
|
|
|
|
entryAnchor; /* Offset to EntryAnchor table--from
|
|
|
|
|
* beginning of CursivePos |
|
|
|
|
* subtable--may be NULL */ |
|
|
|
|
Offset16To<Anchor> |
|
|
|
|
Offset16To<Anchor, struct CursivePosFormat1> |
|
|
|
|
exitAnchor; /* Offset to ExitAnchor table--from
|
|
|
|
|
* beginning of CursivePos |
|
|
|
|
* subtable--may be NULL */ |
|
|
|
@ -262,7 +262,7 @@ struct CursivePosFormat1 |
|
|
|
|
hb_requires (hb_is_iterator (Iterator))> |
|
|
|
|
void serialize (hb_subset_context_t *c, |
|
|
|
|
Iterator it, |
|
|
|
|
const void *src_base) |
|
|
|
|
const struct CursivePosFormat1 *src_base) |
|
|
|
|
{ |
|
|
|
|
if (unlikely (!c->serializer->extend_min ((*this)))) return; |
|
|
|
|
this->format = 1; |
|
|
|
|