From 66128d3cfb12705530141b5a4bd2706f0cbb9fc5 Mon Sep 17 00:00:00 2001 From: mhosken Date: Wed, 27 Sep 2017 01:29:45 +0700 Subject: [PATCH] Fix missing xscale in rtl graphite unpacking (#541) * Fix missing xscale in rtl graphite unpacking * Oops didn't need to mess with yscale --- src/hb-graphite2.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-graphite2.cc b/src/hb-graphite2.cc index 9e0761e63..bc247c60c 100644 --- a/src/hb-graphite2.cc +++ b/src/hb-graphite2.cc @@ -389,7 +389,7 @@ _hb_graphite2_shape (hb_shape_plan_t *shape_plan, } else { - curradvx = gr_seg_advance_X(seg); + curradvx = gr_seg_advance_X(seg) * xscale; for (is = gr_seg_first_slot (seg); is; pPos++, info++, is = gr_slot_next_in_segment (is)) { if (info->cluster != currclus)