| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | | - |
| 6 | | - |
| 7 | | - |
| 8 | | - |
| 9 | | - |
| 10 | | - |
| 11 | | - |
| 12 | | - |
| 13 | | - |
| 14 | | - |
| 15 | | - |
| 16 | | - |
| 17 | | - |
| 18 | | - |
| 19 | | - |
| 20 | | - |
| 21 | | - |
| 22 | | - |
| 23 | | - |
| 24 | | - |
| 25 | | - |
| 26 | | - |
| 27 | | - |
| 28 | | - |
| 29 | | - |
| 30 | | - |
| 31 | | - |
| 32 | | - |
| 33 | | - |
| 34 | | - |
| 35 | | - |
| 36 | | - |
| 37 | | - |
| 38 | | - |
| 39 | | - |
| 40 | #include "qfontconfigdatabase_p.h" | - |
| 41 | #include "qfontenginemultifontconfig_p.h" | - |
| 42 | | - |
| 43 | #include <QtCore/QList> | - |
| 44 | #include <QtCore/QElapsedTimer> | - |
| 45 | #include <QtCore/QFile> | - |
| 46 | | - |
| 47 | #include <qpa/qplatformnativeinterface.h> | - |
| 48 | #include <qpa/qplatformscreen.h> | - |
| 49 | #include <qpa/qplatformintegration.h> | - |
| 50 | #include <qpa/qplatformservices.h> | - |
| 51 | | - |
| 52 | #include <QtGui/private/qfontengine_ft_p.h> | - |
| 53 | #include <QtGui/private/qguiapplication_p.h> | - |
| 54 | #include <QtGui/private/qhighdpiscaling_p.h> | - |
| 55 | | - |
| 56 | #include <QtGui/qguiapplication.h> | - |
| 57 | | - |
| 58 | #include <fontconfig/fontconfig.h> | - |
| 59 | #if FC_VERSION >= 20402 | - |
| 60 | #include <fontconfig/fcfreetype.h> | - |
| 61 | #endif | - |
| 62 | | - |
| 63 | QT_BEGIN_NAMESPACE | - |
| 64 | | - |
| 65 | static const int maxWeight = 99; | - |
| 66 | | - |
| 67 | static inline int mapToQtWeightForRange(int fcweight, int fcLower, int fcUpper, int qtLower, int qtUpper) | - |
| 68 | { | - |
| 69 | return qtLower + ((fcweight - fcLower) * (qtUpper - qtLower)) / (fcUpper - fcLower);executed 20694 times by 123 tests: return qtLower + ((fcweight - fcLower) * (qtUpper - qtLower)) / (fcUpper - fcLower);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
- ...
| 20694 |
| 70 | } | - |
| 71 | | - |
| 72 | static inline int weightFromFcWeight(int fcweight) | - |
| 73 | { | - |
| 74 | | - |
| 75 | | - |
| 76 | | - |
| 77 | | - |
| 78 | | - |
| 79 | | - |
| 80 | | - |
| 81 | if (fcweight <= FC_WEIGHT_THIN)| TRUE | never evaluated | | FALSE | evaluated 20694 times by 123 testsEvaluated 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
- ...
|
| 0-20694 |
| 82 | return QFont::Thin; never executed: return QFont::Thin; | 0 |
| 83 | if (fcweight <= FC_WEIGHT_ULTRALIGHT)| TRUE | evaluated 178 times by 123 testsEvaluated 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
- ...
| | FALSE | evaluated 20516 times by 123 testsEvaluated 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
- ...
|
| 178-20516 |
| 84 | return mapToQtWeightForRange(fcweight, FC_WEIGHT_THIN, FC_WEIGHT_ULTRALIGHT, QFont::Thin, QFont::ExtraLight);executed 178 times by 123 tests: return mapToQtWeightForRange(fcweight, 0, 40, QFont::Thin, QFont::ExtraLight);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
- ...
| 178 |
| 85 | if (fcweight <= FC_WEIGHT_LIGHT)| TRUE | never evaluated | | FALSE | evaluated 20516 times by 123 testsEvaluated 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
- ...
|
| 0-20516 |
| 86 | return mapToQtWeightForRange(fcweight, FC_WEIGHT_ULTRALIGHT, FC_WEIGHT_LIGHT, QFont::ExtraLight, QFont::Light); never executed: return mapToQtWeightForRange(fcweight, 40, 50, QFont::ExtraLight, QFont::Light); | 0 |
| 87 | if (fcweight <= FC_WEIGHT_NORMAL)| TRUE | evaluated 11082 times by 123 testsEvaluated 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
- ...
| | FALSE | evaluated 9434 times by 123 testsEvaluated 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
- ...
|
| 9434-11082 |
| 88 | return mapToQtWeightForRange(fcweight, FC_WEIGHT_LIGHT, FC_WEIGHT_NORMAL, QFont::Light, QFont::Normal);executed 11082 times by 123 tests: return mapToQtWeightForRange(fcweight, 50, 80, QFont::Light, QFont::Normal);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
- ...
| 11082 |
| 89 | if (fcweight <= FC_WEIGHT_MEDIUM)| TRUE | evaluated 534 times by 123 testsEvaluated 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
- ...
| | FALSE | evaluated 8900 times by 123 testsEvaluated 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
- ...
|
| 534-8900 |
| 90 | return mapToQtWeightForRange(fcweight, FC_WEIGHT_NORMAL, FC_WEIGHT_MEDIUM, QFont::Normal, QFont::Medium);executed 534 times by 123 tests: return mapToQtWeightForRange(fcweight, 80, 100, QFont::Normal, QFont::Medium);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
- ...
| 534 |
| 91 | if (fcweight <= FC_WEIGHT_DEMIBOLD)| TRUE | evaluated 534 times by 123 testsEvaluated 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
- ...
| | FALSE | evaluated 8366 times by 123 testsEvaluated 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
- ...
|
| 534-8366 |
| 92 | return mapToQtWeightForRange(fcweight, FC_WEIGHT_MEDIUM, FC_WEIGHT_DEMIBOLD, QFont::Medium, QFont::DemiBold);executed 534 times by 123 tests: return mapToQtWeightForRange(fcweight, 100, 180, QFont::Medium, QFont::DemiBold);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
- ...
| 534 |
| 93 | if (fcweight <= FC_WEIGHT_BOLD)| TRUE | evaluated 8366 times by 123 testsEvaluated 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
- ...
| | FALSE | never evaluated |
| 0-8366 |
| 94 | return mapToQtWeightForRange(fcweight, FC_WEIGHT_DEMIBOLD, FC_WEIGHT_BOLD, QFont::DemiBold, QFont::Bold);executed 8366 times by 123 tests: return mapToQtWeightForRange(fcweight, 180, 200, QFont::DemiBold, QFont::Bold);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
- ...
| 8366 |
| 95 | if (fcweight <= FC_WEIGHT_ULTRABOLD)| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 96 | return mapToQtWeightForRange(fcweight, FC_WEIGHT_BOLD, FC_WEIGHT_ULTRABOLD, QFont::Bold, QFont::ExtraBold); never executed: return mapToQtWeightForRange(fcweight, 200, 205, QFont::Bold, QFont::ExtraBold); | 0 |
| 97 | if (fcweight <= FC_WEIGHT_BLACK)| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 98 | return mapToQtWeightForRange(fcweight, FC_WEIGHT_ULTRABOLD, FC_WEIGHT_BLACK, QFont::ExtraBold, QFont::Black); never executed: return mapToQtWeightForRange(fcweight, 205, 210, QFont::ExtraBold, QFont::Black); | 0 |
| 99 | if (fcweight <= FC_WEIGHT_ULTRABLACK)| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 100 | return mapToQtWeightForRange(fcweight, FC_WEIGHT_BLACK, FC_WEIGHT_ULTRABLACK, QFont::Black, maxWeight); never executed: return mapToQtWeightForRange(fcweight, 210, 215, QFont::Black, maxWeight); | 0 |
| 101 | return maxWeight; never executed: return maxWeight; | 0 |
| 102 | } | - |
| 103 | | - |
| 104 | static inline int stretchFromFcWidth(int fcwidth) | - |
| 105 | { | - |
| 106 | | - |
| 107 | | - |
| 108 | const int maxStretch = 4000; | - |
| 109 | int qtstretch; | - |
| 110 | if (fcwidth < 1)| TRUE | never evaluated | | FALSE | evaluated 20694 times by 123 testsEvaluated 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
- ...
|
| 0-20694 |
| 111 | qtstretch = 1; never executed: qtstretch = 1; | 0 |
| 112 | else if (fcwidth > maxStretch)| TRUE | never evaluated | | FALSE | evaluated 20694 times by 123 testsEvaluated 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
- ...
|
| 0-20694 |
| 113 | qtstretch = maxStretch; never executed: qtstretch = maxStretch; | 0 |
| 114 | else | - |
| 115 | qtstretch = fcwidth;executed 20694 times by 123 tests: qtstretch = fcwidth;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
- ...
| 20694 |
| 116 | | - |
| 117 | return qtstretch;executed 20694 times by 123 tests: return qtstretch;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
- ...
| 20694 |
| 118 | } | - |
| 119 | | - |
| 120 | static const char specialLanguages[][6] = { | - |
| 121 | "", | - |
| 122 | "", | - |
| 123 | "", | - |
| 124 | "en", | - |
| 125 | "el", | - |
| 126 | "ru", | - |
| 127 | "hy", | - |
| 128 | "he", | - |
| 129 | "ar", | - |
| 130 | "syr", | - |
| 131 | "dv", | - |
| 132 | "hi", | - |
| 133 | "bn", | - |
| 134 | "pa", | - |
| 135 | "gu", | - |
| 136 | "or", | - |
| 137 | "ta", | - |
| 138 | "te", | - |
| 139 | "kn", | - |
| 140 | "ml", | - |
| 141 | "si", | - |
| 142 | "th", | - |
| 143 | "lo", | - |
| 144 | "bo", | - |
| 145 | "my", | - |
| 146 | "ka", | - |
| 147 | "ko", | - |
| 148 | "am", | - |
| 149 | "chr", | - |
| 150 | "cr", | - |
| 151 | "sga", | - |
| 152 | "non", | - |
| 153 | "km", | - |
| 154 | "mn", | - |
| 155 | "ja", | - |
| 156 | "ja", | - |
| 157 | "zh-TW", | - |
| 158 | "", | - |
| 159 | "ii", | - |
| 160 | "ett", | - |
| 161 | "got", | - |
| 162 | "en", | - |
| 163 | "fil", | - |
| 164 | "hnn", | - |
| 165 | "bku", | - |
| 166 | "tbw", | - |
| 167 | "cop", | - |
| 168 | "lif", | - |
| 169 | "tdd", | - |
| 170 | "grc", | - |
| 171 | "uga", | - |
| 172 | "en", | - |
| 173 | "so", | - |
| 174 | "grc", | - |
| 175 | "", | - |
| 176 | "bug", | - |
| 177 | "khb", | - |
| 178 | "cu", | - |
| 179 | "shi", | - |
| 180 | "syl", | - |
| 181 | "peo", | - |
| 182 | "pra", | - |
| 183 | "ban", | - |
| 184 | "akk", | - |
| 185 | "phn", | - |
| 186 | "lzh", | - |
| 187 | "man", | - |
| 188 | "su", | - |
| 189 | "lep", | - |
| 190 | "sat", | - |
| 191 | "vai", | - |
| 192 | "saz", | - |
| 193 | "eky", | - |
| 194 | "rej", | - |
| 195 | "xlc", | - |
| 196 | "xcr", | - |
| 197 | "xld", | - |
| 198 | "cjm", | - |
| 199 | "nod", | - |
| 200 | "blt", | - |
| 201 | "ae", | - |
| 202 | "egy", | - |
| 203 | "smp", | - |
| 204 | "lis", | - |
| 205 | "bax", | - |
| 206 | "jv", | - |
| 207 | "mni", | - |
| 208 | "arc", | - |
| 209 | "xsa", | - |
| 210 | "xpr", | - |
| 211 | "pal", | - |
| 212 | "otk", | - |
| 213 | "bh", | - |
| 214 | "bbc", | - |
| 215 | "pra", | - |
| 216 | "myz", | - |
| 217 | "ccp", | - |
| 218 | "xmr", | - |
| 219 | "xmr", | - |
| 220 | "hmd", | - |
| 221 | "sa", | - |
| 222 | "srb", | - |
| 223 | "doi", | - |
| 224 | "lez", | - |
| 225 | "bsq", | - |
| 226 | "fr", | - |
| 227 | "sq", | - |
| 228 | "sa", | - |
| 229 | "hnj", | - |
| 230 | "sd", | - |
| 231 | "lab", | - |
| 232 | "hi", | - |
| 233 | "xmn", | - |
| 234 | "men", | - |
| 235 | "mr", | - |
| 236 | "mru", | - |
| 237 | "xna", | - |
| 238 | "arc", | - |
| 239 | "arc", | - |
| 240 | "ctd", | - |
| 241 | "kv", | - |
| 242 | "pal", | - |
| 243 | "sa", | - |
| 244 | "sd", | - |
| 245 | "mai", | - |
| 246 | "hoc", | - |
| 247 | "", | - |
| 248 | "", | - |
| 249 | "", | - |
| 250 | "", | - |
| 251 | "", | - |
| 252 | "" | - |
| 253 | }; | - |
| 254 | Q_STATIC_ASSERT(sizeof specialLanguages / sizeof *specialLanguages == QChar::ScriptCount); | - |
| 255 | | - |
| 256 | | - |
| 257 | | - |
| 258 | static const char languageForWritingSystem[][6] = { | - |
| 259 | "", | - |
| 260 | "en", | - |
| 261 | "el", | - |
| 262 | "ru", | - |
| 263 | "hy", | - |
| 264 | "he", | - |
| 265 | "ar", | - |
| 266 | "syr", | - |
| 267 | "div", | - |
| 268 | "hi", | - |
| 269 | "bn", | - |
| 270 | "pa", | - |
| 271 | "gu", | - |
| 272 | "or", | - |
| 273 | "ta", | - |
| 274 | "te", | - |
| 275 | "kn", | - |
| 276 | "ml", | - |
| 277 | "si", | - |
| 278 | "th", | - |
| 279 | "lo", | - |
| 280 | "bo", | - |
| 281 | "my", | - |
| 282 | "ka", | - |
| 283 | "km", | - |
| 284 | "zh-cn", | - |
| 285 | "zh-tw", | - |
| 286 | "ja", | - |
| 287 | "ko", | - |
| 288 | "vi", | - |
| 289 | "", | - |
| 290 | "sga", | - |
| 291 | "non", | - |
| 292 | "man" | - |
| 293 | }; | - |
| 294 | Q_STATIC_ASSERT(sizeof languageForWritingSystem / sizeof *languageForWritingSystem == QFontDatabase::WritingSystemsCount); | - |
| 295 | | - |
| 296 | #if FC_VERSION >= 20297 | - |
| 297 | | - |
| 298 | | - |
| 299 | | - |
| 300 | static const char capabilityForWritingSystem[][5] = { | - |
| 301 | "", | - |
| 302 | "", | - |
| 303 | "", | - |
| 304 | "", | - |
| 305 | "", | - |
| 306 | "", | - |
| 307 | "", | - |
| 308 | "syrc", | - |
| 309 | "thaa", | - |
| 310 | "deva", | - |
| 311 | "beng", | - |
| 312 | "guru", | - |
| 313 | "gujr", | - |
| 314 | "orya", | - |
| 315 | "taml", | - |
| 316 | "telu", | - |
| 317 | "knda", | - |
| 318 | "mlym", | - |
| 319 | "sinh", | - |
| 320 | "", | - |
| 321 | "", | - |
| 322 | "tibt", | - |
| 323 | "mymr", | - |
| 324 | "", | - |
| 325 | "khmr", | - |
| 326 | "", | - |
| 327 | "", | - |
| 328 | "", | - |
| 329 | "", | - |
| 330 | "", | - |
| 331 | "", | - |
| 332 | "", | - |
| 333 | "", | - |
| 334 | "nko " | - |
| 335 | }; | - |
| 336 | Q_STATIC_ASSERT(sizeof(capabilityForWritingSystem) / sizeof(*capabilityForWritingSystem) == QFontDatabase::WritingSystemsCount); | - |
| 337 | #endif | - |
| 338 | | - |
| 339 | static const char *getFcFamilyForStyleHint(const QFont::StyleHint style) | - |
| 340 | { | - |
| 341 | const char *stylehint = 0; | - |
| 342 | switch (style) { | - |
| 343 | case QFont::SansSerif:executed 1 time by 1 test: case QFont::SansSerif: | 1 |
| 344 | stylehint = "sans-serif"; | - |
| 345 | break;executed 1 time by 1 test: break; | 1 |
| 346 | case QFont::Serif:executed 4 times by 2 tests: case QFont::Serif: | 4 |
| 347 | stylehint = "serif"; | - |
| 348 | break;executed 4 times by 2 tests: break; | 4 |
| 349 | case QFont::TypeWriter:executed 9 times by 3 tests: case QFont::TypeWriter:Executed by:- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
| 9 |
| 350 | case QFont::Monospace:executed 1 time by 1 test: case QFont::Monospace: | 1 |
| 351 | stylehint = "monospace"; | - |
| 352 | break;executed 10 times by 4 tests: break;Executed by:- tst_QFont
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
| 10 |
| 353 | case QFont::Cursive:executed 1 time by 1 test: case QFont::Cursive: | 1 |
| 354 | stylehint = "cursive"; | - |
| 355 | break;executed 1 time by 1 test: break; | 1 |
| 356 | case QFont::Fantasy:executed 1 time by 1 test: case QFont::Fantasy: | 1 |
| 357 | stylehint = "fantasy"; | - |
| 358 | break;executed 1 time by 1 test: break; | 1 |
| 359 | default:executed 366 times by 123 tests: default: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
- ...
| 366 |
| 360 | break;executed 366 times by 123 tests: break;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
- ...
| 366 |
| 361 | } | - |
| 362 | return stylehint;executed 383 times by 123 tests: return stylehint;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
- ...
| 383 |
| 363 | } | - |
| 364 | | - |
| 365 | static inline bool requiresOpenType(int writingSystem) | - |
| 366 | { | - |
| 367 | return ((writingSystem >= QFontDatabase::Syriac && writingSystem <= QFontDatabase::Sinhala)executed 890 times by 123 tests: return ((writingSystem >= QFontDatabase::Syriac && writingSystem <= QFontDatabase::Sinhala) || writingSystem == QFontDatabase::Khmer || writingSystem == QFontDatabase::Nko);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
- ...
| 890 |
| 368 | || writingSystem == QFontDatabase::Khmer || writingSystem == QFontDatabase::Nko);executed 890 times by 123 tests: return ((writingSystem >= QFontDatabase::Syriac && writingSystem <= QFontDatabase::Sinhala) || writingSystem == QFontDatabase::Khmer || writingSystem == QFontDatabase::Nko);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
- ...
| 890 |
| 369 | } | - |
| 370 | | - |
| 371 | static void populateFromPattern(FcPattern *pattern) | - |
| 372 | { | - |
| 373 | QString familyName; | - |
| 374 | QString familyNameLang; | - |
| 375 | FcChar8 *value = 0; | - |
| 376 | int weight_value; | - |
| 377 | int slant_value; | - |
| 378 | int spacing_value; | - |
| 379 | int width_value; | - |
| 380 | FcChar8 *file_value; | - |
| 381 | int indexValue; | - |
| 382 | FcChar8 *foundry_value; | - |
| 383 | FcChar8 *style_value; | - |
| 384 | FcBool scalable; | - |
| 385 | FcBool antialias; | - |
| 386 | | - |
| 387 | if (FcPatternGetString(pattern, FC_FAMILY, 0, &value) != FcResultMatch)| TRUE | never evaluated | | FALSE | evaluated 20694 times by 123 testsEvaluated 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
- ...
|
| 0-20694 |
| 388 | return; never executed: return; | 0 |
| 389 | | - |
| 390 | familyName = QString::fromUtf8((const char *)value); | - |
| 391 | | - |
| 392 | if (FcPatternGetString(pattern, FC_FAMILYLANG, 0, &value) == FcResultMatch)| TRUE | evaluated 13040 times by 123 testsEvaluated 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
- ...
| | FALSE | evaluated 7654 times by 123 testsEvaluated 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
- ...
|
| 7654-13040 |
| 393 | familyNameLang = QString::fromUtf8((const char *)value);executed 13040 times by 123 tests: familyNameLang = QString::fromUtf8((const char *)value);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
- ...
| 13040 |
| 394 | | - |
| 395 | slant_value = FC_SLANT_ROMAN; | - |
| 396 | weight_value = FC_WEIGHT_REGULAR; | - |
| 397 | spacing_value = FC_PROPORTIONAL; | - |
| 398 | file_value = 0; | - |
| 399 | indexValue = 0; | - |
| 400 | scalable = FcTrue; | - |
| 401 | | - |
| 402 | | - |
| 403 | if (FcPatternGetInteger(pattern, FC_SLANT, 0, &slant_value) != FcResultMatch)| TRUE | never evaluated | | FALSE | evaluated 20694 times by 123 testsEvaluated 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
- ...
|
| 0-20694 |
| 404 | slant_value = FC_SLANT_ROMAN; never executed: slant_value = 0; | 0 |
| 405 | if (FcPatternGetInteger(pattern, FC_WEIGHT, 0, &weight_value) != FcResultMatch)| TRUE | never evaluated | | FALSE | evaluated 20694 times by 123 testsEvaluated 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
- ...
|
| 0-20694 |
| 406 | weight_value = FC_WEIGHT_REGULAR; never executed: weight_value = 80; | 0 |
| 407 | if (FcPatternGetInteger(pattern, FC_WIDTH, 0, &width_value) != FcResultMatch)| TRUE | never evaluated | | FALSE | evaluated 20694 times by 123 testsEvaluated 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
- ...
|
| 0-20694 |
| 408 | width_value = FC_WIDTH_NORMAL; never executed: width_value = 100; | 0 |
| 409 | if (FcPatternGetInteger(pattern, FC_SPACING, 0, &spacing_value) != FcResultMatch)| TRUE | evaluated 17658 times by 123 testsEvaluated 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
- ...
| | FALSE | evaluated 3036 times by 123 testsEvaluated 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
- ...
|
| 3036-17658 |
| 410 | spacing_value = FC_PROPORTIONAL;executed 17658 times by 123 tests: spacing_value = 0;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
- ...
| 17658 |
| 411 | if (FcPatternGetString(pattern, FC_FILE, 0, &file_value) != FcResultMatch)| TRUE | never evaluated | | FALSE | evaluated 20694 times by 123 testsEvaluated 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
- ...
|
| 0-20694 |
| 412 | file_value = 0; never executed: file_value = 0; | 0 |
| 413 | if (FcPatternGetInteger(pattern, FC_INDEX, 0, &indexValue) != FcResultMatch)| TRUE | never evaluated | | FALSE | evaluated 20694 times by 123 testsEvaluated 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
- ...
|
| 0-20694 |
| 414 | indexValue = 0; never executed: indexValue = 0; | 0 |
| 415 | if (FcPatternGetBool(pattern, FC_SCALABLE, 0, &scalable) != FcResultMatch)| TRUE | never evaluated | | FALSE | evaluated 20694 times by 123 testsEvaluated 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
- ...
|
| 0-20694 |
| 416 | scalable = FcTrue; never executed: scalable = 1; | 0 |
| 417 | if (FcPatternGetString(pattern, FC_FOUNDRY, 0, &foundry_value) != FcResultMatch)| TRUE | never evaluated | | FALSE | evaluated 20694 times by 123 testsEvaluated 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
- ...
|
| 0-20694 |
| 418 | foundry_value = 0; never executed: foundry_value = 0; | 0 |
| 419 | if (FcPatternGetString(pattern, FC_STYLE, 0, &style_value) != FcResultMatch)| TRUE | never evaluated | | FALSE | evaluated 20694 times by 123 testsEvaluated 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
- ...
|
| 0-20694 |
| 420 | style_value = 0; never executed: style_value = 0; | 0 |
| 421 | if (FcPatternGetBool(pattern,FC_ANTIALIAS,0,&antialias) != FcResultMatch)| TRUE | evaluated 20694 times by 123 testsEvaluated 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
- ...
| | FALSE | never evaluated |
| 0-20694 |
| 422 | antialias = true;executed 20694 times by 123 tests: antialias = true;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
- ...
| 20694 |
| 423 | | - |
| 424 | QSupportedWritingSystems writingSystems; | - |
| 425 | FcLangSet *langset = 0; | - |
| 426 | FcResult res = FcPatternGetLangSet(pattern, FC_LANG, 0, &langset); | - |
| 427 | if (res == FcResultMatch) {| TRUE | evaluated 20694 times by 123 testsEvaluated 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
- ...
| | FALSE | never evaluated |
| 0-20694 |
| 428 | bool hasLang = false; | - |
| 429 | #if FC_VERSION >= 20297 | - |
| 430 | FcChar8 *cap = Q_NULLPTR; | - |
| 431 | FcResult capRes = FcResultNoMatch; | - |
| 432 | #endif | - |
| 433 | for (int j = 1; j < QFontDatabase::WritingSystemsCount; ++j) {| TRUE | evaluated 682902 times by 123 testsEvaluated 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
- ...
| | FALSE | evaluated 20694 times by 123 testsEvaluated 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
- ...
|
| 20694-682902 |
| 434 | const FcChar8 *lang = (const FcChar8*) languageForWritingSystem[j]; | - |
| 435 | if (lang) {| TRUE | evaluated 682902 times by 123 testsEvaluated 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
- ...
| | FALSE | never evaluated |
| 0-682902 |
| 436 | FcLangResult langRes = FcLangSetHasLang(langset, lang); | - |
| 437 | if (langRes != FcLangDifferentLang) {| TRUE | evaluated 61268 times by 123 testsEvaluated 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
- ...
| | FALSE | evaluated 621634 times by 123 testsEvaluated 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
- ...
|
| 61268-621634 |
| 438 | #if FC_VERSION >= 20297 | - |
| 439 | if (*capabilityForWritingSystem[j] && requiresOpenType(j)) {| TRUE | evaluated 890 times by 123 testsEvaluated 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
- ...
| | FALSE | evaluated 60378 times by 123 testsEvaluated 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
- ...
|
| TRUE | evaluated 890 times by 123 testsEvaluated 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
- ...
| | FALSE | never evaluated |
| 0-60378 |
| 440 | if (cap == Q_NULLPTR)| TRUE | evaluated 890 times by 123 testsEvaluated 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
- ...
| | FALSE | never evaluated |
| 0-890 |
| 441 | capRes = FcPatternGetString(pattern, FC_CAPABILITY, 0, &cap);executed 890 times by 123 tests: capRes = FcPatternGetString(pattern, "capability", 0, &cap);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
- ...
| 890 |
| 442 | if (capRes == FcResultMatch && strstr(reinterpret_cast<const char *>(cap), capabilityForWritingSystem[j]) == 0)| TRUE | evaluated 890 times by 123 testsEvaluated 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
- ...
| | FALSE | never evaluated |
| TRUE | evaluated 890 times by 123 testsEvaluated 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
- ...
| | FALSE | never evaluated |
| 0-890 |
| 443 | continue;executed 890 times by 123 tests: continue;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
- ...
| 890 |
| 444 | } never executed: end of block | 0 |
| 445 | #endif | - |
| 446 | writingSystems.setSupported(QFontDatabase::WritingSystem(j)); | - |
| 447 | hasLang = true; | - |
| 448 | }executed 60378 times by 123 tests: end of blockExecuted 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
- ...
| 60378 |
| 449 | }executed 682012 times by 123 tests: end of blockExecuted 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
- ...
| 682012 |
| 450 | }executed 682012 times by 123 tests: end of blockExecuted 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
- ...
| 682012 |
| 451 | if (!hasLang)| TRUE | evaluated 900 times by 123 testsEvaluated 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
- ...
| | FALSE | evaluated 19794 times by 123 testsEvaluated 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
- ...
|
| 900-19794 |
| 452 | | - |
| 453 | writingSystems.setSupported(QFontDatabase::Other);executed 900 times by 123 tests: writingSystems.setSupported(QFontDatabase::Other);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
- ...
| 900 |
| 454 | } else {executed 20694 times by 123 tests: end of blockExecuted 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
- ...
| 20694 |
| 455 | | - |
| 456 | | - |
| 457 | | - |
| 458 | writingSystems.setSupported(QFontDatabase::Other); | - |
| 459 | } never executed: end of block | 0 |
| 460 | | - |
| 461 | FontFile *fontFile = new FontFile; | - |
| 462 | fontFile->fileName = QString::fromLocal8Bit((const char *)file_value); | - |
| 463 | fontFile->indexValue = indexValue; | - |
| 464 | | - |
| 465 | QFont::Style style = (slant_value == FC_SLANT_ITALIC)| TRUE | evaluated 6586 times by 123 testsEvaluated 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
- ...
| | FALSE | evaluated 14108 times by 123 testsEvaluated 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
- ...
|
| 6586-14108 |
| 466 | ? QFont::StyleItalic | - |
| 467 | : ((slant_value == FC_SLANT_OBLIQUE)| TRUE | evaluated 1780 times by 123 testsEvaluated 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
- ...
| | FALSE | evaluated 12328 times by 123 testsEvaluated 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
- ...
|
| 1780-12328 |
| 468 | ? QFont::StyleOblique | - |
| 469 | : QFont::StyleNormal); | - |
| 470 | | - |
| 471 | QFont::Weight weight = QFont::Weight(weightFromFcWeight(weight_value)); | - |
| 472 | | - |
| 473 | double pixel_size = 0; | - |
| 474 | if (!scalable)| TRUE | never evaluated | | FALSE | evaluated 20694 times by 123 testsEvaluated 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
- ...
|
| 0-20694 |
| 475 | FcPatternGetDouble (pattern, FC_PIXEL_SIZE, 0, &pixel_size); never executed: FcPatternGetDouble (pattern, "pixelsize", 0, &pixel_size); | 0 |
| 476 | | - |
| 477 | bool fixedPitch = spacing_value >= FC_MONO; | - |
| 478 | | - |
| 479 | QFont::Stretch stretch = QFont::Stretch(stretchFromFcWidth(width_value)); | - |
| 480 | QString styleName = style_value ? QString::fromUtf8((const char *) style_value) : QString();| TRUE | evaluated 20694 times by 123 testsEvaluated 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
- ...
| | FALSE | never evaluated |
| 0-20694 |
| 481 | QPlatformFontDatabase::registerFont(familyName,styleName,QLatin1String((const char *)foundry_value),weight,style,stretch,antialias,scalable,pixel_size,fixedPitch,writingSystems,fontFile); | - |
| 482 | | - |
| 483 | | - |
| 484 | for (int k = 1; FcPatternGetString(pattern, FC_FAMILY, k, &value) == FcResultMatch; ++k) {| TRUE | evaluated 1602 times by 123 testsEvaluated 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
- ...
| | FALSE | evaluated 20694 times by 123 testsEvaluated 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
- ...
|
| 1602-20694 |
| 485 | const QString altFamilyName = QString::fromUtf8((const char *)value); | - |
| 486 | | - |
| 487 | | - |
| 488 | | - |
| 489 | QString altStyleName; | - |
| 490 | if (FcPatternGetString(pattern, FC_STYLE, k, &value) == FcResultMatch)| TRUE | evaluated 1424 times by 123 testsEvaluated 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
- ...
| | FALSE | evaluated 178 times by 123 testsEvaluated 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
- ...
|
| 178-1424 |
| 491 | altStyleName = QString::fromUtf8((const char *)value);executed 1424 times by 123 tests: altStyleName = QString::fromUtf8((const char *)value);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
- ...
| 1424 |
| 492 | else | - |
| 493 | altStyleName = styleName;executed 178 times by 123 tests: altStyleName = styleName;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
- ...
| 178 |
| 494 | | - |
| 495 | QString altFamilyNameLang; | - |
| 496 | if (FcPatternGetString(pattern, FC_FAMILYLANG, k, &value) == FcResultMatch)| TRUE | evaluated 1602 times by 123 testsEvaluated 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
- ...
| | FALSE | never evaluated |
| 0-1602 |
| 497 | altFamilyNameLang = QString::fromUtf8((const char *)value);executed 1602 times by 123 tests: altFamilyNameLang = QString::fromUtf8((const char *)value);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
- ...
| 1602 |
| 498 | else | - |
| 499 | altFamilyNameLang = familyNameLang; never executed: altFamilyNameLang = familyNameLang; | 0 |
| 500 | | - |
| 501 | if (familyNameLang == altFamilyNameLang && altStyleName != styleName) {| TRUE | evaluated 1602 times by 123 testsEvaluated 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
- ...
| | FALSE | never evaluated |
| TRUE | evaluated 1424 times by 123 testsEvaluated 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
- ...
| | FALSE | evaluated 178 times by 123 testsEvaluated 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
- ...
|
| 0-1602 |
| 502 | FontFile *altFontFile = new FontFile(*fontFile); | - |
| 503 | QPlatformFontDatabase::registerFont(altFamilyName, altStyleName, QLatin1String((const char *)foundry_value),weight,style,stretch,antialias,scalable,pixel_size,fixedPitch,writingSystems,altFontFile); | - |
| 504 | } else {executed 1424 times by 123 tests: end of blockExecuted 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
- ...
| 1424 |
| 505 | QPlatformFontDatabase::registerAliasToFontFamily(familyName, altFamilyName); | - |
| 506 | }executed 178 times by 123 tests: end of blockExecuted 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
- ...
| 178 |
| 507 | } | - |
| 508 | | - |
| 509 | }executed 20694 times by 123 tests: end of blockExecuted 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
- ...
| 20694 |
| 510 | | - |
| 511 | void QFontconfigDatabase::populateFontDatabase() | - |
| 512 | { | - |
| 513 | FcInitReinitialize(); | - |
| 514 | FcFontSet *fonts; | - |
| 515 | | - |
| 516 | { | - |
| 517 | FcObjectSet *os = FcObjectSetCreate(); | - |
| 518 | FcPattern *pattern = FcPatternCreate(); | - |
| 519 | const char *properties [] = { | - |
| 520 | FC_FAMILY, FC_STYLE, FC_WEIGHT, FC_SLANT, | - |
| 521 | FC_SPACING, FC_FILE, FC_INDEX, | - |
| 522 | FC_LANG, FC_CHARSET, FC_FOUNDRY, FC_SCALABLE, FC_PIXEL_SIZE, | - |
| 523 | FC_WIDTH, FC_FAMILYLANG, | - |
| 524 | #if FC_VERSION >= 20297 | - |
| 525 | FC_CAPABILITY, | - |
| 526 | #endif | - |
| 527 | (const char *)0 | - |
| 528 | }; | - |
| 529 | const char **p = properties; | - |
| 530 | while (*p) {| TRUE | evaluated 2670 times by 123 testsEvaluated 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
- ...
| | FALSE | evaluated 178 times by 123 testsEvaluated 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
- ...
|
| 178-2670 |
| 531 | FcObjectSetAdd(os, *p); | - |
| 532 | ++p; | - |
| 533 | }executed 2670 times by 123 tests: end of blockExecuted 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
- ...
| 2670 |
| 534 | fonts = FcFontList(0, pattern, os); | - |
| 535 | FcObjectSetDestroy(os); | - |
| 536 | FcPatternDestroy(pattern); | - |
| 537 | } | - |
| 538 | | - |
| 539 | for (int i = 0; i < fonts->nfont; i++)| TRUE | evaluated 20648 times by 123 testsEvaluated 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
- ...
| | FALSE | evaluated 178 times by 123 testsEvaluated 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
- ...
|
| 178-20648 |
| 540 | populateFromPattern(fonts->fonts[i]);executed 20648 times by 123 tests: populateFromPattern(fonts->fonts[i]);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
- ...
| 20648 |
| 541 | | - |
| 542 | FcFontSetDestroy (fonts); | - |
| 543 | | - |
| 544 | struct FcDefaultFont { | - |
| 545 | const char *qtname; | - |
| 546 | const char *rawname; | - |
| 547 | bool fixed; | - |
| 548 | }; | - |
| 549 | const FcDefaultFont defaults[] = { | - |
| 550 | { "Serif", "serif", false }, | - |
| 551 | { "Sans Serif", "sans-serif", false }, | - |
| 552 | { "Monospace", "monospace", true }, | - |
| 553 | { 0, 0, false } | - |
| 554 | }; | - |
| 555 | const FcDefaultFont *f = defaults; | - |
| 556 | | - |
| 557 | QSupportedWritingSystems ws; | - |
| 558 | ws.setSupported(QFontDatabase::Latin); | - |
| 559 | | - |
| 560 | while (f->qtname) {| TRUE | evaluated 534 times by 123 testsEvaluated 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
- ...
| | FALSE | evaluated 178 times by 123 testsEvaluated 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
- ...
|
| 178-534 |
| 561 | QString familyQtName = QString::fromLatin1(f->qtname); | - |
| 562 | registerFont(familyQtName,QString(),QString(),QFont::Normal,QFont::StyleNormal,QFont::Unstretched,true,true,0,f->fixed,ws,0); | - |
| 563 | registerFont(familyQtName,QString(),QString(),QFont::Normal,QFont::StyleItalic,QFont::Unstretched,true,true,0,f->fixed,ws,0); | - |
| 564 | registerFont(familyQtName,QString(),QString(),QFont::Normal,QFont::StyleOblique,QFont::Unstretched,true,true,0,f->fixed,ws,0); | - |
| 565 | ++f; | - |
| 566 | }executed 534 times by 123 tests: end of blockExecuted 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
- ...
| 534 |
| 567 | | - |
| 568 | | - |
| 569 | | - |
| 570 | | - |
| 571 | | - |
| 572 | | - |
| 573 | | - |
| 574 | | - |
| 575 | }executed 178 times by 123 tests: end of blockExecuted 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
- ...
| 178 |
| 576 | | - |
| 577 | QFontEngineMulti *QFontconfigDatabase::fontEngineMulti(QFontEngine *fontEngine, QChar::Script script) | - |
| 578 | { | - |
| 579 | return new QFontEngineMultiFontConfig(fontEngine, script);executed 781 times by 123 tests: return new QFontEngineMultiFontConfig(fontEngine, script);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 |
| 580 | } | - |
| 581 | | - |
| 582 | namespace { | - |
| 583 | QFontEngine::HintStyle defaultHintStyleFromMatch(QFont::HintingPreference hintingPreference, FcPattern *match, bool useXftConf) | - |
| 584 | { | - |
| 585 | switch (hintingPreference) { | - |
| 586 | case QFont::PreferNoHinting:executed 322 times by 2 tests: case QFont::PreferNoHinting: | 322 |
| 587 | return QFontEngine::HintNone;executed 322 times by 2 tests: return QFontEngine::HintNone; | 322 |
| 588 | case QFont::PreferVerticalHinting:executed 321 times by 1 test: case QFont::PreferVerticalHinting: | 321 |
| 589 | return QFontEngine::HintLight;executed 321 times by 1 test: return QFontEngine::HintLight; | 321 |
| 590 | case QFont::PreferFullHinting:executed 322 times by 2 tests: case QFont::PreferFullHinting: | 322 |
| 591 | return QFontEngine::HintFull;executed 322 times by 2 tests: return QFontEngine::HintFull; | 322 |
| 592 | case QFont::PreferDefaultHinting:executed 1068 times by 122 tests: case QFont::PreferDefaultHinting: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
- ...
| 1068 |
| 593 | break;executed 1068 times by 122 tests: break;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
- ...
| 1068 |
| 594 | } | - |
| 595 | | - |
| 596 | if (QHighDpiScaling::isActive())| TRUE | never evaluated | | FALSE | evaluated 1068 times by 122 testsEvaluated 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
- ...
|
| 0-1068 |
| 597 | return QFontEngine::HintNone; never executed: return QFontEngine::HintNone; | 0 |
| 598 | | - |
| 599 | int hint_style = 0; | - |
| 600 | if (FcPatternGetInteger (match, FC_HINT_STYLE, 0, &hint_style) == FcResultMatch) {| TRUE | evaluated 1068 times by 122 testsEvaluated 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
- ...
| | FALSE | never evaluated |
| 0-1068 |
| 601 | switch (hint_style) { | - |
| 602 | case FC_HINT_NONE: never executed: case 0: | 0 |
| 603 | return QFontEngine::HintNone; never executed: return QFontEngine::HintNone; | 0 |
| 604 | case FC_HINT_SLIGHT: never executed: case 1: | 0 |
| 605 | return QFontEngine::HintLight; never executed: return QFontEngine::HintLight; | 0 |
| 606 | case FC_HINT_MEDIUM: never executed: case 2: | 0 |
| 607 | return QFontEngine::HintMedium; never executed: return QFontEngine::HintMedium; | 0 |
| 608 | case FC_HINT_FULL:executed 1068 times by 122 tests: case 3: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
- ...
| 1068 |
| 609 | return QFontEngine::HintFull;executed 1068 times by 122 tests: return QFontEngine::HintFull;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
- ...
| 1068 |
| 610 | default: never executed: default: | 0 |
| 611 | Q_UNREACHABLE(); | - |
| 612 | break; never executed: break; | 0 |
| 613 | } | - |
| 614 | } | - |
| 615 | | - |
| 616 | if (useXftConf) {| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 617 | void *hintStyleResource = | - |
| 618 | QGuiApplication::platformNativeInterface()->nativeResourceForScreen("hintstyle", | - |
| 619 | QGuiApplication::primaryScreen()); | - |
| 620 | int hintStyle = int(reinterpret_cast<qintptr>(hintStyleResource)); | - |
| 621 | if (hintStyle > 0)| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 622 | return QFontEngine::HintStyle(hintStyle - 1); never executed: return QFontEngine::HintStyle(hintStyle - 1); | 0 |
| 623 | } never executed: end of block | 0 |
| 624 | | - |
| 625 | return QFontEngine::HintFull; never executed: return QFontEngine::HintFull; | 0 |
| 626 | } | - |
| 627 | | - |
| 628 | QFontEngine::SubpixelAntialiasingType subpixelTypeFromMatch(FcPattern *match, bool useXftConf) | - |
| 629 | { | - |
| 630 | int subpixel = FC_RGBA_UNKNOWN; | - |
| 631 | if (FcPatternGetInteger(match, FC_RGBA, 0, &subpixel) == FcResultMatch) {| TRUE | never evaluated | | FALSE | evaluated 2030 times by 123 testsEvaluated 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
- ...
|
| 0-2030 |
| 632 | switch (subpixel) { | - |
| 633 | case FC_RGBA_UNKNOWN: never executed: case 0: | 0 |
| 634 | case FC_RGBA_NONE: never executed: case 5: | 0 |
| 635 | return QFontEngine::Subpixel_None; never executed: return QFontEngine::Subpixel_None; | 0 |
| 636 | case FC_RGBA_RGB: never executed: case 1: | 0 |
| 637 | return QFontEngine::Subpixel_RGB; never executed: return QFontEngine::Subpixel_RGB; | 0 |
| 638 | case FC_RGBA_BGR: never executed: case 2: | 0 |
| 639 | return QFontEngine::Subpixel_BGR; never executed: return QFontEngine::Subpixel_BGR; | 0 |
| 640 | case FC_RGBA_VRGB: never executed: case 3: | 0 |
| 641 | return QFontEngine::Subpixel_VRGB; never executed: return QFontEngine::Subpixel_VRGB; | 0 |
| 642 | case FC_RGBA_VBGR: never executed: case 4: | 0 |
| 643 | return QFontEngine::Subpixel_VBGR; never executed: return QFontEngine::Subpixel_VBGR; | 0 |
| 644 | default: never executed: default: | 0 |
| 645 | Q_UNREACHABLE(); | - |
| 646 | break; never executed: break; | 0 |
| 647 | } | - |
| 648 | } | - |
| 649 | | - |
| 650 | if (useXftConf) {| TRUE | never evaluated | | FALSE | evaluated 2030 times by 123 testsEvaluated 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
- ...
|
| 0-2030 |
| 651 | void *subpixelTypeResource = | - |
| 652 | QGuiApplication::platformNativeInterface()->nativeResourceForScreen("subpixeltype", | - |
| 653 | QGuiApplication::primaryScreen()); | - |
| 654 | int subpixelType = int(reinterpret_cast<qintptr>(subpixelTypeResource)); | - |
| 655 | if (subpixelType > 0)| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 656 | return QFontEngine::SubpixelAntialiasingType(subpixelType - 1); never executed: return QFontEngine::SubpixelAntialiasingType(subpixelType - 1); | 0 |
| 657 | } never executed: end of block | 0 |
| 658 | | - |
| 659 | return QFontEngine::Subpixel_None;executed 2030 times by 123 tests: return QFontEngine::Subpixel_None;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
- ...
| 2030 |
| 660 | } | - |
| 661 | } | - |
| 662 | | - |
| 663 | QFontEngine *QFontconfigDatabase::fontEngine(const QFontDef &f, void *usrPtr) | - |
| 664 | { | - |
| 665 | if (!usrPtr)| TRUE | evaluated 731 times by 123 testsEvaluated 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
- ...
| | FALSE | evaluated 785 times by 123 testsEvaluated 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
- ...
|
| 731-785 |
| 666 | return 0;executed 731 times by 123 tests: return 0;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
- ...
| 731 |
| 667 | | - |
| 668 | FontFile *fontfile = static_cast<FontFile *> (usrPtr); | - |
| 669 | QFontEngine::FaceId fid; | - |
| 670 | fid.filename = QFile::encodeName(fontfile->fileName); | - |
| 671 | fid.index = fontfile->indexValue; | - |
| 672 | | - |
| 673 | QFontEngineFT *engine = new QFontEngineFT(f); | - |
| 674 | engine->face_id = fid; | - |
| 675 | | - |
| 676 | setupFontEngine(engine, f); | - |
| 677 | | - |
| 678 | if (!engine->init(fid, engine->antialias, engine->defaultFormat) || engine->invalid()) {| TRUE | never evaluated | | FALSE | evaluated 785 times by 123 testsEvaluated 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
- ...
|
| TRUE | never evaluated | | FALSE | evaluated 785 times by 123 testsEvaluated 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
- ...
|
| 0-785 |
| 679 | delete engine; | - |
| 680 | engine = 0; | - |
| 681 | } never executed: end of block | 0 |
| 682 | | - |
| 683 | return engine;executed 785 times by 123 tests: return engine;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
- ...
| 785 |
| 684 | } | - |
| 685 | | - |
| 686 | QFontEngine *QFontconfigDatabase::fontEngine(const QByteArray &fontData, qreal pixelSize, QFont::HintingPreference hintingPreference) | - |
| 687 | { | - |
| 688 | QFontEngineFT *engine = static_cast<QFontEngineFT*>(QBasicFontDatabase::fontEngine(fontData, pixelSize, hintingPreference)); | - |
| 689 | if (engine == 0)| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 1248 times by 1 test |
| 2-1248 |
| 690 | return 0;executed 2 times by 1 test: return 0; | 2 |
| 691 | | - |
| 692 | setupFontEngine(engine, engine->fontDef); | - |
| 693 | | - |
| 694 | return engine;executed 1248 times by 1 test: return engine; | 1248 |
| 695 | } | - |
| 696 | | - |
| 697 | QStringList QFontconfigDatabase::fallbacksForFamily(const QString &family, QFont::Style style, QFont::StyleHint styleHint, QChar::Script script) const | - |
| 698 | { | - |
| 699 | QStringList fallbackFamilies; | - |
| 700 | FcPattern *pattern = FcPatternCreate(); | - |
| 701 | if (!pattern)| TRUE | never evaluated | | FALSE | evaluated 383 times by 123 testsEvaluated 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
- ...
|
| 0-383 |
| 702 | return fallbackFamilies; never executed: return fallbackFamilies; | 0 |
| 703 | | - |
| 704 | FcValue value; | - |
| 705 | value.type = FcTypeString; | - |
| 706 | QByteArray cs = family.toUtf8(); | - |
| 707 | value.u.s = (const FcChar8 *)cs.data(); | - |
| 708 | FcPatternAdd(pattern,FC_FAMILY,value,true); | - |
| 709 | | - |
| 710 | int slant_value = FC_SLANT_ROMAN; | - |
| 711 | if (style == QFont::StyleItalic)| TRUE | evaluated 10 times by 4 testsEvaluated by:- tst_QFontDialog
- tst_QFontMetrics
- tst_QItemDelegate
- tst_QTextLayout
| | FALSE | evaluated 373 times by 123 testsEvaluated 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
- ...
|
| 10-373 |
| 712 | slant_value = FC_SLANT_ITALIC;executed 10 times by 4 tests: slant_value = 100;Executed by:- tst_QFontDialog
- tst_QFontMetrics
- tst_QItemDelegate
- tst_QTextLayout
| 10 |
| 713 | else if (style == QFont::StyleOblique)| TRUE | evaluated 4 times by 2 testsEvaluated by:- tst_QFontDialog
- tst_QFontMetrics
| | FALSE | evaluated 369 times by 123 testsEvaluated 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
- ...
|
| 4-369 |
| 714 | slant_value = FC_SLANT_OBLIQUE;executed 4 times by 2 tests: slant_value = 110;Executed by:- tst_QFontDialog
- tst_QFontMetrics
| 4 |
| 715 | FcPatternAddInteger(pattern, FC_SLANT, slant_value); | - |
| 716 | | - |
| 717 | Q_ASSERT(uint(script) < QChar::ScriptCount); | - |
| 718 | if (*specialLanguages[script] != '\0') {| TRUE | evaluated 37 times by 10 testsEvaluated by:- tst_QComplexText
- tst_QFontDatabase
- tst_QGlyphRun
- tst_QLabel
- tst_QLineEdit
- tst_QRawFont
- tst_QStaticText
- tst_QTextEdit
- tst_QTextLayout
- tst_QTextScriptEngine
| | FALSE | evaluated 346 times by 123 testsEvaluated 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
- ...
|
| 37-346 |
| 719 | FcLangSet *ls = FcLangSetCreate(); | - |
| 720 | FcLangSetAdd(ls, (const FcChar8*)specialLanguages[script]); | - |
| 721 | FcPatternAddLangSet(pattern, FC_LANG, ls); | - |
| 722 | FcLangSetDestroy(ls); | - |
| 723 | } else if (!family.isEmpty()) {executed 37 times by 10 tests: end of blockExecuted by:- tst_QComplexText
- tst_QFontDatabase
- tst_QGlyphRun
- tst_QLabel
- tst_QLineEdit
- tst_QRawFont
- tst_QStaticText
- tst_QTextEdit
- tst_QTextLayout
- tst_QTextScriptEngine
| TRUE | evaluated 339 times by 123 testsEvaluated 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
- ...
| | FALSE | evaluated 7 times by 3 testsEvaluated by:- tst_QFont
- tst_QFontCache
- tst_QItemDelegate
|
| 7-339 |
| 724 | | - |
| 725 | | - |
| 726 | | - |
| 727 | | - |
| 728 | | - |
| 729 | FcPattern *dummy = FcPatternCreate(); | - |
| 730 | FcDefaultSubstitute(dummy); | - |
| 731 | FcChar8 *lang = 0; | - |
| 732 | FcResult res = FcPatternGetString(dummy, FC_LANG, 0, &lang); | - |
| 733 | if (res == FcResultMatch)| TRUE | never evaluated | | FALSE | evaluated 339 times by 123 testsEvaluated 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
- ...
|
| 0-339 |
| 734 | FcPatternAddString(pattern, FC_LANG, lang); never executed: FcPatternAddString(pattern, "lang", lang); | 0 |
| 735 | FcPatternDestroy(dummy); | - |
| 736 | }executed 339 times by 123 tests: end of blockExecuted 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
- ...
| 339 |
| 737 | | - |
| 738 | const char *stylehint = getFcFamilyForStyleHint(styleHint); | - |
| 739 | if (stylehint) {| TRUE | evaluated 17 times by 5 testsEvaluated by:- tst_QFont
- tst_QFontCache
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
| | FALSE | evaluated 366 times by 123 testsEvaluated 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
- ...
|
| 17-366 |
| 740 | value.u.s = (const FcChar8 *)stylehint; | - |
| 741 | FcPatternAddWeak(pattern, FC_FAMILY, value, FcTrue); | - |
| 742 | }executed 17 times by 5 tests: end of blockExecuted by:- tst_QFont
- tst_QFontCache
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
| 17 |
| 743 | | - |
| 744 | FcConfigSubstitute(0, pattern, FcMatchPattern); | - |
| 745 | FcDefaultSubstitute(pattern); | - |
| 746 | | - |
| 747 | FcResult result = FcResultMatch; | - |
| 748 | FcFontSet *fontSet = FcFontSort(0,pattern,FcFalse,0,&result); | - |
| 749 | FcPatternDestroy(pattern); | - |
| 750 | | - |
| 751 | if (fontSet) {| TRUE | evaluated 383 times by 123 testsEvaluated 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
- ...
| | FALSE | never evaluated |
| 0-383 |
| 752 | QSet<QString> duplicates; | - |
| 753 | duplicates.reserve(fontSet->nfont + 1); | - |
| 754 | duplicates.insert(family.toCaseFolded()); | - |
| 755 | for (int i = 0; i < fontSet->nfont; i++) {| TRUE | evaluated 44452 times by 123 testsEvaluated 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
- ...
| | FALSE | evaluated 383 times by 123 testsEvaluated 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
- ...
|
| 383-44452 |
| 756 | FcChar8 *value = 0; | - |
| 757 | if (FcPatternGetString(fontSet->fonts[i], FC_FAMILY, 0, &value) != FcResultMatch)| TRUE | never evaluated | | FALSE | evaluated 44452 times by 123 testsEvaluated 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
- ...
|
| 0-44452 |
| 758 | continue; never executed: continue; | 0 |
| 759 | | - |
| 760 | const QString familyName = QString::fromUtf8((const char *)value); | - |
| 761 | const QString familyNameCF = familyName.toCaseFolded(); | - |
| 762 | if (!duplicates.contains(familyNameCF)) {| TRUE | evaluated 14391 times by 123 testsEvaluated 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
- ...
| | FALSE | evaluated 30061 times by 123 testsEvaluated 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
- ...
|
| 14391-30061 |
| 763 | fallbackFamilies << familyName; | - |
| 764 | duplicates.insert(familyNameCF); | - |
| 765 | }executed 14391 times by 123 tests: end of blockExecuted 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
- ...
| 14391 |
| 766 | }executed 44452 times by 123 tests: end of blockExecuted 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
- ...
| 44452 |
| 767 | FcFontSetDestroy(fontSet); | - |
| 768 | }executed 383 times by 123 tests: end of blockExecuted 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
- ...
| 383 |
| 769 | | - |
| 770 | | - |
| 771 | return fallbackFamilies;executed 383 times by 123 tests: return fallbackFamilies;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
- ...
| 383 |
| 772 | } | - |
| 773 | | - |
| 774 | static FcPattern *queryFont(const FcChar8 *file, const QByteArray &data, int id, FcBlanks *blanks, int *count) | - |
| 775 | { | - |
| 776 | #if FC_VERSION < 20402 | - |
| 777 | Q_UNUSED(data) | - |
| 778 | return FcFreeTypeQuery(file, id, blanks, count); | - |
| 779 | #else | - |
| 780 | if (data.isEmpty())| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 44 times by 5 testsEvaluated by:- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
|
| 2-44 |
| 781 | return FcFreeTypeQuery(file, id, blanks, count);executed 2 times by 1 test: return FcFreeTypeQuery(file, id, blanks, count); | 2 |
| 782 | | - |
| 783 | FT_Library lib = qt_getFreetype(); | - |
| 784 | | - |
| 785 | FcPattern *pattern = 0; | - |
| 786 | | - |
| 787 | FT_Face face; | - |
| 788 | if (!FT_New_Memory_Face(lib, (const FT_Byte *)data.constData(), data.size(), id, &face)) {| TRUE | evaluated 44 times by 5 testsEvaluated by:- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
| | FALSE | never evaluated |
| 0-44 |
| 789 | *count = face->num_faces; | - |
| 790 | | - |
| 791 | pattern = FcFreeTypeQueryFace(face, file, id, blanks); | - |
| 792 | | - |
| 793 | FT_Done_Face(face); | - |
| 794 | }executed 44 times by 5 tests: end of blockExecuted by:- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
| 44 |
| 795 | | - |
| 796 | return pattern;executed 44 times by 5 tests: return pattern;Executed by:- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
| 44 |
| 797 | #endif | - |
| 798 | } | - |
| 799 | | - |
| 800 | QStringList QFontconfigDatabase::addApplicationFont(const QByteArray &fontData, const QString &fileName) | - |
| 801 | { | - |
| 802 | QStringList families; | - |
| 803 | | - |
| 804 | FcFontSet *set = FcConfigGetFonts(0, FcSetApplication); | - |
| 805 | if (!set) {| TRUE | evaluated 44 times by 5 testsEvaluated by:- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
| | FALSE | evaluated 2 times by 1 test |
| 2-44 |
| 806 | FcConfigAppFontAddFile(0, (const FcChar8 *)":/non-existent"); | - |
| 807 | set = FcConfigGetFonts(0, FcSetApplication); | - |
| 808 | if (!set)| TRUE | never evaluated | | FALSE | evaluated 44 times by 5 testsEvaluated by:- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
|
| 0-44 |
| 809 | return families; never executed: return families; | 0 |
| 810 | }executed 44 times by 5 tests: end of blockExecuted by:- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
| 44 |
| 811 | | - |
| 812 | int id = 0; | - |
| 813 | FcBlanks *blanks = FcConfigGetBlanks(0); | - |
| 814 | int count = 0; | - |
| 815 | | - |
| 816 | FcPattern *pattern; | - |
| 817 | do { | - |
| 818 | pattern = queryFont((const FcChar8 *)QFile::encodeName(fileName).constData(), | - |
| 819 | fontData, id, blanks, &count); | - |
| 820 | if (!pattern)| TRUE | never evaluated | | FALSE | evaluated 46 times by 5 testsEvaluated by:- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
|
| 0-46 |
| 821 | return families; never executed: return families; | 0 |
| 822 | | - |
| 823 | FcChar8 *fam = 0; | - |
| 824 | if (FcPatternGetString(pattern, FC_FAMILY, 0, &fam) == FcResultMatch) {| TRUE | evaluated 46 times by 5 testsEvaluated by:- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
| | FALSE | never evaluated |
| 0-46 |
| 825 | QString family = QString::fromUtf8(reinterpret_cast<const char *>(fam)); | - |
| 826 | families << family; | - |
| 827 | }executed 46 times by 5 tests: end of blockExecuted by:- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
| 46 |
| 828 | populateFromPattern(pattern); | - |
| 829 | | - |
| 830 | FcFontSetAdd(set, pattern); | - |
| 831 | | - |
| 832 | ++id; | - |
| 833 | } while (id < count);executed 46 times by 5 tests: end of blockExecuted by:- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
| TRUE | never evaluated | | FALSE | evaluated 46 times by 5 testsEvaluated by:- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
|
| 0-46 |
| 834 | | - |
| 835 | return families;executed 46 times by 5 tests: return families;Executed by:- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
| 46 |
| 836 | } | - |
| 837 | | - |
| 838 | QString QFontconfigDatabase::resolveFontFamilyAlias(const QString &family) const | - |
| 839 | { | - |
| 840 | QString resolved = QBasicFontDatabase::resolveFontFamilyAlias(family); | - |
| 841 | if (!resolved.isEmpty() && resolved != family)| TRUE | evaluated 9 times by 3 testsEvaluated by:- tst_QFont
- tst_QFontCache
- tst_QFontDatabase
| | FALSE | never evaluated |
| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 8 times by 3 testsEvaluated by:- tst_QFont
- tst_QFontCache
- tst_QFontDatabase
|
| 0-9 |
| 842 | return resolved;executed 1 time by 1 test: return resolved; | 1 |
| 843 | FcPattern *pattern = FcPatternCreate(); | - |
| 844 | if (!pattern)| TRUE | never evaluated | | FALSE | evaluated 8 times by 3 testsEvaluated by:- tst_QFont
- tst_QFontCache
- tst_QFontDatabase
|
| 0-8 |
| 845 | return family; never executed: return family; | 0 |
| 846 | | - |
| 847 | if (!family.isEmpty()) {| TRUE | evaluated 8 times by 3 testsEvaluated by:- tst_QFont
- tst_QFontCache
- tst_QFontDatabase
| | FALSE | never evaluated |
| 0-8 |
| 848 | QByteArray cs = family.toUtf8(); | - |
| 849 | FcPatternAddString(pattern, FC_FAMILY, (const FcChar8 *) cs.constData()); | - |
| 850 | }executed 8 times by 3 tests: end of blockExecuted by:- tst_QFont
- tst_QFontCache
- tst_QFontDatabase
| 8 |
| 851 | FcConfigSubstitute(0, pattern, FcMatchPattern); | - |
| 852 | FcDefaultSubstitute(pattern); | - |
| 853 | | - |
| 854 | FcChar8 *familyAfterSubstitution = 0; | - |
| 855 | FcPatternGetString(pattern, FC_FAMILY, 0, &familyAfterSubstitution); | - |
| 856 | resolved = QString::fromUtf8((const char *) familyAfterSubstitution); | - |
| 857 | FcPatternDestroy(pattern); | - |
| 858 | | - |
| 859 | return resolved;executed 8 times by 3 tests: return resolved;Executed by:- tst_QFont
- tst_QFontCache
- tst_QFontDatabase
| 8 |
| 860 | } | - |
| 861 | | - |
| 862 | QFont QFontconfigDatabase::defaultFont() const | - |
| 863 | { | - |
| 864 | | - |
| 865 | | - |
| 866 | | - |
| 867 | FcPattern *dummy = FcPatternCreate(); | - |
| 868 | FcDefaultSubstitute(dummy); | - |
| 869 | FcChar8 *lang = 0; | - |
| 870 | FcResult res = FcPatternGetString(dummy, FC_LANG, 0, &lang); | - |
| 871 | | - |
| 872 | FcPattern *pattern = FcPatternCreate(); | - |
| 873 | if (res == FcResultMatch) {| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 874 | | - |
| 875 | | - |
| 876 | FcPatternAddString(pattern, FC_LANG, lang); | - |
| 877 | } never executed: end of block | 0 |
| 878 | FcConfigSubstitute(0, pattern, FcMatchPattern); | - |
| 879 | FcDefaultSubstitute(pattern); | - |
| 880 | | - |
| 881 | FcChar8 *familyAfterSubstitution = 0; | - |
| 882 | FcPatternGetString(pattern, FC_FAMILY, 0, &familyAfterSubstitution); | - |
| 883 | QString resolved = QString::fromUtf8((const char *) familyAfterSubstitution); | - |
| 884 | FcPatternDestroy(pattern); | - |
| 885 | FcPatternDestroy(dummy); | - |
| 886 | | - |
| 887 | return QFont(resolved); never executed: return QFont(resolved); | 0 |
| 888 | } | - |
| 889 | | - |
| 890 | void QFontconfigDatabase::setupFontEngine(QFontEngineFT *engine, const QFontDef &fontDef) const | - |
| 891 | { | - |
| 892 | bool antialias = !(fontDef.styleStrategy & QFont::NoAntialias); | - |
| 893 | bool forcedAntialiasSetting = !antialias; | - |
| 894 | | - |
| 895 | const QPlatformServices *services = QGuiApplicationPrivate::platformIntegration()->services(); | - |
| 896 | bool useXftConf = (services && (services->desktopEnvironment() == "GNOME" || services->desktopEnvironment() == "UNITY"));| TRUE | evaluated 2033 times by 123 testsEvaluated 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
- ...
| | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | evaluated 2033 times by 123 testsEvaluated 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
- ...
|
| TRUE | never evaluated | | FALSE | evaluated 2033 times by 123 testsEvaluated 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
- ...
|
| 0-2033 |
| 897 | if (useXftConf && !forcedAntialiasSetting) {| TRUE | never evaluated | | FALSE | evaluated 2033 times by 123 testsEvaluated 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
- ...
|
| TRUE | never evaluated | | FALSE | never evaluated |
| 0-2033 |
| 898 | void *antialiasResource = | - |
| 899 | QGuiApplication::platformNativeInterface()->nativeResourceForScreen("antialiasingEnabled", | - |
| 900 | QGuiApplication::primaryScreen()); | - |
| 901 | int antialiasingEnabled = int(reinterpret_cast<qintptr>(antialiasResource)); | - |
| 902 | if (antialiasingEnabled > 0)| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 903 | antialias = antialiasingEnabled - 1; never executed: antialias = antialiasingEnabled - 1; | 0 |
| 904 | } never executed: end of block | 0 |
| 905 | | - |
| 906 | QFontEngine::GlyphFormat format; | - |
| 907 | | - |
| 908 | FcPattern *pattern = FcPatternCreate(); | - |
| 909 | | - |
| 910 | FcValue value; | - |
| 911 | value.type = FcTypeString; | - |
| 912 | QByteArray cs = fontDef.family.toUtf8(); | - |
| 913 | value.u.s = (const FcChar8 *)cs.data(); | - |
| 914 | FcPatternAdd(pattern,FC_FAMILY,value,true); | - |
| 915 | | - |
| 916 | QFontEngine::FaceId fid = engine->faceId(); | - |
| 917 | | - |
| 918 | if (!fid.filename.isEmpty()) {| TRUE | evaluated 785 times by 123 testsEvaluated 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
- ...
| | FALSE | evaluated 1248 times by 1 test |
| 785-1248 |
| 919 | value.u.s = (const FcChar8 *)fid.filename.data(); | - |
| 920 | FcPatternAdd(pattern,FC_FILE,value,true); | - |
| 921 | | - |
| 922 | value.type = FcTypeInteger; | - |
| 923 | value.u.i = fid.index; | - |
| 924 | FcPatternAdd(pattern,FC_INDEX,value,true); | - |
| 925 | }executed 785 times by 123 tests: end of blockExecuted 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
- ...
| 785 |
| 926 | | - |
| 927 | if (fontDef.pixelSize > 0.1)| TRUE | evaluated 2033 times by 123 testsEvaluated 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
- ...
| | FALSE | never evaluated |
| 0-2033 |
| 928 | FcPatternAddDouble(pattern, FC_PIXEL_SIZE, fontDef.pixelSize);executed 2033 times by 123 tests: FcPatternAddDouble(pattern, "pixelsize", fontDef.pixelSize);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
- ...
| 2033 |
| 929 | | - |
| 930 | FcResult result; | - |
| 931 | | - |
| 932 | FcConfigSubstitute(0, pattern, FcMatchPattern); | - |
| 933 | FcDefaultSubstitute(pattern); | - |
| 934 | | - |
| 935 | FcPattern *match = FcFontMatch(0, pattern, &result); | - |
| 936 | if (match) {| TRUE | evaluated 2033 times by 123 testsEvaluated 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
- ...
| | FALSE | never evaluated |
| 0-2033 |
| 937 | engine->setDefaultHintStyle(defaultHintStyleFromMatch((QFont::HintingPreference)fontDef.hintingPreference, match, useXftConf)); | - |
| 938 | | - |
| 939 | FcBool fc_autohint; | - |
| 940 | if (FcPatternGetBool(match, FC_AUTOHINT,0, &fc_autohint) == FcResultMatch)| TRUE | evaluated 2033 times by 123 testsEvaluated 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
- ...
| | FALSE | never evaluated |
| 0-2033 |
| 941 | engine->forceAutoHint = fc_autohint;executed 2033 times by 123 tests: engine->forceAutoHint = fc_autohint;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
- ...
| 2033 |
| 942 | | - |
| 943 | #if defined(FT_LCD_FILTER_H) | - |
| 944 | int lcdFilter; | - |
| 945 | if (FcPatternGetInteger(match, FC_LCD_FILTER, 0, &lcdFilter) == FcResultMatch)| TRUE | evaluated 2033 times by 123 testsEvaluated 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
- ...
| | FALSE | never evaluated |
| 0-2033 |
| 946 | engine->lcdFilterType = lcdFilter;executed 2033 times by 123 tests: engine->lcdFilterType = lcdFilter;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
- ...
| 2033 |
| 947 | #endif | - |
| 948 | | - |
| 949 | if (!forcedAntialiasSetting) {| TRUE | evaluated 2030 times by 123 testsEvaluated 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
- ...
| | FALSE | evaluated 3 times by 2 testsEvaluated by:- tst_QStaticText
- tst_QWizard
|
| 3-2030 |
| 950 | FcBool fc_antialias; | - |
| 951 | if (FcPatternGetBool(match, FC_ANTIALIAS,0, &fc_antialias) == FcResultMatch)| TRUE | never evaluated | | FALSE | evaluated 2030 times by 123 testsEvaluated 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
- ...
|
| 0-2030 |
| 952 | antialias = fc_antialias; never executed: antialias = fc_antialias; | 0 |
| 953 | }executed 2030 times by 123 tests: end of blockExecuted 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
- ...
| 2030 |
| 954 | | - |
| 955 | if (antialias) {| TRUE | evaluated 2030 times by 123 testsEvaluated 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
- ...
| | FALSE | evaluated 3 times by 2 testsEvaluated by:- tst_QStaticText
- tst_QWizard
|
| 3-2030 |
| 956 | QFontEngine::SubpixelAntialiasingType subpixelType = QFontEngine::Subpixel_None; | - |
| 957 | if (!(fontDef.styleStrategy & QFont::NoSubpixelAntialias))| TRUE | evaluated 2030 times by 123 testsEvaluated 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
- ...
| | FALSE | never evaluated |
| 0-2030 |
| 958 | subpixelType = subpixelTypeFromMatch(match, useXftConf);executed 2030 times by 123 tests: subpixelType = subpixelTypeFromMatch(match, useXftConf);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
- ...
| 2030 |
| 959 | engine->subpixelType = subpixelType; | - |
| 960 | | - |
| 961 | format = (subpixelType == QFontEngine::Subpixel_None)| TRUE | evaluated 2030 times by 123 testsEvaluated 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
- ...
| | FALSE | never evaluated |
| 0-2030 |
| 962 | ? QFontEngine::Format_A8 | - |
| 963 | : QFontEngine::Format_A32; | - |
| 964 | } elseexecuted 2030 times by 123 tests: end of blockExecuted 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
- ...
| 2030 |
| 965 | format = QFontEngine::Format_Mono;executed 3 times by 2 tests: format = QFontEngine::Format_Mono;Executed by:- tst_QStaticText
- tst_QWizard
| 3 |
| 966 | | - |
| 967 | FcPatternDestroy(match); | - |
| 968 | } elseexecuted 2033 times by 123 tests: end of blockExecuted 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
- ...
| 2033 |
| 969 | format = antialias ? QFontEngine::Format_A8 : QFontEngine::Format_Mono; never executed: format = antialias ? QFontEngine::Format_A8 : QFontEngine::Format_Mono; | TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 970 | | - |
| 971 | FcPatternDestroy(pattern); | - |
| 972 | | - |
| 973 | engine->antialias = antialias; | - |
| 974 | engine->defaultFormat = format; | - |
| 975 | engine->glyphFormat = format; | - |
| 976 | }executed 2033 times by 123 tests: end of blockExecuted 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
- ...
| 2033 |
| 977 | | - |
| 978 | QT_END_NAMESPACE | - |
| | |