SkFontMgr_win_dw_factory.cpp 425 B

123456789101112131415161718
  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. #include "include/core/SkTypes.h"
  8. #if defined(SK_BUILD_FOR_WIN) // And !SKIA_GDI?
  9. #include "include/core/SkFontMgr.h"
  10. #include "include/ports/SkTypeface_win.h"
  11. sk_sp<SkFontMgr> SkFontMgr::Factory() {
  12. return SkFontMgr_New_DirectWrite();
  13. }
  14. #endif//defined(SK_BUILD_FOR_WIN)