7#include "core/fxge/cfx_gemodule.h"
9#include "core/fxge/cfx_folderfontinfo.h"
10#include "core/fxge/cfx_fontcache.h"
11#include "core/fxge/cfx_fontmgr.h"
12#include "third_party/base/check.h"
21 : m_pPlatform(PlatformIface::Create()),
22 m_pFontMgr(std::make_unique<CFX_FontMgr>()),
23 m_pFontCache(std::make_unique<CFX_FontCache>()),
24 m_pUserFontPaths(pUserFontPaths) {}
32 g_pGEModule->m_pPlatform->Init();
34 g_pGEModule->m_pPlatform->CreateDefaultSystemFontInfo());
41 g_pGEModule =
nullptr;
CFX_FontMapper * GetBuiltinMapper() const
static CFX_GEModule * Get()
static void Create(const char **pUserFontPaths)
CFX_FontMgr * GetFontMgr() const