提交 3840b6b5 编写于 作者: B Behdad Esfahbod

[gdef] Fix delta scale

上级 4ac6cc28
...@@ -140,7 +140,7 @@ struct CaretValueFormat3 ...@@ -140,7 +140,7 @@ struct CaretValueFormat3
{ {
/* TODO vertical */ /* TODO vertical */
return _hb_16dot16_mul_round (context->font->x_scale, coordinate) + 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) { inline bool sanitize (SANITIZE_ARG_DEF) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册