[gdef] Fix delta scale
authorBehdad Esfahbod <behdad@behdad.org>
Thu, 29 Apr 2010 07:48:27 +0000 (03:48 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Thu, 29 Apr 2010 07:48:27 +0000 (03:48 -0400)
src/hb-ot-layout-gdef-private.hh

index 5e7c47e..cc037a4 100644 (file)
@@ -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) {