summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2010-04-29 03:48:27 -0400
committerBehdad Esfahbod <behdad@behdad.org>2010-04-29 03:48:27 -0400
commit3840b6b50503ba2c9a99f774284e0077baffa8a0 (patch)
treedb4318dd8cefe9602028c66acfac128d84eb5393
parent4ac6cc284b2c1eb670c2a3659ec385ed729acac4 (diff)
[gdef] Fix delta scale
-rw-r--r--src/hb-ot-layout-gdef-private.hh2
1 files changed, 1 insertions, 1 deletions
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) {