Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | QFontEngineMultiFontConfig::QFontEngineMultiFontConfig(QFontEngine *fe, int script) | - |
6 | : QFontEngineMulti(fe, script) | - |
7 | { | - |
8 | }executed 781 times by 123 tests: end of block Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 781 |
9 | | - |
10 | QFontEngineMultiFontConfig::~QFontEngineMultiFontConfig() | - |
11 | { | - |
12 | for (QForeachContainer<typename QtPrivate::remove_reference<decltype(cachedMatchPatterns)>::type> _container_((cachedMatchPatterns)); _container_.control && _container_.i != _container_.e; ++_container_.i, _container_.control ^= 1) for (FcPattern *pattern = *_container_.i; _container_.control; _container_.control = 0) { | - |
13 | if (patternTRUE | evaluated 369 times by 10 testsEvaluated by:- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
- tst_QTextLayout
- tst_qcomplextext - unknown status
- tst_qfontdialog - unknown status
- tst_qlabel - unknown status
- tst_qtextlayout - unknown status
- tst_qtextscriptengine - unknown status
| FALSE | evaluated 1009 times by 10 testsEvaluated by:- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
- tst_QTextLayout
- tst_qcomplextext - unknown status
- tst_qfontdialog - unknown status
- tst_qlabel - unknown status
- tst_qtextlayout - unknown status
- tst_qtextscriptengine - unknown status
|
) | 369-1009 |
14 | FcPatternDestroy(pattern);executed 369 times by 10 tests: FcPatternDestroy(pattern); Executed by:- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
- tst_QTextLayout
- tst_qcomplextext - unknown status
- tst_qfontdialog - unknown status
- tst_qlabel - unknown status
- tst_qtextlayout - unknown status
- tst_qtextscriptengine - unknown status
| 369 |
15 | }executed 1378 times by 10 tests: end of block Executed by:- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
- tst_QTextLayout
- tst_qcomplextext - unknown status
- tst_qfontdialog - unknown status
- tst_qlabel - unknown status
- tst_qtextlayout - unknown status
- tst_qtextscriptengine - unknown status
| 1378 |
16 | }executed 775 times by 127 tests: end of block Executed by:- tst_QApplication
- tst_QFontCache
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QPainter
- tst_QRawFont
- tst_QTextLayout
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- ...
| 775 |
17 | | - |
18 | bool QFontEngineMultiFontConfig::shouldLoadFontEngineForCharacter(int at, uint ucs4) const | - |
19 | { | - |
20 | bool charSetHasChar = true; | - |
21 | FcPattern *matchPattern = getMatchPatternForFallback(at - 1); | - |
22 | if (matchPattern != 0TRUE | evaluated 7659647 times by 8 testsEvaluated by:- tst_QComplexText
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QLabel
- tst_QRawFont
- tst_QTextLayout
- tst_QTextScriptEngine
| FALSE | never evaluated |
) { | 0-7659647 |
23 | FcCharSet *charSet; | - |
24 | FcPatternGetCharSet(matchPattern, "charset", 0, &charSet); | - |
25 | charSetHasChar = FcCharSetHasChar(charSet, ucs4); | - |
26 | }executed 7659647 times by 8 tests: end of block Executed by:- tst_QComplexText
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QLabel
- tst_QRawFont
- tst_QTextLayout
- tst_QTextScriptEngine
| 7659647 |
27 | | - |
28 | returnexecuted 7659647 times by 8 tests: return charSetHasChar; Executed by:- tst_QComplexText
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QLabel
- tst_QRawFont
- tst_QTextLayout
- tst_QTextScriptEngine
charSetHasChar;executed 7659647 times by 8 tests: return charSetHasChar; Executed by:- tst_QComplexText
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QLabel
- tst_QRawFont
- tst_QTextLayout
- tst_QTextScriptEngine
| 7659647 |
29 | } | - |
30 | | - |
31 | | - |
32 | FcPattern * QFontEngineMultiFontConfig::getMatchPatternForFallback(int fallBackIndex) const | - |
33 | { | - |
34 | ((!(fallBackIndex < fallbackFamilyCount())) ? qt_assert("fallBackIndex < fallbackFamilyCount()",__FILE__,75) : qt_noop()); | - |
35 | if (fallbackFamilyCount() > cachedMatchPatterns.size()TRUE | evaluated 27 times by 8 testsEvaluated by:- tst_QComplexText
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QLabel
- tst_QRawFont
- tst_QTextLayout
- tst_QTextScriptEngine
| FALSE | evaluated 7659620 times by 6 testsEvaluated by:- tst_QComplexText
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QLabel
- tst_QTextLayout
- tst_QTextScriptEngine
|
) | 27-7659620 |
36 | cachedMatchPatterns.resize(fallbackFamilyCount());executed 27 times by 8 tests: cachedMatchPatterns.resize(fallbackFamilyCount()); Executed by:- tst_QComplexText
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QLabel
- tst_QRawFont
- tst_QTextLayout
- tst_QTextScriptEngine
| 27 |
37 | FcPattern *ret = cachedMatchPatterns.at(fallBackIndex); | - |
38 | if (retTRUE | evaluated 7659278 times by 5 testsEvaluated by:- tst_QComplexText
- tst_QGlyphRun
- tst_QLabel
- tst_QTextLayout
- tst_QTextScriptEngine
| FALSE | evaluated 369 times by 8 testsEvaluated by:- tst_QComplexText
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QLabel
- tst_QRawFont
- tst_QTextLayout
- tst_QTextScriptEngine
|
) | 369-7659278 |
39 | returnexecuted 7659278 times by 5 tests: return ret; Executed by:- tst_QComplexText
- tst_QGlyphRun
- tst_QLabel
- tst_QTextLayout
- tst_QTextScriptEngine
ret;executed 7659278 times by 5 tests: return ret; Executed by:- tst_QComplexText
- tst_QGlyphRun
- tst_QLabel
- tst_QTextLayout
- tst_QTextScriptEngine
| 7659278 |
40 | FcPattern *requestPattern = FcPatternCreate(); | - |
41 | FcValue value; | - |
42 | value.type = FcTypeString; | - |
43 | QByteArray cs = fallbackFamilyAt(fallBackIndex).toUtf8(); | - |
44 | value.u.s = reinterpret_cast<const FcChar8 *>(cs.data()); | - |
45 | FcPatternAdd(requestPattern, "family", value, true); | - |
46 | FcResult result; | - |
47 | ret = FcFontMatch(0, requestPattern, &result); | - |
48 | cachedMatchPatterns.insert(fallBackIndex, ret); | - |
49 | FcPatternDestroy(requestPattern); | - |
50 | returnexecuted 369 times by 8 tests: return ret; Executed by:- tst_QComplexText
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QLabel
- tst_QRawFont
- tst_QTextLayout
- tst_QTextScriptEngine
ret;executed 369 times by 8 tests: return ret; Executed by:- tst_QComplexText
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QLabel
- tst_QRawFont
- tst_QTextLayout
- tst_QTextScriptEngine
| 369 |
51 | } | - |
52 | | - |
53 | | - |
| | |