Use the rounded text size for gasp.
authorBen Wagner <bungeman@google.com>
Thu, 30 Mar 2017 14:19:24 +0000 (10:19 -0400)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Thu, 30 Mar 2017 16:23:27 +0000 (16:23 +0000)
commitb1f76531f673854135b19fa4342c0d085be2bf29
tree4a43f517b4b0ac28e9f03a6997429558f6db695f
parent77f1edce072756a6226874be9a41283d19307fef
Use the rounded text size for gasp.

When comparing against gasp ranges always use the rounded (gdi) size.
Previously the truncated size was used, but it appears other
implementations are using the rounded size.

BUG=chromium:706693

Change-Id: I0f545175bf2d5f4e8db610b26c2f3e21a89eeb2a
Reviewed-on: https://skia-review.googlesource.com/10751
Reviewed-by: Dominik Röttsches <drott@chromium.org>
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Ben Wagner <bungeman@google.com>
src/ports/SkScalerContext_win_dw.cpp