From cb9fc4160ea95453cb37134d4477c63d512458cc Mon Sep 17 00:00:00 2001 From: Mike Klein Date: Tue, 14 Nov 2017 10:45:32 -0500 Subject: 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 Commit-Queue: Mike Klein --- tools/sk_tool_utils.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'tools/sk_tool_utils.h') 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 @@ -56,11 +56,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 */ -- cgit v1.2.3