![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "qfont.h"#include "qdebug.h"#include "qpaintdevice.h"#include "qfontdatabase.h"#include "qfontmetrics.h"#include "qfontinfo.h"#include "qpainter.h"#include "qhash.h"#include "qdatastream.h"#include "qguiapplication.h"#include "qstringlist.h"#include "qscreen.h"#include "qthread.h"#include "qthreadstorage.h"#include "qfont_p.h"#include <private/qfontengine_p.h>#include <private/qpainter_p.h>#include <private/qtextengine_p.h>#include <limits.h>#include <qpa/qplatformscreen.h>#include <qpa/qplatformintegration.h>#include <qpa/qplatformfontdatabase.h>#include <QtGui/private/qguiapplication_p.h>#include <QtCore/QMutexLocker>#include <QtCore/QMutex>#include <algorithm>#include <array>#include "moc_qfont.cpp"Go to the source code of this file.
Macros | |
| #define | FC_DEBUG if (false) qDebug |
| #define | QFONTCACHE_DECREASE_TRIGGER_LIMIT 256 |
| #define | QT_FONT_ENGINE_FROM_DATA(data, script) |
| #define | QFONTCACHE_MIN_COST 4*1024 |
| #define | QFONT_DEBUG_SKIP_DEFAULT(prop) |
Typedefs | |
| typedef QHash< QString, QStringList > | QFontSubst |
Variables | |
| bool | qt_is_tty_app |
| static constexpr auto | fast_timeout = 10s |
| static constexpr auto | slow_timeout = 5min |
| static Q_CONSTINIT QBasicAtomicInt | font_cache_id = Q_BASIC_ATOMIC_INITIALIZER(0) |
| #define QFONT_DEBUG_SKIP_DEFAULT | ( | prop | ) |
| typedef QHash< QString, QStringList > QFontSubst |
|
static |
Definition at line 150 of file qfont.cpp.
Referenced by qt_legacyToOpenTypeWeight(), and qt_openTypeToLegacyWeight().
|
static |
|
static |
|
static |
| QDataStream & operator<< | ( | QDataStream & | stream, |
| QFont::Tag | tag ) |
| QDebug operator<< | ( | QDebug | debug, |
| QFont::Tag | tag ) |
| QDataStream & operator>> | ( | QDataStream & | stream, |
| QFont::Tag & | tag ) |
|
noexcept |
| QT_BEGIN_NAMESPACE Q_GUI_EXPORT int qt_defaultDpi | ( | ) |
| QT_BEGIN_NAMESPACE Q_GUI_EXPORT int qt_defaultDpiX | ( | ) |
|
extern |
Definition at line 745 of file qfontdatabase.cpp.
|
extern |
Definition at line 536 of file qfontdatabase.cpp.
| Q_GUI_EXPORT int qt_legacyToOpenTypeWeight | ( | int | weight | ) |
Definition at line 199 of file qfont.cpp.
References convertWeights().
| Q_GUI_EXPORT int qt_openTypeToLegacyWeight | ( | int | weight | ) |
Definition at line 205 of file qfont.cpp.
References convertWeights().
|
static |
|
static |
|
static |
|
static |
|
static |