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
CFX_SubstFont Class Reference

#include <cfx_substfont.h>

+ Collaboration diagram for CFX_SubstFont:

Public Member Functions

 CFX_SubstFont ()
 
 ~CFX_SubstFont ()
 
void UseChromeSerif ()
 
void SetIsBuiltInGenericFont ()
 
bool IsBuiltInGenericFont () const
 

Public Attributes

ByteString m_Family
 
FX_Charset m_Charset = FX_Charset::kANSI
 
int m_Weight = 0
 
int m_ItalicAngle = 0
 
int m_WeightCJK = 0
 
bool m_bSubstCJK = false
 
bool m_bItalicCJK = false
 

Detailed Description

Definition at line 13 of file cfx_substfont.h.

Constructor & Destructor Documentation

◆ CFX_SubstFont()

CFX_SubstFont::CFX_SubstFont ( )
default

◆ ~CFX_SubstFont()

CFX_SubstFont::~CFX_SubstFont ( )
default

Member Function Documentation

◆ IsBuiltInGenericFont()

bool CFX_SubstFont::IsBuiltInGenericFont ( ) const
inline

Definition at line 24 of file cfx_substfont.h.

Referenced by CFX_Face::GetGlyphWidth(), CFX_Face::LoadGlyphPath(), and CFX_Face::RenderGlyph().

+ Here is the caller graph for this function:

◆ SetIsBuiltInGenericFont()

void CFX_SubstFont::SetIsBuiltInGenericFont ( )
inline

Definition at line 23 of file cfx_substfont.h.

◆ UseChromeSerif()

void CFX_SubstFont::UseChromeSerif ( )

Definition at line 25 of file cfx_substfont.cpp.

References m_Weight.

Member Data Documentation

◆ m_bItalicCJK

bool CFX_SubstFont::m_bItalicCJK = false

Definition at line 33 of file cfx_substfont.h.

Referenced by CFX_FontMapper::FindSubstFont(), and CFX_Face::RenderGlyph().

◆ m_bSubstCJK

bool CFX_SubstFont::m_bSubstCJK = false

Definition at line 32 of file cfx_substfont.h.

Referenced by CFX_FontMapper::FindSubstFont(), and CFX_Face::RenderGlyph().

◆ m_Charset

◆ m_Family

ByteString CFX_SubstFont::m_Family

Definition at line 26 of file cfx_substfont.h.

◆ m_ItalicAngle

int CFX_SubstFont::m_ItalicAngle = 0

◆ m_Weight

int CFX_SubstFont::m_Weight = 0

◆ m_WeightCJK

int CFX_SubstFont::m_WeightCJK = 0

Definition at line 30 of file cfx_substfont.h.

Referenced by CFX_FontMapper::FindSubstFont(), and CFX_Face::RenderGlyph().


The documentation for this class was generated from the following files: