mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-29 09:34:05 +01:00
[glyf] Fix a bug I introduced recently
Pass gid to Glyph in trim_padding codepath.
This commit is contained in:
1 parent
97cbc2d40a
commit
34e3f561b5
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user