use platform-independent font for gm
authorcaryclark <caryclark@google.com>
Mon, 23 Jun 2014 18:25:00 +0000 (11:25 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 23 Jun 2014 18:25:00 +0000 (11:25 -0700)
commit5fb6bd4b7e8d00b7f2543ca10ec9022b32632f29
tree9212da1f0a1c6bee32c3debd4b8fd1ff61beca60
parentc83780c9ec9fb7dc46abed71a64d83ec0ce7a274
use platform-independent font for gm

Create a custom typeface and scaler to render simple paths the
same on all platforms.

GM tests are modified to explicitly select the custom typeface.

R=reed@google.com, mtklein@google.com, bungeman@google.com
TBR=reed

Author: caryclark@google.com

Review URL: https://codereview.chromium.org/348323003
23 files changed:
gm/arithmode.cpp
gm/bitmapcopy.cpp
gm/bitmapfilters.cpp
gm/bitmapscroll.cpp
gm/bitmapsource.cpp
gm/blurs.cpp
gm/complexclip.cpp
gm/convexpolyclip.cpp
gm/cubicpaths.cpp
gm/degeneratesegments.cpp
gm/displacement.cpp
gm/gm.h
gyp/dm.gyp
gyp/gm.gyp
gyp/tools.gyp
gyp/utils.gypi
samplecode/SampleApp.cpp
src/fonts/SkTestScalerContext.cpp [new file with mode: 0644]
src/fonts/SkTestScalerContext.h [new file with mode: 0644]
tools/create_test_font.cpp [new file with mode: 0644]
tools/sk_tool_utils.cpp
tools/sk_tool_utils.h
tools/sk_tool_utils_font.cpp [new file with mode: 0644]