Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Public Member Functions | |
TestFontMapper () | |
RetainPtr< CFX_Face > | GetCachedTTCFace (void *font_handle, size_t ttc_size, size_t data_size) |
RetainPtr< CFX_Face > | GetCachedFace (void *font_handle, ByteString subst_name, int weight, bool is_italic, size_t data_size) |
TestFontMapper () | |
RetainPtr< CFX_Face > | GetCachedTTCFace (void *font_handle, size_t ttc_size, size_t data_size) |
RetainPtr< CFX_Face > | GetCachedFace (void *font_handle, ByteString subst_name, int weight, bool is_italic, size_t data_size) |
Public Member Functions inherited from CFX_FontMapper | |
CFX_FontMapper (CFX_FontMgr *mgr) | |
~CFX_FontMapper () | |
void | SetSystemFontInfo (std::unique_ptr< SystemFontInfoIface > pFontInfo) |
std::unique_ptr< SystemFontInfoIface > | TakeSystemFontInfo () |
void | AddInstalledFont (const ByteString &name, FX_Charset charset) |
void | LoadInstalledFonts () |
RetainPtr< CFX_Face > | FindSubstFont (const ByteString &face_name, bool is_truetype, uint32_t flags, int weight, int italic_angle, FX_CodePage code_page, CFX_SubstFont *subst_font) |
size_t | GetFaceSize () const |
ByteString | GetFaceName (size_t index) const |
bool | HasInstalledFont (ByteStringView name) const |
bool | HasLocalizedFont (ByteStringView name) const |
Additional Inherited Members | |
Public Types inherited from CFX_FontMapper | |
enum | StandardFont : uint8_t { kCourier = 0 , kCourierBold , kCourierBoldOblique , kCourierOblique , kHelvetica , kHelveticaBold , kHelveticaBoldOblique , kHelveticaOblique , kTimes , kTimesBold , kTimesBoldOblique , kTimesOblique , kSymbol , kDingbats , kLast = kDingbats } |
Static Public Member Functions inherited from CFX_FontMapper | |
static absl::optional< StandardFont > | GetStandardFontName (ByteString *name) |
static bool | IsStandardFontName (const ByteString &name) |
static bool | IsSymbolicFont (StandardFont font) |
static bool | IsFixedFont (StandardFont font) |
static constexpr uint32_t | MakeTag (char c1, char c2, char c3, char c4) |
Static Public Attributes inherited from CFX_FontMapper | |
static constexpr int | kNumStandardFonts = 14 |
Definition at line 47 of file cfx_fontmapper_unittest.cpp.
|
inline |
Definition at line 49 of file cfx_fontmapper_unittest.cpp.
References CFX_FontMapper::CFX_FontMapper(), CFX_GEModule::Get(), and CFX_GEModule::GetFontMgr().
|
inline |
Definition at line 49 of file cfx_fontmapper_unittest.cpp.
|
inline |
Definition at line 57 of file cfx_fontmapper_unittest.cpp.
|
inline |
Definition at line 57 of file cfx_fontmapper_unittest.cpp.
|
inline |
Definition at line 51 of file cfx_fontmapper_unittest.cpp.
|
inline |
Definition at line 51 of file cfx_fontmapper_unittest.cpp.