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.h File Reference

(e4657a741c23c8f48e0e97ae2091dc2d99f4f27d)

#include <stddef.h>
#include "fpdfview.h"
Include dependency graph for fpdf_sysfontinfo.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _FPDF_SYSFONTINFO
struct  FPDF_CharsetFontMap_

Macros

#define FXFONT_ANSI_CHARSET   0
#define FXFONT_DEFAULT_CHARSET   1
#define FXFONT_SYMBOL_CHARSET   2
#define FXFONT_SHIFTJIS_CHARSET   128
#define FXFONT_HANGEUL_CHARSET   129
#define FXFONT_GB2312_CHARSET   134
#define FXFONT_CHINESEBIG5_CHARSET   136
#define FXFONT_GREEK_CHARSET   161
#define FXFONT_VIETNAMESE_CHARSET   163
#define FXFONT_HEBREW_CHARSET   177
#define FXFONT_ARABIC_CHARSET   178
#define FXFONT_CYRILLIC_CHARSET   204
#define FXFONT_THAI_CHARSET   222
#define FXFONT_EASTERNEUROPEAN_CHARSET   238
#define FXFONT_FF_FIXEDPITCH   (1 << 0)
#define FXFONT_FF_ROMAN   (1 << 4)
#define FXFONT_FF_SCRIPT   (4 << 4)
#define FXFONT_FW_NORMAL   400
#define FXFONT_FW_BOLD   700

Typedefs

typedef struct _FPDF_SYSFONTINFO FPDF_SYSFONTINFO
typedef struct FPDF_CharsetFontMap_ FPDF_CharsetFontMap

Functions

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)
FPDF_EXPORT void FPDF_CALLCONV FPDF_AddInstalledFont (void *mapper, const char *face, int charset)
FPDF_EXPORT void FPDF_CALLCONV FPDF_SetSystemFontInfo (FPDF_SYSFONTINFO *pFontInfo)
FPDF_EXPORT FPDF_SYSFONTINFO *FPDF_CALLCONV FPDF_GetDefaultSystemFontInfo ()
FPDF_EXPORT void FPDF_CALLCONV FPDF_FreeDefaultSystemFontInfo (FPDF_SYSFONTINFO *pFontInfo)

Macro Definition Documentation

◆ FXFONT_ANSI_CHARSET

#define FXFONT_ANSI_CHARSET   0

Definition at line 17 of file fpdf_sysfontinfo.h.

◆ FXFONT_ARABIC_CHARSET

#define FXFONT_ARABIC_CHARSET   178

Definition at line 27 of file fpdf_sysfontinfo.h.

◆ FXFONT_CHINESEBIG5_CHARSET

#define FXFONT_CHINESEBIG5_CHARSET   136

Definition at line 23 of file fpdf_sysfontinfo.h.

◆ FXFONT_CYRILLIC_CHARSET

#define FXFONT_CYRILLIC_CHARSET   204

Definition at line 28 of file fpdf_sysfontinfo.h.

◆ FXFONT_DEFAULT_CHARSET

#define FXFONT_DEFAULT_CHARSET   1

Definition at line 18 of file fpdf_sysfontinfo.h.

◆ FXFONT_EASTERNEUROPEAN_CHARSET

#define FXFONT_EASTERNEUROPEAN_CHARSET   238

Definition at line 30 of file fpdf_sysfontinfo.h.

◆ FXFONT_FF_FIXEDPITCH

#define FXFONT_FF_FIXEDPITCH   (1 << 0)

Definition at line 33 of file fpdf_sysfontinfo.h.

◆ FXFONT_FF_ROMAN

#define FXFONT_FF_ROMAN   (1 << 4)

Definition at line 34 of file fpdf_sysfontinfo.h.

◆ FXFONT_FF_SCRIPT

#define FXFONT_FF_SCRIPT   (4 << 4)

Definition at line 35 of file fpdf_sysfontinfo.h.

◆ FXFONT_FW_BOLD

#define FXFONT_FW_BOLD   700

Definition at line 39 of file fpdf_sysfontinfo.h.

◆ FXFONT_FW_NORMAL

#define FXFONT_FW_NORMAL   400

Definition at line 38 of file fpdf_sysfontinfo.h.

◆ FXFONT_GB2312_CHARSET

#define FXFONT_GB2312_CHARSET   134

Definition at line 22 of file fpdf_sysfontinfo.h.

◆ FXFONT_GREEK_CHARSET

#define FXFONT_GREEK_CHARSET   161

Definition at line 24 of file fpdf_sysfontinfo.h.

◆ FXFONT_HANGEUL_CHARSET

#define FXFONT_HANGEUL_CHARSET   129

Definition at line 21 of file fpdf_sysfontinfo.h.

◆ FXFONT_HEBREW_CHARSET

#define FXFONT_HEBREW_CHARSET   177

Definition at line 26 of file fpdf_sysfontinfo.h.

◆ FXFONT_SHIFTJIS_CHARSET

#define FXFONT_SHIFTJIS_CHARSET   128

Definition at line 20 of file fpdf_sysfontinfo.h.

◆ FXFONT_SYMBOL_CHARSET

#define FXFONT_SYMBOL_CHARSET   2

Definition at line 19 of file fpdf_sysfontinfo.h.

◆ FXFONT_THAI_CHARSET

#define FXFONT_THAI_CHARSET   222

Definition at line 29 of file fpdf_sysfontinfo.h.

◆ FXFONT_VIETNAMESE_CHARSET

#define FXFONT_VIETNAMESE_CHARSET   163

Definition at line 25 of file fpdf_sysfontinfo.h.

Typedef Documentation

◆ FPDF_CharsetFontMap

◆ FPDF_SYSFONTINFO

Function Documentation

◆ 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 * pFontInfo)

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: