Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cpdf_truetypefont.h>
Public Member Functions | |
~CPDF_TrueTypeFont () override | |
bool | IsTrueTypeFont () const override |
const CPDF_TrueTypeFont * | AsTrueTypeFont () const override |
CPDF_TrueTypeFont * | AsTrueTypeFont () override |
Public Member Functions inherited from CPDF_SimpleFont | |
~CPDF_SimpleFont () override | |
int | GetCharWidthF (uint32_t charcode) override |
FX_RECT | GetCharBBox (uint32_t charcode) override |
int | GlyphFromCharCode (uint32_t charcode, bool *pVertGlyph) override |
bool | IsUnicodeCompatible () const override |
WideString | UnicodeFromCharCode (uint32_t charcode) const override |
uint32_t | CharCodeFromUnicode (wchar_t Unicode) const override |
const CPDF_FontEncoding * | GetEncoding () const |
bool | HasFontWidths () const override |
Public Member Functions inherited from CPDF_Font | |
virtual bool | IsType1Font () const |
virtual bool | IsType3Font () const |
virtual bool | IsCIDFont () const |
virtual const CPDF_Type1Font * | AsType1Font () const |
virtual CPDF_Type1Font * | AsType1Font () |
virtual const CPDF_Type3Font * | AsType3Font () const |
virtual CPDF_Type3Font * | AsType3Font () |
virtual const CPDF_CIDFont * | AsCIDFont () const |
virtual CPDF_CIDFont * | AsCIDFont () |
virtual void | WillBeDestroyed () |
virtual bool | IsVertWriting () const |
virtual uint32_t | GetNextChar (ByteStringView pString, size_t *pOffset) const |
virtual size_t | CountChar (ByteStringView pString) const |
virtual int | AppendChar (char *buf, uint32_t charcode) const |
ByteString | GetBaseFontName () const |
absl::optional< FX_Charset > | GetSubstFontCharset () const |
bool | IsEmbedded () const |
RetainPtr< CPDF_Dictionary > | GetMutableFontDict () |
RetainPtr< const CPDF_Dictionary > | GetFontDict () const |
uint32_t | GetFontDictObjNum () const |
bool | FontDictIs (const CPDF_Dictionary *pThat) const |
void | ClearFontDict () |
bool | IsStandardFont () const |
bool | HasFace () const |
void | AppendChar (ByteString *str, uint32_t charcode) const |
const FX_RECT & | GetFontBBox () const |
int | GetTypeAscent () const |
int | GetTypeDescent () const |
int | GetStringWidth (ByteStringView pString) |
uint32_t | FallbackFontFromCharcode (uint32_t charcode) |
int | FallbackGlyphFromCharcode (int fallbackFont, uint32_t charcode) |
int | GetFontFlags () const |
int | GetItalicAngle () const |
int | GetFontWeight () const |
CPDF_Document * | GetDocument () const |
CFX_Font * | GetFont () |
const CFX_Font * | GetFont () const |
CFX_Font * | GetFontFallback (int position) |
const ByteString & | GetResourceName () const |
void | SetResourceName (const ByteString &name) |
Public Member Functions inherited from fxcrt::Retainable | |
Retainable ()=default | |
bool | HasOneRef () const |
Public Member Functions inherited from fxcrt::Observable | |
Observable () | |
Observable (const Observable &that)=delete | |
Observable & | operator= (const Observable &that)=delete |
~Observable () | |
void | AddObserver (ObserverIface *pObserver) |
void | RemoveObserver (ObserverIface *pObserver) |
void | NotifyObservers () |
Public Attributes | |
CONSTRUCT_VIA_MAKE_RETAIN | |
Private Member Functions | |
bool | Load () override |
void | LoadGlyphMap () override |
Definition at line 13 of file cpdf_truetypefont.h.
|
overridedefault |
|
overridevirtual |
Reimplemented from CPDF_Font.
Definition at line 47 of file cpdf_truetypefont.cpp.
|
overridevirtual |
Reimplemented from CPDF_Font.
Definition at line 51 of file cpdf_truetypefont.cpp.
|
overridevirtual |
Reimplemented from CPDF_Font.
Definition at line 43 of file cpdf_truetypefont.cpp.
|
overrideprivatevirtual |
Implements CPDF_Font.
Definition at line 55 of file cpdf_truetypefont.cpp.
References CPDF_SimpleFont::LoadCommon().
|
overrideprivatevirtual |
Implements CPDF_SimpleFont.
Definition at line 59 of file cpdf_truetypefont.cpp.
References fxcrt::WideString::IsEmpty(), kBuiltin, CPDF_SimpleFont::UnicodeFromCharCode(), CPDF_Font::UseTTCharmapMacRoman(), and CPDF_Font::UseTTCharmapMSSymbol().
CPDF_TrueTypeFont::CONSTRUCT_VIA_MAKE_RETAIN |
Definition at line 15 of file cpdf_truetypefont.h.