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.
|
|
|
|
*/
|
|
|
|
|
2019-03-20 16:08:46 +00:00
|
|
|
#ifndef TestFontMgr_DEFINED
|
|
|
|
#define TestFontMgr_DEFINED
|
2017-11-06 17:02:47 +00:00
|
|
|
|
2019-04-23 17:05:21 +00:00
|
|
|
#include "include/core/SkFontMgr.h"
|
2017-11-06 17:02:47 +00:00
|
|
|
|
2019-03-20 16:12:10 +00:00
|
|
|
// An SkFontMgr that always uses ToolUtils::create_portable_typeface().
|
2017-11-06 17:02:47 +00:00
|
|
|
|
2019-03-20 16:12:10 +00:00
|
|
|
namespace ToolUtils {
|
2019-03-20 16:08:46 +00:00
|
|
|
sk_sp<SkFontMgr> MakePortableFontMgr();
|
2019-03-20 16:12:10 +00:00
|
|
|
} // namespace ToolUtils
|
2017-11-06 17:02:47 +00:00
|
|
|
|
2019-03-20 16:08:46 +00:00
|
|
|
#endif // TestFontMgr_DEFINED
|