56 #include "QtGui/qfont.h" 57 #include "QtCore/qmap.h" 58 #include "QtCore/qobject.h" 59 #include <private/qunicodetables_p.h> 60 #include <QtGui/qfontdatabase.h> 61 #include "private/qfixed_p.h" 131 if (family != other.
family)
return family < other.
family;
155 #if !defined(Q_WS_MAC) 175 void alterCharForCapitalization(
QChar &
c)
const;
204 return font.d.data();
225 #if defined(Q_WS_QWS) && !defined(QT_NO_QWS_QPF2) 226 void removeEngineForFont(
const QByteArray &fontName);
233 : def(d),
script(c), screen(s) { }
241 if (script != other.
script)
return script < other.
script;
242 if (screen != other.
screen)
return screen < other.
screen;
243 return def < other.
def;
246 {
return def == other.
def && script == other.
script && screen == other.
screen; }
272 #if defined(Q_WS_WIN) || defined(Q_WS_QWS) 273 void cleanupPrinterFonts();
277 void increaseCost(
uint cost);
278 void decreaseCost(
uint cost);
Q_GUI_EXPORT int qt_defaultDpiX()
#define QT_END_NAMESPACE
This macro expands to.
bool operator==(const Key &other) const
bool letterSpacingIsAbsolute
QMap< Key, QFontEngineData * > EngineDataCache
The QAtomicInt class provides platform-independent atomic operations on integers. ...
static const uint min_cost
The QByteArray class provides an array of bytes.
static void clear(QVariant::Private *d)
bool operator<(const QFontDef &other) const
static int defaultEncodingID
The QString class provides a Unicode character string.
QFontPrivate & operator=(const QFontPrivate &)
The QObject class is the base class of all Qt objects.
The QChar class provides a 16-bit Unicode character.
Q_GUI_EXPORT int qt_defaultDpi()
Key(const QFontDef &d, int c, int s=0)
#define QT_BEGIN_NAMESPACE
This macro expands to.
static QList< QAxEngineDescriptor > engines
bool operator<(const Key &other) const
bool isEmpty() const
Returns true if the string has no characters; otherwise returns false.
static const char * data(const QByteArray &arr)
EngineDataCache engineDataCache
QMap< Key, Engine > EngineCache
Q_CORE_EXPORT int QT_FASTCALL script(uint ucs4)
bool operator==(const QFontDef &other) const
The QTimerEvent class contains parameters that describe a timer event.
The QFont class specifies a font used for drawing text.
if(void) toggleToolbarShown
bool exactMatch(const QFontDef &other) const
QFont smallCapsFont() const
Q_GUI_EXPORT int qt_defaultDpiY()
QFontEngineData * engineData