From 3840b6b50503ba2c9a99f774284e0077baffa8a0 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 29 Apr 2010 03:48:27 -0400 Subject: [PATCH] [gdef] Fix delta scale --- src/hb-ot-layout-gdef-private.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.7.4