aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/sk_tool_utils.h
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@chromium.org>2017-11-14 10:45:32 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-11-14 18:45:04 +0000
commitcb9fc4160ea95453cb37134d4477c63d512458cc (patch)
tree9f8ae3cf1448b1aadf0490a6de225a7256cc1d33 /tools/sk_tool_utils.h
parent9592817042c411accbfa37ad736b139f9af9c976 (diff)
remove platform_font_name()
It's used rarely and now that we're mostly using portable fonts, it only serves to confuse. Sans-serif doesn't seem to work anyway. Simplify gm/typeface.cpp to just test the default typeface. Change-Id: I091239ea91af9d9e01d3c76280636a6061b5fb5c Reviewed-on: https://skia-review.googlesource.com/71261 Reviewed-by: Ben Wagner <bungeman@google.com> Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'tools/sk_tool_utils.h')
-rw-r--r--tools/sk_tool_utils.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/sk_tool_utils.h b/tools/sk_tool_utils.h
index fe9daad255..857ad5aa47 100644
--- a/tools/sk_tool_utils.h
+++ b/tools/sk_tool_utils.h
@@ -57,11 +57,6 @@ namespace sk_tool_utils {
const char* platform_font_manager();
/**
- * Map serif, san-serif, and monospace to the platform-specific font name.
- */
- const char* platform_font_name(const char* name);
-
- /**
* Sets the paint to use a platform-independent text renderer
*/
void set_portable_typeface(SkPaint* paint, const char* name = nullptr,