Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QtFontFamily Struct Reference

#include <qfontdatabase_p.h>

+ Collaboration diagram for QtFontFamily:

Public Types

enum  WritingSystemStatus { Unknown = 0 , Supported = 1 , UnsupportedFT = 2 , Unsupported = UnsupportedFT }
 

Public Member Functions

 QtFontFamily (const QString &n)
 
 ~QtFontFamily ()
 
bool matchesFamilyName (const QString &familyName) const
 
QtFontFoundryfoundry (const QString &f, bool=false)
 
bool ensurePopulated ()
 

Public Attributes

bool populated: 1
 
bool fixedPitch: 1
 
QString name
 
QStringList aliases
 
int count
 
QtFontFoundry ** foundries
 
unsigned char writingSystems [QFontDatabase::WritingSystemsCount]
 

Detailed Description

Definition at line 141 of file qfontdatabase_p.h.

Member Enumeration Documentation

◆ WritingSystemStatus

Enumerator
Unknown 
Supported 
UnsupportedFT 
Unsupported 

Definition at line 143 of file qfontdatabase_p.h.

Constructor & Destructor Documentation

◆ QtFontFamily()

QtFontFamily::QtFontFamily ( const QString & n)
inline

Definition at line 150 of file qfontdatabase_p.h.

◆ ~QtFontFamily()

QtFontFamily::~QtFontFamily ( )
inline

Definition at line 158 of file qfontdatabase_p.h.

Member Function Documentation

◆ ensurePopulated()

bool QtFontFamily::ensurePopulated ( )

Definition at line 262 of file qfontdatabase.cpp.

References QGuiApplicationPrivate::platformIntegration().

Referenced by QFontDatabase::writingSystems().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ foundry()

QtFontFoundry * QtFontFamily::foundry ( const QString & f,
bool create = false )

Definition at line 228 of file qfontdatabase.cpp.

References Qt::CaseInsensitive, QtFontStyle::count, create(), i, and Q_CHECK_PTR().

+ Here is the call graph for this function:

◆ matchesFamilyName()

bool QtFontFamily::matchesFamilyName ( const QString & familyName) const

Definition at line 257 of file qfontdatabase.cpp.

References aliases(), Qt::CaseInsensitive, and equalsCaseInsensitive().

+ Here is the call graph for this function:

Member Data Documentation

◆ aliases

QStringList QtFontFamily::aliases

Definition at line 168 of file qfontdatabase_p.h.

Referenced by qt_registerAliasToFontFamily().

◆ count

int QtFontFamily::count

Definition at line 169 of file qfontdatabase_p.h.

Referenced by QFontDatabase::writingSystems().

◆ fixedPitch

bool QtFontFamily::fixedPitch

Definition at line 165 of file qfontdatabase_p.h.

Referenced by qt_registerFont().

◆ foundries

QtFontFoundry** QtFontFamily::foundries

Definition at line 170 of file qfontdatabase_p.h.

◆ name

QString QtFontFamily::name

Definition at line 167 of file qfontdatabase_p.h.

◆ populated

bool QtFontFamily::populated

Definition at line 164 of file qfontdatabase_p.h.

Referenced by qt_isFontFamilyPopulated().

◆ writingSystems

unsigned char QtFontFamily::writingSystems[QFontDatabase::WritingSystemsCount]

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