[GPOS] Don't zero mark advances

Fixes more of Telugu, Kannada, and Oriya.

May break things (outside Indic...), but we cannot think of any font relying
on this immediately.
This commit is contained in:
Behdad Esfahbod 2012-07-20 12:32:59 -04:00
parent 8ed248de77
commit 34a7440b7c
1 changed files with 2 additions and 2 deletions

View File

@ -1486,8 +1486,8 @@ fix_mark_attachment (hb_glyph_position_t *pos, unsigned int i, hb_direction_t di
unsigned int j = i - pos[i].attach_lookback();
pos[i].x_advance = 0;
pos[i].y_advance = 0;
// pos[i].x_advance = 0;
// pos[i].y_advance = 0;
pos[i].x_offset += pos[j].x_offset;
pos[i].y_offset += pos[j].y_offset;