42 #include <QtCore/qglobal.h> 44 #if !defined(QT_NO_RAWFONT) 75 CGFontRef cgFont = CGFontCreateWithDataProvider(dataProvider);
78 qWarning(
"QRawFont::platformLoadFromData: CGFontCreateWithDataProvider failed");
91 #endif // QT_NO_RAWFONT
HintingPreference
This enum describes the different levels of hinting that can be applied to glyphs to improve legibili...
static mach_timebase_info_data_t info
#define QT_END_NAMESPACE
This macro expands to.
The QByteArray class provides an array of bytes.
bool ref()
Atomically increments the value of this QAtomicInt.
static void releaseFontData(void *info, const void *data, size_t size)
#define QT_BEGIN_NAMESPACE
This macro expands to.
static float pixelSize(const QFontDef &request, int dpi)
void platformLoadFromData(const QByteArray &fontData, qreal pixelSize, QFont::HintingPreference hintingPreference)
Q_CORE_EXPORT void qWarning(const char *,...)
static const char * data(const QByteArray &arr)
const char * constData() const
Returns a pointer to the data stored in the byte array.
QFont::HintingPreference hintingPreference
int size() const
Returns the number of bytes in this byte array.
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...