bungeman | 5cf1949 | 2015-06-15 15:17:21 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2015 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 | |
mtklein | 1ee7651 | 2015-11-02 10:20:27 -0800 | [diff] [blame^] | 8 | #include "SkTypes.h" |
| 9 | #if defined(SK_BUILD_FOR_WIN32) // And !SKIA_GDI? |
| 10 | |
bungeman | 5cf1949 | 2015-06-15 15:17:21 -0700 | [diff] [blame] | 11 | #include "SkFontMgr.h" |
| 12 | #include "SkTypeface_win.h" |
| 13 | |
| 14 | SkFontMgr* SkFontMgr::Factory() { |
| 15 | return SkFontMgr_New_DirectWrite(); |
| 16 | } |
mtklein | 1ee7651 | 2015-11-02 10:20:27 -0800 | [diff] [blame^] | 17 | |
| 18 | #endif//defined(SK_BUILD_FOR_WIN32) |