![]() |
Qt 6.x
The Qt SDK
|
#include "qplatformfontdatabase.h"#include <QtGui/private/qfontengine_p.h>#include <QtGui/private/qfontdatabase_p.h>#include <QtGui/QGuiApplication>#include <QtGui/QScreen>#include <qpa/qplatformscreen.h>#include <QtCore/QLibraryInfo>#include <QtCore/QDir>#include <QtCore/QMetaEnum>#include <QtCore/qendian.h>#include <algorithm>#include <iterator>
Include dependency graph for qplatformfontdatabase.cpp:Go to the source code of this file.
Classes | |
| class | QWritingSystemsPrivate |
Enumerations | |
| enum | CsbBits { Latin1CsbBit = 0 , CentralEuropeCsbBit = 1 , TurkishCsbBit = 4 , BalticCsbBit = 7 , CyrillicCsbBit = 2 , GreekCsbBit = 3 , HebrewCsbBit = 5 , ArabicCsbBit = 6 , VietnameseCsbBit = 8 , SimplifiedChineseCsbBit = 18 , TraditionalChineseCsbBit = 20 , ThaiCsbBit = 16 , JapaneseCsbBit = 17 , KoreanCsbBit = 19 , KoreanJohabCsbBit = 21 , SymbolCsbBit = 31 } |
Functions | |
| void | qt_registerFont (const QString &familyname, const QString &stylename, const QString &foundryname, int weight, QFont::Style style, int stretch, bool antialiased, bool scalable, int pixelSize, bool fixedPitch, const QSupportedWritingSystems &writingSystems, void *hanlde) |
| void | qt_registerFontFamily (const QString &familyName) |
| void | qt_registerAliasToFontFamily (const QString &familyName, const QString &alias) |
| bool | qt_isFontFamilyPopulated (const QString &familyName) |
| bool | operator== (const QSupportedWritingSystems &lhs, const QSupportedWritingSystems &rhs) |
| bool | operator!= (const QSupportedWritingSystems &lhs, const QSupportedWritingSystems &rhs) |
| QDebug | operator<< (QDebug debug, const QSupportedWritingSystems &sws) |
| QString | qt_resolveFontFamilyAlias (const QString &alias) |
Variables | |
| static const quint8 | requiredUnicodeBits [QFontDatabase::WritingSystemsCount][2] |
| enum CsbBits |
Definition at line 471 of file qplatformfontdatabase.cpp.
| bool operator!= | ( | const QSupportedWritingSystems & | lhs, |
| const QSupportedWritingSystems & | rhs | ||
| ) |
Definition at line 136 of file qplatformfontdatabase.cpp.
| QDebug operator<< | ( | QDebug | debug, |
| const QSupportedWritingSystems & | sws | ||
| ) |
Definition at line 152 of file qplatformfontdatabase.cpp.
| bool operator== | ( | const QSupportedWritingSystems & | lhs, |
| const QSupportedWritingSystems & | rhs | ||
| ) |
Definition at line 131 of file qplatformfontdatabase.cpp.
| bool qt_isFontFamilyPopulated | ( | const QString & | familyName | ) |
Definition at line 609 of file qfontdatabase.cpp.
References d, QFontDatabasePrivate::instance(), and QFontDatabasePrivate::RequestFamily.
Referenced by QPlatformFontDatabase::isFamilyPopulated().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 580 of file qfontdatabase.cpp.
References Qt::CaseInsensitive, d, QFontDatabasePrivate::instance(), QString::isEmpty(), qCDebug, and QFontDatabasePrivate::RequestFamily.
Referenced by QPlatformFontDatabase::registerAliasToFontFamily().
Here is the call graph for this function:
Here is the caller graph for this function:| void qt_registerFont | ( | const QString & | familyname, |
| const QString & | stylename, | ||
| const QString & | foundryname, | ||
| int | weight, | ||
| QFont::Style | style, | ||
| int | stretch, | ||
| bool | antialiased, | ||
| bool | scalable, | ||
| int | pixelSize, | ||
| bool | fixedPitch, | ||
| const QSupportedWritingSystems & | writingSystems, | ||
| void * | hanlde | ||
| ) |
Definition at line 537 of file qfontdatabase.cpp.
References QtFontStyle::antialiased, d, QFontDatabasePrivate::EnsureCreated, QPlatformIntegration::fontDatabase(), i, QFontDatabasePrivate::instance(), QtFontSize::pixelSize, QtFontStyle::pixelSize(), QGuiApplicationPrivate::platformIntegration(), qCDebug, QPlatformFontDatabase::releaseHandle(), SMOOTH_SCALABLE, QtFontStyle::smoothScalable, QtFontStyle::Key::stretch, QtFontStyle::Key::style, QtFontFoundry::style(), QtFontFamily::Supported, QSupportedWritingSystems::supported(), QtFontStyle::Key::weight, and QFontDatabase::WritingSystemsCount.
Referenced by QPlatformFontDatabase::registerFont().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 572 of file qfontdatabase.cpp.
References QFontDatabasePrivate::EnsureCreated, QFontDatabasePrivate::family(), QFontDatabasePrivate::instance(), and qCDebug.
Referenced by QPlatformFontDatabase::registerFontFamily().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 598 of file qfontdatabase.cpp.
References d, i, QFontDatabasePrivate::instance(), and QString::isEmpty().
Referenced by QPlatformFontDatabase::resolveFontFamilyAlias().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 434 of file qplatformfontdatabase.cpp.
Referenced by QPlatformFontDatabase::writingSystemsFromTrueTypeBits().