[glyf] Fix a bug I introduced recently
Pass gid to Glyph in trim_padding codepath.
This commit is contained in:
parent
97cbc2d40a
commit
34e3f561b5
|
@ -326,7 +326,7 @@ struct glyf_accelerator_t
|
|||
|
||||
glyf_impl::Glyph glyph (hb_bytes_t ((const char *) this->glyf_table + start_offset,
|
||||
end_offset - start_offset), gid);
|
||||
return needs_padding_removal ? glyf_impl::Glyph (glyph.trim_padding ()) : glyph;
|
||||
return needs_padding_removal ? glyf_impl::Glyph (glyph.trim_padding (), gid) : glyph;
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
Loading…
Reference in New Issue