From 34a7440b7c6c6e53394ddbdbedaad57b23f85105 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 20 Jul 2012 12:32:59 -0400 Subject: [PATCH] [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. --- src/hb-ot-layout-gpos-table.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hb-ot-layout-gpos-table.hh b/src/hb-ot-layout-gpos-table.hh index 94055b343..9eadbd63a 100644 --- a/src/hb-ot-layout-gpos-table.hh +++ b/src/hb-ot-layout-gpos-table.hh @@ -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;