Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Classes | Functions
SkFontMgr_custom_empty.cpp File Reference
#include "include/core/SkRefCnt.h"
#include "include/ports/SkFontMgr_empty.h"
#include "src/core/SkFontScanner.h"
#include "src/ports/SkFontMgr_custom.h"

Go to the source code of this file.

Classes

class  EmptyFontLoader
 

Functions

sk_sp< SkFontMgrSkFontMgr_New_Custom_Empty ()
 

Function Documentation

◆ SkFontMgr_New_Custom_Empty()

sk_sp< SkFontMgr > SkFontMgr_New_Custom_Empty ( )

Create a custom font manager that contains no built-in fonts. This font manager uses FreeType for rendering.

Definition at line 27 of file SkFontMgr_custom_empty.cpp.

27 {
28 return sk_make_sp<SkFontMgr_Custom>(EmptyFontLoader());
29}