skia2/dm/DMFontMgr.h
Hal Canary ccafca0054 DM: hide DM:FontMgr behind a factory
Change-Id: I4dc745479ceb1d5ca1ddb4a0904f342576e4562c
Reviewed-on: https://skia-review.googlesource.com/71240
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Hal Canary <halcanary@google.com>
2017-11-14 16:24:44 +00:00

20 lines
396 B
C++

/*
* 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 DMFontMgr_DEFINED
#define DMFontMgr_DEFINED
#include "SkFontMgr.h"
// An SkFontMgr that always uses sk_tool_utils::create_portable_typeface().
namespace DM {
sk_sp<SkFontMgr> MakeFontMgr();
} // namespace DM
#endif//DMFontMgr_DEFINED