Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
platform_windows.cc
Go to the documentation of this file.
1// Copyright 2013 The Flutter Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
6#include "txt/platform.h"
7
8namespace txt {
9
10std::vector<std::string> GetDefaultFontFamilies() {
11 return {"Segoe UI", "Arial"};
12}
13
14sk_sp<SkFontMgr> GetDefaultFontManager(uint32_t font_initialization_data) {
15 return SkFontMgr_New_DirectWrite();
16}
17
18} // namespace txt
std::vector< std::string > GetDefaultFontFamilies()
Definition platform.cc:13
sk_sp< SkFontMgr > GetDefaultFontManager(uint32_t font_initialization_data)
Definition platform.cc:17