1 /* 2 * Copyright 2017 Google Inc. 3 * 4 * Use of this source code is governed by a BSD-style license that can be 5 * found in the LICENSE file. 6 */ 7 8 #ifndef TestFontMgr_DEFINED 9 #define TestFontMgr_DEFINED 10 11 #include "include/core/SkFontMgr.h" 12 13 // An SkFontMgr that always uses ToolUtils::create_portable_typeface(). 14 15 namespace ToolUtils { 16 sk_sp<SkFontMgr> MakePortableFontMgr(); 17 } // namespace ToolUtils 18 19 #endif // TestFontMgr_DEFINED 20