2017-11-06 17:02:47 +00:00
|
|
|
/*
|
|
|
|
* Copyright 2017 Google Inc.
|
|
|
|
*
|
|
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
|
|
* found in the LICENSE file.
|
|
|
|
*/
|
|
|
|
|
2018-02-20 22:06:07 +00:00
|
|
|
#ifndef SkTestFontMgr_DEFINED
|
|
|
|
#define SkTestFontMgr_DEFINED
|
2017-11-06 17:02:47 +00:00
|
|
|
|
|
|
|
#include "SkFontMgr.h"
|
|
|
|
|
|
|
|
// An SkFontMgr that always uses sk_tool_utils::create_portable_typeface().
|
|
|
|
|
2018-02-20 22:06:07 +00:00
|
|
|
namespace sk_tool_utils {
|
|
|
|
sk_sp<SkFontMgr> MakePortableFontMgr();
|
|
|
|
} // namespace sk_tool_utils
|
2017-11-06 17:02:47 +00:00
|
|
|
|
2018-02-20 22:06:07 +00:00
|
|
|
#endif //SkTestFontMgr_DEFINED
|