(94221a8a860971930ebb63480afbebc7d594b5a6)
#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 <array>
#include "moc_qfont.cpp"
Go to the source code of this file.
|
Q_GUI_EXPORT int | qt_defaultDpiX () |
Q_GUI_EXPORT int | qt_defaultDpiY () |
Q_GUI_EXPORT int | qt_defaultDpi () |
static int | convertWeights (int weight, bool inverted) |
static QStringList | splitIntoFamilies (const QString &family) |
Q_GUI_EXPORT int | qt_legacyToOpenTypeWeight (int weight) |
Q_GUI_EXPORT int | qt_openTypeToLegacyWeight (int weight) |
QRecursiveMutex * | qt_fontdatabase_mutex () |
static quint8 | get_font_bits (int version, const QFontPrivate *f) |
static quint8 | get_extended_font_bits (const QFontPrivate *f) |
static void | set_font_bits (int version, quint8 bits, QFontPrivate *f) |
static void | set_extended_font_bits (quint8 bits, QFontPrivate *f) |
size_t | qHash (const QFont &font, size_t seed) noexcept |
| \qhashold{QFont}
|
QStringList | qt_fallbacksForFamily (const QString &family, QFont::Style style, QFont::StyleHint styleHint, QFontDatabasePrivate::ExtendedScript script) |
QDataStream & | operator<< (QDataStream &stream, QFont::Tag tag) |
QDataStream & | operator>> (QDataStream &stream, QFont::Tag &tag) |
QDebug | operator<< (QDebug stream, const QFont &font) |
QDebug | operator<< (QDebug debug, QFont::Tag tag) |
◆ FC_DEBUG
◆ QFONT_DEBUG_SKIP_DEFAULT
#define QFONT_DEBUG_SKIP_DEFAULT |
( |
| prop | ) |
|
Value: if ((font.prop() == defaultFont.prop()) &&
stream.verbosity() == 1) \
continue;
◆ QFONTCACHE_DECREASE_TRIGGER_LIMIT
#define QFONTCACHE_DECREASE_TRIGGER_LIMIT 256 |
◆ QFONTCACHE_MIN_COST
#define QFONTCACHE_MIN_COST 4*1024 |
◆ QT_FONT_ENGINE_FROM_DATA
#define QT_FONT_ENGINE_FROM_DATA |
( |
| data, |
|
|
| script ) |
Value:
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
[0]
Definition at line 242 of file qfont.cpp.
◆ QFontSubst
◆ convertWeights()
int convertWeights |
( |
int | weight, |
|
|
bool | inverted ) |
|
static |
◆ get_extended_font_bits()
◆ get_font_bits()
◆ operator<<() [1/3]
◆ operator<<() [2/3]
◆ operator<<() [3/3]
◆ operator>>()
◆ qHash()
size_t qHash |
( |
const QFont & | font, |
|
|
size_t | seed ) |
|
noexcept |
◆ qt_defaultDpi()
◆ qt_defaultDpiX()
◆ qt_defaultDpiY()
Q_GUI_EXPORT int qt_defaultDpiY |
( |
| ) |
|
◆ qt_fallbacksForFamily()
◆ qt_fontdatabase_mutex()
◆ qt_legacyToOpenTypeWeight()
Q_GUI_EXPORT int qt_legacyToOpenTypeWeight |
( |
int | weight | ) |
|
◆ qt_openTypeToLegacyWeight()
Q_GUI_EXPORT int qt_openTypeToLegacyWeight |
( |
int | weight | ) |
|
◆ set_extended_font_bits()
◆ set_font_bits()
◆ splitIntoFamilies()
◆ fast_timeout
constexpr auto fast_timeout = 10s |
|
staticconstexpr |
◆ font_cache_id
◆ qt_is_tty_app
◆ slow_timeout
constexpr auto slow_timeout = 5min |
|
staticconstexpr |