mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-14 17:13:40 +00:00
[subset/glyf] Add a const
This commit is contained in:
parent
9f54ab922f
commit
6ec7629fba
2 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ struct SubsetGlyph
|
|||
|
||||
bool serialize (hb_serialize_context_t *c,
|
||||
bool use_short_loca,
|
||||
const hb_subset_plan_t *plan)
|
||||
const hb_subset_plan_t *plan) const
|
||||
{
|
||||
TRACE_SERIALIZE (this);
|
||||
|
||||
|
|
|
@ -129,7 +129,7 @@ struct glyf
|
|||
padded_offsets[i] = glyphs[i].length ();
|
||||
}
|
||||
|
||||
bool result = glyf_prime->serialize (c->serializer, glyphs.writer (), use_short_loca, c->plan);
|
||||
bool result = glyf_prime->serialize (c->serializer, glyphs.iter (), use_short_loca, c->plan);
|
||||
if (c->plan->normalized_coords && !c->plan->pinned_at_default)
|
||||
_free_compiled_subset_glyphs (glyphs);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue