Qt 4.8
|
#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 "qapplication.h"
#include "qstringlist.h"
#include "qthread.h"
#include "qthreadstorage.h"
#include <private/qunicodetables_p.h>
#include "qfont_p.h"
#include <private/qfontengine_p.h>
#include <private/qpainter_p.h>
#include <private/qtextengine_p.h>
#include <limits.h>
#include "qx11info_x11.h"
#include <private/qt_x11_p.h>
#include "qscreen_qws.h"
#include <qfile.h>
#include "qfontengine_qpf_p.h"
#include <QMutexLocker>
Go to the source code of this file.
Macros | |
#define | FC_DEBUG if (false) qDebug |
#define | QT_FONT_ENGINE_FROM_DATA(data, script) data->engine |
Typedefs | |
typedef QHash< QString, QStringList > | QFontSubst |
Functions | |
static quint8 | get_extended_font_bits (const QFontPrivate *f) |
static quint8 | get_font_bits (int version, const QFontPrivate *f) |
static void | initFontSubst () |
QDebug | operator<< (QDebug stream, const QFont &font) |
Q_GUI_EXPORT int | qt_defaultDpi () |
Q_GUI_EXPORT int | qt_defaultDpiX () |
Q_GUI_EXPORT int | qt_defaultDpiY () |
QMutex * | qt_fontdatabase_mutex () |
const QX11Info * | qt_x11Info (const QPaintDevice *pd) |
static void | set_extended_font_bits (quint8 bits, QFontPrivate *f) |
static void | set_font_bits (int version, quint8 bits, QFontPrivate *f) |
HDC | shared_dc () |
Variables | |
static const int | fast_timeout = 10000 |
bool | qt_is_gui_used |
static const int | slow_timeout = 300000 |
Definition at line 89 of file qfont.cpp.
Referenced by QFontCache::cleanupPrinterFonts(), QFontCache::decreaseCost(), QFontCache::findEngine(), QFontCache::increaseCost(), QFontCache::insertEngine(), QFontCache::insertEngineData(), QFontCache::timerEvent(), and QFontCache::~QFontCache().
Definition at line 291 of file qfont.cpp.
Referenced by QFontPrivate::engineForScript().
typedef QHash<QString, QStringList> QFontSubst |
|
static |
|
static |
Definition at line 2257 of file qfont.cpp.
|
static |
Definition at line 2068 of file qfont.cpp.
Referenced by QFont::insertSubstitution(), QFont::insertSubstitutions(), QFont::removeSubstitution(), QFont::substitute(), QFont::substitutes(), and QFont::substitutions().
Definition at line 3367 of file qfont.cpp.
Q_GUI_EXPORT int qt_defaultDpi | ( | ) |
Definition at line 240 of file qfont.cpp.
Referenced by QTextDocumentLayoutPrivate::blockIndent(), QPicturePaintEngine::drawTextItem(), getImageSize(), getPixmapSize(), QMacPrintEnginePrivate::initialize(), QTextDocumentLayoutPrivate::layoutBlock(), QFontMetrics::QFontMetrics(), QFontMetricsF::QFontMetricsF(), QPdfBaseEnginePrivate::QPdfBaseEnginePrivate(), qt_load_font_engine_win(), releaseFontData(), QTextDocumentLayoutPrivate::scaleToDevice(), QDeclarativeFontValueType::setPointSize(), and QDeclarativeFontValueType::setStrikeout().
Q_GUI_EXPORT int qt_defaultDpiX | ( | ) |
Definition at line 162 of file qfont.cpp.
Referenced by QPicture::exec(), QAlphaPaintEngine::flushAndInit(), QStaticTextPrivate::get(), QBlittablePixmapData::metric(), QRasterPixmapData::metric(), QPaintBuffer::metric(), QGLPixelBuffer::metric(), QPicture::metric(), QGLFramebufferObject::metric(), QGLPixmapData::metric(), QVGPixmapData::metric(), QMacQuartzPaintDevice::metric(), QPainterReplayer::process(), QFakeDevice::QFakeDevice(), and QPainterReplayer::setupTransform().
Q_GUI_EXPORT int qt_defaultDpiY | ( | ) |
Definition at line 201 of file qfont.cpp.
Referenced by QTextEngine::calculateTabWidth(), QPaintBufferEngine::drawTextItem(), QPicture::exec(), QAlphaPaintEngine::flushAndInit(), QStaticTextPrivate::get(), QBlittablePixmapData::metric(), QRasterPixmapData::metric(), QPaintBuffer::metric(), QGLPixelBuffer::metric(), QPicture::metric(), QGLFramebufferObject::metric(), QGLPixmapData::metric(), QVGPixmapData::metric(), QMacQuartzPaintDevice::metric(), QFontDatabase::pointSizes(), QPainterReplayer::process(), QFakeDevice::QFakeDevice(), qt_defaultDpi(), qt_FcPatternToQFontDef(), QPainterReplayer::setupTransform(), QTextEngine::shapeText(), and QFontDatabase::smoothSizes().
QMutex* qt_fontdatabase_mutex | ( | ) |
Definition at line 1097 of file qfontdatabase.cpp.
Referenced by QFontPrivate::engineForScript(), QFontEngineMultiFT::loadEngine(), QFontEngineFT::stringToCMap(), QFontEngineMultiFT::~QFontEngineMultiFT(), and QFontPrivate::~QFontPrivate().
|
related |
Referenced by QFont::QFont().
|
static |
|
static |
Definition at line 2301 of file qfont.cpp.
HDC shared_dc | ( | ) |
Definition at line 118 of file qfontengine_win.cpp.
Referenced by qt_defaultDpiX(), and qt_defaultDpiY().
|
static |
Definition at line 2899 of file qfont.cpp.
Referenced by QFontInfo::exactMatch(), QFontCache::increaseCost(), and QFontCache::timerEvent().
bool qt_is_gui_used |
Definition at line 492 of file qapplication.cpp.
Referenced by QFontDef::exactMatch(), qt_defaultDpiX(), and qt_defaultDpiY().
|
static |
Definition at line 2900 of file qfont.cpp.
Referenced by QFontInfo::exactMatch(), and QFontCache::timerEvent().