45 #include <QtCore/qstring.h> 46 #include <QtCore/qiodevice.h> 47 #include <QtCore/qglobal.h> 48 #include <QtCore/qobject.h> 49 #include <QtCore/qpoint.h> 50 #include <QtGui/qfont.h> 51 #include <QtGui/qtransform.h> 52 #include <QtGui/qfontdatabase.h> 54 #if !defined(QT_NO_RAWFONT) 97 bool glyphIndexesForChars(
const QChar *chars,
int numChars,
quint32 *glyphIndexes,
int *numGlyphs)
const;
98 bool advancesForGlyphIndexes(
const quint32 *glyphIndexes,
QPointF *advances,
int numGlyphs)
const;
110 qreal ascent()
const;
111 qreal descent()
const;
112 qreal leading()
const;
113 qreal xHeight()
const;
114 qreal averageCharWidth()
const;
115 qreal maxCharWidth()
const;
117 qreal unitsPerEm()
const;
127 bool supportsCharacter(
quint32 ucs4)
const;
128 bool supportsCharacter(
QChar character)
const;
131 QByteArray fontTable(
const char *tagName)
const;
145 #endif // QT_NO_RAWFONT HintingPreference
This enum describes the different levels of hinting that can be applied to glyphs to improve legibili...
#define QT_END_NAMESPACE
This macro expands to.
AntialiasingType
This enum represents the different ways a glyph can be rasterized in the function alphaMapForGlyph()...
The QPainterPath class provides a container for painting operations, enabling graphical shapes to be ...
The QByteArray class provides an array of bytes.
The QPointF class defines a point in the plane using floating point precision.
The QString class provides a Unicode character string.
The QChar class provides a 16-bit Unicode character.
#define QT_BEGIN_NAMESPACE
This macro expands to.
static float pixelSize(const QFontDef &request, int dpi)
The QImage class provides a hardware-independent image representation that allows direct access to th...
Style
This enum describes the different styles of glyphs that are used to display text. ...
bool operator!=(const QRawFont &other) const
Returns true if this QRawFont is not equal to other.
The QRawFont class provides access to a single physical instance of a font.
The QFont class specifies a font used for drawing text.
static QString fileName(const QString &fileUrl)
bool operator==(QBool b1, bool b2)
QExplicitlySharedDataPointer< QRawFontPrivate > d