| Line | Source Code | Coverage |
|---|
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | void QFont::initialize() | - |
| 5 | { | - |
| 6 | } | - |
| 7 | | - |
| 8 | void QFont::cleanup() | - |
| 9 | { | - |
| 10 | QFontCache::cleanup(); | - |
| 11 | } executed: }Execution Count:287 | 287 |
| 12 | | - |
| 13 | | - |
| 14 | | - |
| 15 | | - |
| 16 | | - |
| 17 | | - |
| 18 | QString QFont::rawName() const | - |
| 19 | { | - |
| 20 | return QLatin1String("unknown"); never executed: return QLatin1String("unknown"); | 0 |
| 21 | } | - |
| 22 | | - |
| 23 | void QFont::setRawName(const QString &) | - |
| 24 | { | - |
| 25 | } | - |
| 26 | | - |
| 27 | QString QFont::defaultFamily() const | - |
| 28 | { | - |
| 29 | QPlatformFontDatabase *fontDB = QGuiApplicationPrivate::platformIntegration()->fontDatabase(); | - |
| 30 | const QStringList fallbacks = fontDB->fallbacksForFamily(QString(), QFont::StyleNormal | - |
| 31 | , QFont::StyleHint(d->request.styleHint), QUnicodeTables::Common); | - |
| 32 | if (!fallbacks.isEmpty()) partially evaluated: !fallbacks.isEmpty()| yes Evaluation Count:6 | no Evaluation Count:0 |
| 0-6 |
| 33 | return fallbacks.first(); executed: return fallbacks.first();Execution Count:6 | 6 |
| 34 | return QString(); never executed: return QString(); | 0 |
| 35 | } | - |
| 36 | | - |
| 37 | QString QFont::lastResortFamily() const | - |
| 38 | { | - |
| 39 | return QString::fromLatin1("helvetica"); executed: return QString::fromLatin1("helvetica");Execution Count:379 | 379 |
| 40 | } | - |
| 41 | | - |
| 42 | QString QFont::lastResortFont() const | - |
| 43 | { | - |
| 44 | QMessageLogger("text/qfont_qpa.cpp", 88, __PRETTY_FUNCTION__).fatal("QFont::lastResortFont: Cannot find any reasonable font"); | - |
| 45 | | - |
| 46 | return QString(); never executed: return QString(); | 0 |
| 47 | } | - |
| 48 | | - |
| 49 | | - |
| 50 | | - |
| 51 | | - |
| | |