Flutter Engine
The Flutter Engine
third_party
txt
src
txt
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
5
#include "
third_party/skia/include/ports/SkTypeface_win.h
"
6
#include "
txt/platform.h
"
7
8
namespace
txt
{
9
10
std::vector<std::string>
GetDefaultFontFamilies
() {
11
return
{
"Segoe UI"
,
"Arial"
};
12
}
13
14
sk_sp<SkFontMgr>
GetDefaultFontManager
(uint32_t font_initialization_data) {
15
return
SkFontMgr_New_DirectWrite();
16
}
17
18
}
// namespace txt
SkTypeface_win.h
sk_sp< SkFontMgr >
txt
Definition:
paragraph_builder_skia.cc:27
txt::GetDefaultFontFamilies
std::vector< std::string > GetDefaultFontFamilies()
Definition:
platform.cc:13
txt::GetDefaultFontManager
sk_sp< SkFontMgr > GetDefaultFontManager(uint32_t font_initialization_data)
Definition:
platform.cc:17
platform.h
Generated on Sun Jun 23 2024 21:56:53 for Flutter Engine by
1.9.4