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
fpdf_sysfontinfo.cpp File Reference

(e4657a741c23c8f48e0e97ae2091dc2d99f4f27d)

Include dependency graph for fpdf_sysfontinfo.cpp:

Go to the source code of this file.

Classes

class  CFX_ExternalFontInfo
struct  FPDF_SYSFONTINFO_DEFAULT

Functions

FPDF_EXPORT void FPDF_CALLCONV FPDF_AddInstalledFont (void *mapper, const char *face, int charset)
FPDF_EXPORT void FPDF_CALLCONV FPDF_SetSystemFontInfo (FPDF_SYSFONTINFO *pFontInfoExt)
FPDF_EXPORT const FPDF_CharsetFontMap *FPDF_CALLCONV FPDF_GetDefaultTTFMap ()
FPDF_EXPORT size_t FPDF_CALLCONV FPDF_GetDefaultTTFMapCount ()
FPDF_EXPORT const FPDF_CharsetFontMap *FPDF_CALLCONV FPDF_GetDefaultTTFMapEntry (size_t index)
static void DefaultRelease (struct _FPDF_SYSFONTINFO *pThis)
static void DefaultEnumFonts (struct _FPDF_SYSFONTINFO *pThis, void *pMapper)
static voidDefaultMapFont (struct _FPDF_SYSFONTINFO *pThis, int weight, FPDF_BOOL use_italic, int charset, int pitch_family, const char *family, FPDF_BOOL *)
voidDefaultGetFont (struct _FPDF_SYSFONTINFO *pThis, const char *family)
static unsigned long DefaultGetFontData (struct _FPDF_SYSFONTINFO *pThis, void *hFont, unsigned int table, unsigned char *buffer, unsigned long buf_size)
static unsigned long DefaultGetFaceName (struct _FPDF_SYSFONTINFO *pThis, void *hFont, char *buffer, unsigned long buf_size)
static int DefaultGetFontCharset (struct _FPDF_SYSFONTINFO *pThis, void *hFont)
static void DefaultDeleteFont (struct _FPDF_SYSFONTINFO *pThis, void *hFont)
FPDF_EXPORT FPDF_SYSFONTINFO *FPDF_CALLCONV FPDF_GetDefaultSystemFontInfo ()
FPDF_EXPORT void FPDF_CALLCONV FPDF_FreeDefaultSystemFontInfo (FPDF_SYSFONTINFO *pFontInfo)

Function Documentation

◆ DefaultDeleteFont()

void DefaultDeleteFont ( struct _FPDF_SYSFONTINFO * pThis,
void * hFont )
static

Definition at line 268 of file fpdf_sysfontinfo.cpp.

Referenced by FPDF_GetDefaultSystemFontInfo().

Here is the caller graph for this function:

◆ DefaultEnumFonts()

void DefaultEnumFonts ( struct _FPDF_SYSFONTINFO * pThis,
void * pMapper )
static

Definition at line 207 of file fpdf_sysfontinfo.cpp.

Referenced by FPDF_GetDefaultSystemFontInfo().

Here is the caller graph for this function:

◆ DefaultGetFaceName()

unsigned long DefaultGetFaceName ( struct _FPDF_SYSFONTINFO * pThis,
void * hFont,
char * buffer,
unsigned long buf_size )
static

Definition at line 243 of file fpdf_sysfontinfo.cpp.

Referenced by FPDF_GetDefaultSystemFontInfo().

Here is the caller graph for this function:

◆ DefaultGetFont()

void * DefaultGetFont ( struct _FPDF_SYSFONTINFO * pThis,
const char * family )

Definition at line 225 of file fpdf_sysfontinfo.cpp.

Referenced by FPDF_GetDefaultSystemFontInfo().

Here is the caller graph for this function:

◆ DefaultGetFontCharset()

int DefaultGetFontCharset ( struct _FPDF_SYSFONTINFO * pThis,
void * hFont )
static

Definition at line 260 of file fpdf_sysfontinfo.cpp.

Referenced by FPDF_GetDefaultSystemFontInfo().

Here is the caller graph for this function:

◆ DefaultGetFontData()

unsigned long DefaultGetFontData ( struct _FPDF_SYSFONTINFO * pThis,
void * hFont,
unsigned int table,
unsigned char * buffer,
unsigned long buf_size )
static

Definition at line 231 of file fpdf_sysfontinfo.cpp.

Referenced by FPDF_GetDefaultSystemFontInfo().

Here is the caller graph for this function:

◆ DefaultMapFont()

void * DefaultMapFont ( struct _FPDF_SYSFONTINFO * pThis,
int weight,
FPDF_BOOL use_italic,
int charset,
int pitch_family,
const char * family,
FPDF_BOOL *  )
static

Definition at line 212 of file fpdf_sysfontinfo.cpp.

References FX_GetCharsetFromInt().

Referenced by FPDF_GetDefaultSystemFontInfo().

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

◆ DefaultRelease()

void DefaultRelease ( struct _FPDF_SYSFONTINFO * pThis)
static

Definition at line 202 of file fpdf_sysfontinfo.cpp.

Referenced by FPDF_GetDefaultSystemFontInfo().

Here is the caller graph for this function:

◆ FPDF_AddInstalledFont()

FPDF_EXPORT void FPDF_CALLCONV FPDF_AddInstalledFont ( void * mapper,
const char * face,
int charset )

Definition at line 153 of file fpdf_sysfontinfo.cpp.

References CFX_FontMapper::AddInstalledFont(), and FX_GetCharsetFromInt().

Referenced by CheckPDFiumCApi().

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

◆ FPDF_FreeDefaultSystemFontInfo()

FPDF_EXPORT void FPDF_CALLCONV FPDF_FreeDefaultSystemFontInfo ( FPDF_SYSFONTINFO * pFontInfo)

Definition at line 295 of file fpdf_sysfontinfo.cpp.

Referenced by CheckPDFiumCApi().

Here is the caller graph for this function:

◆ FPDF_GetDefaultSystemFontInfo()

FPDF_EXPORT FPDF_SYSFONTINFO *FPDF_CALLCONV FPDF_GetDefaultSystemFontInfo ( )

Definition at line 273 of file fpdf_sysfontinfo.cpp.

References DefaultDeleteFont(), DefaultEnumFonts(), DefaultGetFaceName(), DefaultGetFont(), DefaultGetFontCharset(), DefaultGetFontData(), DefaultMapFont(), DefaultRelease(), _FPDF_SYSFONTINFO::DeleteFont, _FPDF_SYSFONTINFO::EnumFonts, CFX_GEModule::Get(), _FPDF_SYSFONTINFO::GetFaceName, _FPDF_SYSFONTINFO::GetFont, _FPDF_SYSFONTINFO::GetFontCharset, _FPDF_SYSFONTINFO::GetFontData, CFX_GEModule::GetPlatform(), _FPDF_SYSFONTINFO::MapFont, _FPDF_SYSFONTINFO::Release, and _FPDF_SYSFONTINFO::version.

Referenced by CheckPDFiumCApi().

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

◆ FPDF_GetDefaultTTFMap()

FPDF_EXPORT const FPDF_CharsetFontMap *FPDF_CALLCONV FPDF_GetDefaultTTFMap ( )

Definition at line 180 of file fpdf_sysfontinfo.cpp.

Referenced by CheckPDFiumCApi(), and TEST_F().

Here is the caller graph for this function:

◆ FPDF_GetDefaultTTFMapCount()

FPDF_EXPORT size_t FPDF_CALLCONV FPDF_GetDefaultTTFMapCount ( )

Definition at line 185 of file fpdf_sysfontinfo.cpp.

Referenced by CheckPDFiumCApi().

Here is the caller graph for this function:

◆ FPDF_GetDefaultTTFMapEntry()

FPDF_EXPORT const FPDF_CharsetFontMap *FPDF_CALLCONV FPDF_GetDefaultTTFMapEntry ( size_t index)

Definition at line 190 of file fpdf_sysfontinfo.cpp.

Referenced by CheckPDFiumCApi().

Here is the caller graph for this function:

◆ FPDF_SetSystemFontInfo()

FPDF_EXPORT void FPDF_CALLCONV FPDF_SetSystemFontInfo ( FPDF_SYSFONTINFO * pFontInfoExt)

Definition at line 161 of file fpdf_sysfontinfo.cpp.

References CFX_GEModule::Get(), CFX_FontMgr::GetBuiltinMapper(), CFX_GEModule::GetFontMgr(), and _FPDF_SYSFONTINFO::version.

Referenced by FontRenamer::~FontRenamer(), and CheckPDFiumCApi().

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