7#include "core/fxge/android/cfx_androidfontinfo.h"
9#include "core/fxcrt/fx_system.h"
10#include "core/fxge/android/cfpf_skiafont.h"
11#include "core/fxge/android/cfpf_skiafontmgr.h"
12#include "core/fxge/cfx_fontmapper.h"
13#include "core/fxge/fx_font.h"
24 m_pFontMgr = pFontMgr;
32void* CFX_AndroidFontInfo::
MapFont(
int weight,
36 const ByteString& face) {
51 return m_pFontMgr->CreateFont(face.AsStringView(), charset, dwStyle);
54void* CFX_AndroidFontInfo::
GetFont(
const ByteString& face) {
60 pdfium::span<uint8_t> buffer) {
66bool CFX_AndroidFontInfo::
GetFaceName(
void* hFont, ByteString* name) {
FX_Charset GetCharset() const
ByteString GetFamilyName()
uint32_t GetFontData(uint32_t dwTable, pdfium::span< uint8_t > pBuffer)
void * MapFont(int weight, bool bItalic, FX_Charset charset, int pitch_family, const ByteString &face) override
bool GetFontCharset(void *hFont, FX_Charset *charset) override
~CFX_AndroidFontInfo() override
void DeleteFont(void *hFont) override
bool GetFaceName(void *hFont, ByteString *name) override
bool Init(CFPF_SkiaFontMgr *pFontMgr)
size_t GetFontData(void *hFont, uint32_t table, pdfium::span< uint8_t > buffer) override
void * GetFont(const ByteString &face) override
bool EnumFontList(CFX_FontMapper *pMapper) override
ByteString & operator=(ByteString &&that) noexcept
bool FontFamilyIsFixedPitch(uint32_t family)
bool FontFamilyIsScript(int32_t family)
bool FontFamilyIsRoman(uint32_t family)
#define FXFONT_FORCE_BOLD
#define FXFONT_FIXED_PITCH