Use the rounded text size for gasp.
authorBen Wagner <bungeman@google.com>
Wed, 5 Apr 2017 15:40:41 +0000 (11:40 -0400)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Wed, 5 Apr 2017 17:28:48 +0000 (17:28 +0000)
commitea0765224a595ed42a9ad713a87db16b4211e5f0
treef492056bf661bf27a5a1abb8e8429def15d6a8c7
parent4ebb43e94f39be5da8fc04fc0be8a63726bacffb
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: I185cdf5b905261038e5150a04eef1b99bf73d875
Reviewed-on: https://skia-review.googlesource.com/11354
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
src/ports/SkScalerContext_win_dw.cpp