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
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
bool colorFont: 1
QString name
QStringList aliases
int count
QtFontFoundry ** foundries
unsigned char writingSystems [QFontDatabase::WritingSystemsCount]

Detailed Description

Definition at line 155 of file qfontdatabase_p.h.

Member Enumeration Documentation

◆ WritingSystemStatus

Enumerator
Unknown 
Supported 
UnsupportedFT 
Unsupported 

Definition at line 157 of file qfontdatabase_p.h.

Constructor & Destructor Documentation

◆ QtFontFamily()

QtFontFamily::QtFontFamily ( const QString & n)
inline

Definition at line 164 of file qfontdatabase_p.h.

◆ ~QtFontFamily()

QtFontFamily::~QtFontFamily ( )
inline

Definition at line 173 of file qfontdatabase_p.h.

Member Function Documentation

◆ ensurePopulated()

bool QtFontFamily::ensurePopulated ( )

Definition at line 271 of file qfontdatabase.cpp.

◆ foundry()

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

Definition at line 237 of file qfontdatabase.cpp.

◆ matchesFamilyName()

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

Definition at line 266 of file qfontdatabase.cpp.

Member Data Documentation

◆ aliases

QStringList QtFontFamily::aliases

Definition at line 184 of file qfontdatabase_p.h.

◆ colorFont

bool QtFontFamily::colorFont

Definition at line 181 of file qfontdatabase_p.h.

◆ count

int QtFontFamily::count

Definition at line 185 of file qfontdatabase_p.h.

◆ fixedPitch

bool QtFontFamily::fixedPitch

Definition at line 180 of file qfontdatabase_p.h.

◆ foundries

QtFontFoundry** QtFontFamily::foundries

Definition at line 186 of file qfontdatabase_p.h.

◆ name

QString QtFontFamily::name

◆ populated

bool QtFontFamily::populated

Definition at line 179 of file qfontdatabase_p.h.

◆ writingSystems

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

Definition at line 188 of file qfontdatabase_p.h.


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