From 8177da29ad07d8fa444ce07003fa65cd31a2776b Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 18 Oct 2013 15:50:29 +0200 Subject: [PATCH] Minor --- src/hb-ot-shape-fallback.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hb-ot-shape-fallback.cc b/src/hb-ot-shape-fallback.cc index a7e3b8e9c..b7fd2d37f 100644 --- a/src/hb-ot-shape-fallback.cc +++ b/src/hb-ot-shape-fallback.cc @@ -260,7 +260,7 @@ position_mark (const hb_ot_shape_plan_t *plan, case HB_UNICODE_COMBINING_CLASS_ATTACHED_BELOW_LEFT: case HB_UNICODE_COMBINING_CLASS_ATTACHED_BELOW: - pos.y_offset += base_extents.y_bearing + base_extents.height - mark_extents.y_bearing; + pos.y_offset = base_extents.y_bearing + base_extents.height - mark_extents.y_bearing; base_extents.height += mark_extents.height; break; @@ -274,7 +274,7 @@ position_mark (const hb_ot_shape_plan_t *plan, case HB_UNICODE_COMBINING_CLASS_ATTACHED_ABOVE: case HB_UNICODE_COMBINING_CLASS_ATTACHED_ABOVE_RIGHT: - pos.y_offset += base_extents.y_bearing - (mark_extents.y_bearing + mark_extents.height); + pos.y_offset = base_extents.y_bearing - (mark_extents.y_bearing + mark_extents.height); base_extents.y_bearing -= mark_extents.height; base_extents.height += mark_extents.height; break;