Today's gm include many differences caused by platform font implementations.
authorcaryclark <caryclark@google.com>
Wed, 10 Jun 2015 16:31:09 +0000 (09:31 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 10 Jun 2015 16:31:09 +0000 (09:31 -0700)
commit83ca628cb6c959524edc3a696d7c3b5f7f1826ba
treef5b1f9e7030b0331fed666493a9dbba1b4fa08f9
parente21585eabf18b9919701b14576b6876c0fd86735
Today's gm include many differences caused by platform font implementations.
This experiment replaces the label used in the aaxfermodes gm with
aliased text generated from paths common to all platforms.

Since there is no way today to generate all dm output from trybots,
this will be checked in to confirm that this strategy provides simpler
output across devices.

This does not introduce a new public interface; instead, dm uses
a extern backdoor to install the SkTypeface::CreateFromName
handler.

Review URL: https://codereview.chromium.org/1163283002
13 files changed:
dm/DM.cpp
gm/aaxfermodes.cpp
src/core/SkTypeface.cpp
src/fonts/SkTestScalerContext.cpp
tools/create_test_font.cpp
tools/flags/SkCommandLineFlags.cpp
tools/sk_tool_utils.cpp
tools/sk_tool_utils.h
tools/sk_tool_utils_font.cpp
tools/test_font_index.cpp [new file with mode: 0644]
tools/test_font_monospace.cpp [new file with mode: 0644]
tools/test_font_sans_serif.cpp [new file with mode: 0644]
tools/test_font_serif.cpp [new file with mode: 0644]