Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cfx_folderfontinfo.h>
Classes | |
class | FontFaceInfo |
Public Member Functions | |
CFX_FolderFontInfo () | |
~CFX_FolderFontInfo () override | |
void | AddPath (const ByteString &path) |
bool | EnumFontList (CFX_FontMapper *pMapper) override |
void * | MapFont (int weight, bool bItalic, FX_Charset charset, int pitch_family, const ByteString &face) override |
void * | GetFont (const ByteString &face) override |
size_t | GetFontData (void *hFont, uint32_t table, pdfium::span< uint8_t > buffer) override |
void | DeleteFont (void *hFont) override |
bool | GetFaceName (void *hFont, ByteString *name) override |
bool | GetFontCharset (void *hFont, FX_Charset *charset) override |
Public Member Functions inherited from SystemFontInfoIface | |
virtual | ~SystemFontInfoIface ()=default |
Protected Member Functions | |
void | ScanPath (const ByteString &path) |
void | ScanFile (const ByteString &path) |
void | ReportFace (const ByteString &path, FILE *pFile, FX_FILESIZE filesize, uint32_t offset) |
void * | GetSubstFont (const ByteString &face) |
void * | FindFont (int weight, bool bItalic, FX_Charset charset, int pitch_family, const ByteString &family, bool bMatchName) |
Protected Attributes | |
std::map< ByteString, std::unique_ptr< FontFaceInfo > > | m_FontList |
std::vector< ByteString > | m_PathList |
UnownedPtr< CFX_FontMapper > | m_pMapper |
Friends | |
class | CFX_FolderFontInfoTest |
Definition at line 26 of file cfx_folderfontinfo.h.
|
default |
|
overridedefault |
void CFX_FolderFontInfo::AddPath | ( | const ByteString & | path | ) |
Definition at line 153 of file cfx_folderfontinfo.cpp.
Referenced by TEST().
Implements SystemFontInfoIface.
Definition at line 410 of file cfx_folderfontinfo.cpp.
|
overridevirtual |
Implements SystemFontInfoIface.
Definition at line 157 of file cfx_folderfontinfo.cpp.
Referenced by TEST().
|
protected |
Definition at line 316 of file cfx_folderfontinfo.cpp.
References FontFamilyIsFixedPitch(), GetFont(), and kANSI.
|
overridevirtual |
Implements SystemFontInfoIface.
Definition at line 412 of file cfx_folderfontinfo.cpp.
|
overridevirtual |
Implements SystemFontInfoIface.
Definition at line 366 of file cfx_folderfontinfo.cpp.
Referenced by FindFont(), and GetSubstFont().
|
overridevirtual |
Implements SystemFontInfoIface.
Definition at line 419 of file cfx_folderfontinfo.cpp.
|
overridevirtual |
Implements SystemFontInfoIface.
Definition at line 371 of file cfx_folderfontinfo.cpp.
References kTableTTCF, CFX_FolderFontInfo::FontFaceInfo::m_FileSize, and CFX_FolderFontInfo::FontFaceInfo::m_FontOffset.
|
protected |
Definition at line 308 of file cfx_folderfontinfo.cpp.
References GetFont().
|
overridevirtual |
Implements SystemFontInfoIface.
Definition at line 358 of file cfx_folderfontinfo.cpp.
|
protected |
Definition at line 234 of file cfx_folderfontinfo.cpp.
References fxcrt::ByteString::IsEmpty(), CFX_FontMapper::MakeTag(), fxcrt::ByteString::operator!=(), fxcrt::operator+(), fxcrt::ByteString::operator+=(), and fxcrt::ByteString::raw_str().
Referenced by ScanFile().
|
protected |
Definition at line 194 of file cfx_folderfontinfo.cpp.
References kTableTTCF, and ReportFace().
Referenced by ScanPath().
|
protected |
Definition at line 164 of file cfx_folderfontinfo.cpp.
References fxcrt::ByteString::MakeLower(), fxcrt::ByteString::operator!=(), fxcrt::ByteString::operator+=(), fxcrt::ByteString::operator+=(), fxcrt::ByteString::operator==(), ScanFile(), and ScanPath().
Referenced by ScanPath().
|
friend |
Definition at line 49 of file cfx_folderfontinfo.h.
|
protected |
Definition at line 82 of file cfx_folderfontinfo.h.
|
protected |
Definition at line 83 of file cfx_folderfontinfo.h.
|
protected |
Definition at line 84 of file cfx_folderfontinfo.h.