Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
FontProvider Namespace Reference

Functions

static QString fetchFont (const QString &query)
 

Function Documentation

◆ fetchFont()

static QString FontProvider::fetchFont ( const QString & query)
static

Definition at line 44 of file qandroidplatformiconengine.cpp.

References QFontDatabase::addApplicationFontFromData(), QFontDatabase::applicationFontFamilies(), QFileDevice::AutoCloseHandle, QByteArray::constData(), QSet< T >::constEnd(), QtAndroidPrivate::context(), context, fetchFont(), file, QSet< T >::find(), QString::first(), it, QFile::open(), Q_ASSERT, qCDebug, qCWarning, QIODevice::readAll(), QIODeviceBase::ReadOnly, Signature, and QString::toUtf8().

Referenced by QAndroidPlatformIconEngine::QAndroidPlatformIconEngine(), and fetchFont().

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