blob: 040778e17487103b5b2b26fde7b5dd6072c630b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/*
* Copyright 2015 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkTypes.h"
#if defined(SK_BUILD_FOR_WIN32) // And SKIA_GDI?
#include "SkFontMgr.h"
#include "SkTypeface_win.h"
#ifdef SK_LEGACY_FONTMGR_FACTORY
SkFontMgr* SkFontMgr::Factory() {
#else
sk_sp<SkFontMgr> SkFontMgr::Factory() {
#endif
return SkFontMgr_New_GDI();
}
#endif//defined(SK_BUILD_FOR_WIN32)
|