blob: dbbe61c3b4ac1f3df319195ff4f686cbc0bf29d7 [file] [log] [blame]
Mike Klein31868212017-11-06 12:02:47 -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 DMFontMgr_DEFINED
9#define DMFontMgr_DEFINED
10
11#include "SkFontMgr.h"
12
13// An SkFontMgr that always uses sk_tool_utils::create_portable_typeface().
14
15namespace DM {
Hal Canaryccafca02017-11-14 10:34:48 -050016 sk_sp<SkFontMgr> MakeFontMgr();
Mike Klein31868212017-11-06 12:02:47 -050017} // namespace DM
18
19#endif//DMFontMgr_DEFINED