aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/fonts/SkTestFontMgr.h
blob: 6f4bb9c3c0c8af9a42a064ee53f97f7ea90abbbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * Copyright 2017 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#ifndef SkTestFontMgr_DEFINED
#define SkTestFontMgr_DEFINED

#include "SkFontMgr.h"

// An SkFontMgr that always uses sk_tool_utils::create_portable_typeface().

namespace sk_tool_utils {
    sk_sp<SkFontMgr> MakePortableFontMgr();
}  // namespace sk_tool_utils

#endif  //SkTestFontMgr_DEFINED