Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
CFX_AndroidFontInfo Class Referencefinal

#include <cfx_androidfontinfo.h>

+ Inheritance diagram for CFX_AndroidFontInfo:
+ Collaboration diagram for CFX_AndroidFontInfo:

Public Member Functions

 CFX_AndroidFontInfo ()
 
 ~CFX_AndroidFontInfo () override
 
bool Init (CFPF_SkiaFontMgr *pFontMgr)
 
bool EnumFontList (CFX_FontMapper *pMapper) override
 
voidMapFont (int weight, bool bItalic, FX_Charset charset, int pitch_family, const ByteString &face) override
 
voidGetFont (const ByteString &face) override
 
size_t GetFontData (void *hFont, uint32_t table, pdfium::span< uint8_t > buffer) override
 
bool GetFaceName (void *hFont, ByteString *name) override
 
bool GetFontCharset (void *hFont, FX_Charset *charset) override
 
void DeleteFont (void *hFont) override
 
- Public Member Functions inherited from SystemFontInfoIface
virtual ~SystemFontInfoIface ()=default
 

Detailed Description

Definition at line 19 of file cfx_androidfontinfo.h.

Constructor & Destructor Documentation

◆ CFX_AndroidFontInfo()

CFX_AndroidFontInfo::CFX_AndroidFontInfo ( )
default

◆ ~CFX_AndroidFontInfo()

CFX_AndroidFontInfo::~CFX_AndroidFontInfo ( )
overridedefault

Member Function Documentation

◆ DeleteFont()

void CFX_AndroidFontInfo::DeleteFont ( void * hFont)
overridevirtual

Implements SystemFontInfoIface.

Definition at line 82 of file cfx_androidfontinfo.cpp.

◆ EnumFontList()

bool CFX_AndroidFontInfo::EnumFontList ( CFX_FontMapper * pMapper)
overridevirtual

Implements SystemFontInfoIface.

Definition at line 28 of file cfx_androidfontinfo.cpp.

◆ GetFaceName()

bool CFX_AndroidFontInfo::GetFaceName ( void * hFont,
ByteString * name )
overridevirtual

Implements SystemFontInfoIface.

Definition at line 66 of file cfx_androidfontinfo.cpp.

References CFPF_SkiaFont::GetFamilyName(), and fxcrt::ByteString::operator=().

+ Here is the call graph for this function:

◆ GetFont()

void * CFX_AndroidFontInfo::GetFont ( const ByteString & face)
overridevirtual

Implements SystemFontInfoIface.

Definition at line 54 of file cfx_androidfontinfo.cpp.

◆ GetFontCharset()

bool CFX_AndroidFontInfo::GetFontCharset ( void * hFont,
FX_Charset * charset )
overridevirtual

Implements SystemFontInfoIface.

Definition at line 74 of file cfx_androidfontinfo.cpp.

References CFPF_SkiaFont::GetCharset().

+ Here is the call graph for this function:

◆ GetFontData()

size_t CFX_AndroidFontInfo::GetFontData ( void * hFont,
uint32_t table,
pdfium::span< uint8_t > buffer )
overridevirtual

Implements SystemFontInfoIface.

Definition at line 58 of file cfx_androidfontinfo.cpp.

References CFPF_SkiaFont::GetFontData().

+ Here is the call graph for this function:

◆ Init()

bool CFX_AndroidFontInfo::Init ( CFPF_SkiaFontMgr * pFontMgr)

Definition at line 19 of file cfx_androidfontinfo.cpp.

References CFPF_SkiaFontMgr::LoadSystemFonts().

+ Here is the call graph for this function:

◆ MapFont()

void * CFX_AndroidFontInfo::MapFont ( int weight,
bool bItalic,
FX_Charset charset,
int pitch_family,
const ByteString & face )
overridevirtual

Implements SystemFontInfoIface.

Definition at line 32 of file cfx_androidfontinfo.cpp.

References FontFamilyIsFixedPitch(), FontFamilyIsRoman(), and FontFamilyIsScript().

+ Here is the call graph for this function:

The documentation for this class was generated from the following files: