QtBase  v6.3.1
Macros | Typedefs | Functions | Variables
qfont.cpp File Reference
#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 "moc_qfont.cpp"
Include dependency graph for 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)   data->engines[script]
 
#define QFONTCACHE_MIN_COST   4*1024
 
#define QFONT_DEBUG_SKIP_DEFAULT(prop)
 

Typedefs

typedef QHash< QString, QStringListQFontSubst
 

Functions

Q_GUI_EXPORT int qt_defaultDpiX ()
 
Q_GUI_EXPORT int qt_defaultDpiY ()
 
Q_GUI_EXPORT int qt_defaultDpi ()
 
Q_GUI_EXPORT int qt_legacyToOpenTypeWeight (int weight)
 
Q_GUI_EXPORT int qt_openTypeToLegacyWeight (int weight)
 
QRecursiveMutexqt_fontdatabase_mutex ()
 
QStringList qt_fallbacksForFamily (const QString &family, QFont::Style style, QFont::StyleHint styleHint, QChar::Script script)
 
QDebug operator<< (QDebug stream, const QFont &font)
 

Variables

bool qt_is_tty_app
 

Macro Definition Documentation

◆ FC_DEBUG

#define FC_DEBUG   if (false) qDebug

Definition at line 74 of file qfont.cpp.

◆ QFONT_DEBUG_SKIP_DEFAULT

#define QFONT_DEBUG_SKIP_DEFAULT (   prop)
Value:
if ((font.prop() == defaultFont.prop()) && stream.verbosity() == 1) \
continue;
EGLStreamKHR stream

◆ QFONTCACHE_DECREASE_TRIGGER_LIMIT

#define QFONTCACHE_DECREASE_TRIGGER_LIMIT   256

Definition at line 80 of file qfont.cpp.

◆ QFONTCACHE_MIN_COST

#define QFONTCACHE_MIN_COST   4*1024

Definition at line 2853 of file qfont.cpp.

◆ QT_FONT_ENGINE_FROM_DATA

#define QT_FONT_ENGINE_FROM_DATA (   data,
  script 
)    data->engines[script]

Definition at line 270 of file qfont.cpp.

Typedef Documentation

◆ QFontSubst

Definition at line 1904 of file qfont.cpp.

Function Documentation

◆ operator<<()

QDebug operator<< ( QDebug  stream,
const QFont font 
)

Definition at line 3252 of file qfont.cpp.

Here is the call graph for this function:

◆ qt_defaultDpi()

Q_GUI_EXPORT int qt_defaultDpi ( )

Definition at line 171 of file qfont.cpp.

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

◆ qt_defaultDpiX()

Q_GUI_EXPORT int qt_defaultDpiX ( )

Definition at line 141 of file qfont.cpp.

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

◆ qt_defaultDpiY()

Q_GUI_EXPORT int qt_defaultDpiY ( )

Definition at line 156 of file qfont.cpp.

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

◆ qt_fallbacksForFamily()

QStringList qt_fallbacksForFamily ( const QString family,
QFont::Style  style,
QFont::StyleHint  styleHint,
QChar::Script  script 
)

Definition at line 707 of file qfontdatabase.cpp.

Here is the caller graph for this function:

◆ qt_fontdatabase_mutex()

QRecursiveMutex* qt_fontdatabase_mutex ( )

Definition at line 540 of file qfontdatabase.cpp.

Here is the caller graph for this function:

◆ qt_legacyToOpenTypeWeight()

Q_GUI_EXPORT int qt_legacyToOpenTypeWeight ( int  weight)

Definition at line 226 of file qfont.cpp.

Here is the caller graph for this function:

◆ qt_openTypeToLegacyWeight()

Q_GUI_EXPORT int qt_openTypeToLegacyWeight ( int  weight)

Definition at line 232 of file qfont.cpp.

Variable Documentation

◆ qt_is_tty_app

bool qt_is_tty_app
extern

Definition at line 142 of file qguiapplication.cpp.