Minor
This commit is contained in:
parent
4508789f4b
commit
4b7192125f
|
@ -502,7 +502,8 @@ struct Ligature
|
|||
|
||||
if (skippy_iter.idx < c->buffer->idx + count) /* No input glyphs skipped */
|
||||
{
|
||||
c->replace_glyphs_be16 (count, 1, (const char *) &ligGlyph, klass);
|
||||
hb_codepoint_t lig_glyph = ligGlyph;
|
||||
c->replace_glyphs (count, 1, &lig_glyph, klass);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -236,6 +236,14 @@ struct hb_apply_context_t
|
|||
buffer->cur().props_cache() = klass; /* XXX if has gdef? */
|
||||
buffer->replace_glyphs_be16 (num_in, num_out, glyph_data_be);
|
||||
}
|
||||
inline void replace_glyphs (unsigned int num_in,
|
||||
unsigned int num_out,
|
||||
hb_codepoint_t *glyph_data,
|
||||
unsigned int klass = 0) const
|
||||
{
|
||||
buffer->cur().props_cache() = klass; /* XXX if has gdef? */
|
||||
buffer->replace_glyphs (num_in, num_out, glyph_data);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue