text/qfont_qpa.cpp

Switch to Source codePreprocessed file
LineSource CodeCoverage
1 -
2 -
3 -
4void QFont::initialize() -
5{ -
6} -
7 -
8void QFont::cleanup() -
9{ -
10 QFontCache::cleanup(); -
11}
executed: }
Execution Count:287
287
12 -
13 -
14 -
15 -
16 -
17 -
18QString QFont::rawName() const -
19{ -
20 return QLatin1String("unknown");
never executed: return QLatin1String("unknown");
0
21} -
22 -
23void QFont::setRawName(const QString &) -
24{ -
25} -
26 -
27QString 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()
TRUEFALSE
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 -
37QString QFont::lastResortFamily() const -
38{ -
39 return QString::fromLatin1("helvetica");
executed: return QString::fromLatin1("helvetica");
Execution Count:379
379
40} -
41 -
42QString 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 -
Switch to Source codePreprocessed file

Generated by Squish Coco Non-Commercial