blob: 6f4bb9c3c0c8af9a42a064ee53f97f7ea90abbbe [file] [log] [blame]
Ben Wagner483c7722018-02-20 17:06:07 -05001/*
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
15namespace sk_tool_utils {
16 sk_sp<SkFontMgr> MakePortableFontMgr();
17} // namespace sk_tool_utils
18
19#endif //SkTestFontMgr_DEFINED