Ben Wagner | 483c772 | 2018-02-20 17:06:07 -0500 | [diff] [blame] | 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 SkTestFontMgr_DEFINED |
| 9 | #define SkTestFontMgr_DEFINED |
| 10 | |
| 11 | #include "SkFontMgr.h" |
| 12 | |
| 13 | // An SkFontMgr that always uses sk_tool_utils::create_portable_typeface(). |
| 14 | |
| 15 | namespace sk_tool_utils { |
| 16 | sk_sp<SkFontMgr> MakePortableFontMgr(); |
| 17 | } // namespace sk_tool_utils |
| 18 | |
| 19 | #endif //SkTestFontMgr_DEFINED |