Flutter Engine
The Flutter Engine
|
#include <TargetConditionals.h>
#include "flutter/fml/platform/darwin/cf_utils.h"
#include "flutter/fml/platform/darwin/platform_version.h"
#include "third_party/skia/include/ports/SkFontMgr_mac_ct.h"
#include "third_party/skia/include/ports/SkTypeface_mac.h"
#include "txt/platform.h"
#include "txt/platform_mac.h"
#include <AppKit/AppKit.h>
Go to the source code of this file.
Namespaces | |
namespace | txt |
Macros | |
#define | FONT_CLASS NSFont |
Functions | |
std::vector< std::string > | txt::GetDefaultFontFamilies () |
sk_sp< SkFontMgr > | txt::GetDefaultFontManager (uint32_t font_initialization_data) |
fml::CFRef< CTFontRef > | txt::MatchSystemUIFont (float desired_weight, float size) |
void | txt::RegisterSystemFonts (const DynamicFontManager &dynamic_font_manager) |
Variables | |
static const CGFloat | kSFProDisplayBreakPoint = 29 |
static const std::string | kSFProDisplayName = "CupertinoSystemDisplay" |
float | kNormalWeightValue = 400 |
const FourCharCode | txt::kWeightTag = 'wght' |
#define FONT_CLASS NSFont |
Definition at line 19 of file platform_mac.mm.
float kNormalWeightValue = 400 |
Definition at line 27 of file platform_mac.mm.
|
static |
Definition at line 23 of file platform_mac.mm.
|
static |
Definition at line 25 of file platform_mac.mm.