diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2010-04-29 03:48:27 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2010-04-29 03:48:27 -0400 |
commit | 3840b6b50503ba2c9a99f774284e0077baffa8a0 (patch) | |
tree | db4318dd8cefe9602028c66acfac128d84eb5393 | |
parent | 4ac6cc284b2c1eb670c2a3659ec385ed729acac4 (diff) |
[gdef] Fix delta scale
-rw-r--r-- | src/hb-ot-layout-gdef-private.hh | 2 |
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) { |