Flutter Engine
platform_android.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 "txt/platform.h"
6 
7 namespace txt {
8 
9 std::vector<std::string> GetDefaultFontFamilies() {
10  return {"sans-serif"};
11 }
12 
13 sk_sp<SkFontMgr> GetDefaultFontManager() {
14  return SkFontMgr::RefDefault();
15 }
16 
17 } // namespace txt
sk_sp< SkFontMgr > GetDefaultFontManager()
Definition: platform.cc:13
std::vector< std::string > GetDefaultFontFamilies()
Definition: platform.cc:9