From: Behdad Esfahbod Date: Thu, 29 Apr 2010 07:48:27 +0000 (-0400) Subject: [gdef] Fix delta scale X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3840b6b50503ba2c9a99f774284e0077baffa8a0;p=platform%2Fupstream%2FlibHarfBuzzSharp.git [gdef] Fix delta scale --- diff --git a/src/hb-ot-layout-gdef-private.hh b/src/hb-ot-layout-gdef-private.hh index 5e7c47e..cc037a4 100644 --- a/src/hb-ot-layout-gdef-private.hh +++ b/src/hb-ot-layout-gdef-private.hh @@ -140,7 +140,7 @@ struct CaretValueFormat3 { /* TODO vertical */ return _hb_16dot16_mul_round (context->font->x_scale, coordinate) + - ((this+deviceTable).get_delta (context->font->x_ppem) << 6); + ((this+deviceTable).get_delta (context->font->x_ppem) << 16); } inline bool sanitize (SANITIZE_ARG_DEF) {