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_FontMgr Class Reference

#include <cfx_fontmgr.h>

+ Collaboration diagram for CFX_FontMgr:

Classes

class  FontDesc
 

Public Member Functions

 CFX_FontMgr ()
 
 ~CFX_FontMgr ()
 
RetainPtr< FontDescGetCachedFontDesc (const ByteString &face_name, int weight, bool bItalic)
 
RetainPtr< FontDescAddCachedFontDesc (const ByteString &face_name, int weight, bool bItalic, FixedSizeDataVector< uint8_t > data)
 
RetainPtr< FontDescGetCachedTTCFontDesc (size_t ttc_size, uint32_t checksum)
 
RetainPtr< FontDescAddCachedTTCFontDesc (size_t ttc_size, uint32_t checksum, FixedSizeDataVector< uint8_t > data)
 
RetainPtr< CFX_FaceNewFixedFace (RetainPtr< FontDesc > pDesc, pdfium::span< const uint8_t > span, size_t face_index)
 
CFX_FontMapperGetBuiltinMapper () const
 
FXFT_LibraryRecGetFTLibrary () const
 
bool FTLibrarySupportsHinting () const
 

Static Public Member Functions

static pdfium::span< const uint8_t > GetStandardFont (size_t index)
 
static pdfium::span< const uint8_t > GetGenericSansFont ()
 
static pdfium::span< const uint8_t > GetGenericSerifFont ()
 

Detailed Description

Definition at line 27 of file cfx_fontmgr.h.

Constructor & Destructor Documentation

◆ CFX_FontMgr()

CFX_FontMgr::CFX_FontMgr ( )

Definition at line 73 of file cfx_fontmgr.cpp.

References CFX_FontMgr().

Referenced by CFX_FontMgr().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ~CFX_FontMgr()

CFX_FontMgr::~CFX_FontMgr ( )
default

Member Function Documentation

◆ AddCachedFontDesc()

RetainPtr< CFX_FontMgr::FontDesc > CFX_FontMgr::AddCachedFontDesc ( const ByteString & face_name,
int weight,
bool bItalic,
FixedSizeDataVector< uint8_t > data )

Definition at line 89 of file cfx_fontmgr.cpp.

◆ AddCachedTTCFontDesc()

RetainPtr< CFX_FontMgr::FontDesc > CFX_FontMgr::AddCachedTTCFontDesc ( size_t ttc_size,
uint32_t checksum,
FixedSizeDataVector< uint8_t > data )

Definition at line 107 of file cfx_fontmgr.cpp.

◆ FTLibrarySupportsHinting()

bool CFX_FontMgr::FTLibrarySupportsHinting ( ) const
inline

Definition at line 74 of file cfx_fontmgr.h.

Referenced by CFX_RenderDevice::DrawNormalText().

+ Here is the caller graph for this function:

◆ GetBuiltinMapper()

CFX_FontMapper * CFX_FontMgr::GetBuiltinMapper ( ) const
inline

Definition at line 71 of file cfx_fontmgr.h.

Referenced by CFX_GEModule::Create(), FPDF_SetSystemFontInfo(), TestFonts::InstallFontMapper(), and XFATestEnvironment::SetUp().

+ Here is the caller graph for this function:

◆ GetCachedFontDesc()

RetainPtr< CFX_FontMgr::FontDesc > CFX_FontMgr::GetCachedFontDesc ( const ByteString & face_name,
int weight,
bool bItalic )

Definition at line 81 of file cfx_fontmgr.cpp.

◆ GetCachedTTCFontDesc()

RetainPtr< CFX_FontMgr::FontDesc > CFX_FontMgr::GetCachedTTCFontDesc ( size_t ttc_size,
uint32_t checksum )

Definition at line 99 of file cfx_fontmgr.cpp.

◆ GetFTLibrary()

FXFT_LibraryRec * CFX_FontMgr::GetFTLibrary ( ) const
inline

Definition at line 73 of file cfx_fontmgr.h.

Referenced by FXFTMMVarDeleter::operator()().

+ Here is the caller graph for this function:

◆ GetGenericSansFont()

pdfium::span< const uint8_t > CFX_FontMgr::GetGenericSansFont ( )
static

Definition at line 139 of file cfx_fontmgr.cpp.

◆ GetGenericSerifFont()

pdfium::span< const uint8_t > CFX_FontMgr::GetGenericSerifFont ( )
static

Definition at line 145 of file cfx_fontmgr.cpp.

◆ GetStandardFont()

pdfium::span< const uint8_t > CFX_FontMgr::GetStandardFont ( size_t index)
static

Definition at line 132 of file cfx_fontmgr.cpp.

◆ NewFixedFace()

RetainPtr< CFX_Face > CFX_FontMgr::NewFixedFace ( RetainPtr< FontDesc > pDesc,
pdfium::span< const uint8_t > span,
size_t face_index )

Definition at line 116 of file cfx_fontmgr.cpp.


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