Don't zero glyph advances in MarkToBase and similar lookups
See email thread "Should MarkToBase attachment zero the mark advance?" started by Jonathan Kew on 23 August 2010 for details.
This commit is contained in:
parent
36b3862009
commit
2841436926
@ -402,8 +402,6 @@ struct MarkArray : ArrayOf<MarkRecord> /* Array of MarkRecords--in Coverage orde
|
||||
glyph_anchor.get_anchor (c->layout, c->buffer->info[glyph_pos].codepoint, &base_x, &base_y);
|
||||
|
||||
hb_internal_glyph_position_t &o = c->buffer->pos[c->buffer->i];
|
||||
o.x_advance = 0;
|
||||
o.y_advance = 0;
|
||||
o.x_offset = base_x - mark_x;
|
||||
o.y_offset = base_y - mark_y;
|
||||
o.back = c->buffer->i - glyph_pos;
|
||||
|
Loading…
Reference in New Issue
Block a user