7#ifndef CORE_FXGE_ANDROID_CFPF_SKIAFONTMGR_H_
8#define CORE_FXGE_ANDROID_CFPF_SKIAFONTMGR_H_
14#include "core/fxcrt/bytestring.h"
15#include "core/fxcrt/fx_codepage_forward.h"
16#include "core/fxcrt/retain_ptr.h"
17#include "core/fxge/cfx_face.h"
18#include "core/fxge/freetype/fx_freetype.h"
39 std::unique_ptr<CFPF_SkiaPathFont> ReportFace(
RetainPtr<CFX_Face> face,
42 bool loaded_fonts_ =
false;
44 std::vector<std::unique_ptr<CFPF_SkiaPathFont>> font_faces_;
46 std::map<uint32_t, std::unique_ptr<CFPF_SkiaFont>> family_font_map_;
fxcrt::ByteString ByteString
CFPF_SkiaDeviceModule * CFPF_GetSkiaDeviceModule()
CFPF_SkiaFontMgr * GetFontMgr()
std::unique_ptr< CFPF_SkiaFontMgr > m_pFontMgr
void LoadFonts(const char **user_paths)
RetainPtr< CFX_Face > GetFontFace(ByteStringView path, int32_t face_index)
CFPF_SkiaFont * CreateFont(ByteStringView family_name, FX_Charset charset, uint32_t style)
std::unique_ptr< FXFT_LibraryRec, FXFTLibraryRecDeleter > ScopedFXFTLibraryRec
fxcrt::ByteStringView ByteStringView