Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
12 | | - |
13 | | - |
14 | | - |
15 | | - |
16 | static bool ft_getSfntTable(void *user_data, uint tag, uchar *buffer, uint *length) | - |
17 | { | - |
18 | FT_Face face = (FT_Face)user_data; | - |
19 | | - |
20 | bool result = false; | - |
21 | if ((TRUE | evaluated 2034 times by 111 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| FALSE | evaluated 83 times by 4 testsEvaluated by:- tst_QAccessibility
- tst_QFontDialog
- tst_QFontMetrics
- tst_QTextLayout
|
face->face_flags & ( 1L << 3 ) )TRUE | evaluated 2034 times by 111 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| FALSE | evaluated 83 times by 4 testsEvaluated by:- tst_QAccessibility
- tst_QFontDialog
- tst_QFontMetrics
- tst_QTextLayout
|
) { | 83-2034 |
22 | FT_ULong len = *length; | - |
23 | result = FT_Load_Sfnt_Table(face, tag, 0, buffer, &len) == FT_Err_Ok; | - |
24 | *length = len; | - |
25 | ((!(!result || int(*length) > 0)) ? qt_assert("!result || int(*length) > 0",__FILE__,101) : qt_noop()); | - |
26 | }executed 2034 times by 111 tests: end of block Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 2034 |
27 | | - |
28 | returnexecuted 2117 times by 111 tests: return result; 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
result;executed 2117 times by 111 tests: return result; 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 2117 |
29 | } | - |
30 | | - |
31 | static QFontEngineFT::Glyph emptyGlyph = {0, 0, 0, 0, 0, 0, 0, 0}; | - |
32 | | - |
33 | static const QFontEngine::HintStyle ftInitialDefaultHintStyle = | - |
34 | | - |
35 | | - |
36 | | - |
37 | QFontEngineFT::HintNone; | - |
38 | | - |
39 | | - |
40 | | - |
41 | | - |
42 | class QtFreetypeData | - |
43 | { | - |
44 | public: | - |
45 | QtFreetypeData() | - |
46 | : library(0) | - |
47 | { }executed 136 times by 123 tests: end of block Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 136 |
48 | ~QtFreetypeData(); | - |
49 | | - |
50 | FT_Library library; | - |
51 | QHash<QFontEngine::FaceId, QFreetypeFace *> faces; | - |
52 | }; | - |
53 | | - |
54 | QtFreetypeData::~QtFreetypeData() | - |
55 | { | - |
56 | for (QHash<QFontEngine::FaceId, QFreetypeFace *>::ConstIterator iter = faces.cbegin(); iter != faces.cend()TRUE | evaluated 8 times by 8 testsEvaluated by:- tst_QPainter
- tst_qabstractitemview - unknown status
- tst_qdoublespinbox - unknown status
- tst_qfontdialog - unknown status
- tst_qfontmetrics - unknown status
- tst_qgraphicsitem - unknown status
- tst_qitemdelegate - unknown status
- tst_qlistwidget - unknown status
| FALSE | evaluated 135 times by 124 testsEvaluated by:- tst_QApplication
- tst_QPainter
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- tst_qcomplextext - unknown status
- tst_qcssparser - unknown status
- tst_qdatawidgetmapper - unknown status
- tst_qdatetimeedit - unknown status
- tst_qdialog - unknown status
- tst_qdialogbuttonbox - unknown status
- tst_qdockwidget - unknown status
- ...
|
; ++iter) | 8-135 |
57 | iter.value()->cleanup();executed 8 times by 8 tests: iter.value()->cleanup(); Executed by:- tst_QPainter
- tst_qabstractitemview - unknown status
- tst_qdoublespinbox - unknown status
- tst_qfontdialog - unknown status
- tst_qfontmetrics - unknown status
- tst_qgraphicsitem - unknown status
- tst_qitemdelegate - unknown status
- tst_qlistwidget - unknown status
| 8 |
58 | faces.clear(); | - |
59 | FT_Done_FreeType(library); | - |
60 | library = 0; | - |
61 | }executed 135 times by 124 tests: end of block Executed by:- tst_QApplication
- tst_QPainter
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- tst_qcomplextext - unknown status
- tst_qcssparser - unknown status
- tst_qdatawidgetmapper - unknown status
- tst_qdatetimeedit - unknown status
- tst_qdialog - unknown status
- tst_qdialogbuttonbox - unknown status
- tst_qdockwidget - unknown status
- ...
| 135 |
62 | namespace { namespace Q_QGS_theFreetypeData { typedef QThreadStorage<QtFreetypeData *> Type; QBasicAtomicInt guard = { QtGlobalStatic::Uninitialized }; __attribute__((visibility("hidden"))) inline Type *innerFunction() { struct HolderBase { ~HolderBase() noexcept { if (guard.load() == QtGlobalStatic::InitializedTRUE | evaluated 124 times by 122 testsEvaluated by:- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- tst_qcomplextext - unknown status
- tst_qcssparser - unknown status
- tst_qdatawidgetmapper - unknown status
- tst_qdatetimeedit - unknown status
- tst_qdialog - unknown status
- tst_qdialogbuttonbox - unknown status
- tst_qdockwidget - unknown status
- tst_qdoublespinbox - unknown status
- tst_qerrormessage - unknown status
- ...
| FALSE | never evaluated |
) guard.store(QtGlobalStatic::Destroyed);executed 124 times by 122 tests: guard.store(QtGlobalStatic::Destroyed); Executed by:- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- tst_qcomplextext - unknown status
- tst_qcssparser - unknown status
- tst_qdatawidgetmapper - unknown status
- tst_qdatetimeedit - unknown status
- tst_qdialog - unknown status
- tst_qdialogbuttonbox - unknown status
- tst_qdockwidget - unknown status
- tst_qdoublespinbox - unknown status
- tst_qerrormessage - unknown status
- ...
}executed 124 times by 122 tests: end of block Executed by:- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- tst_qcomplextext - unknown status
- tst_qcssparser - unknown status
- tst_qdatawidgetmapper - unknown status
- tst_qdatetimeedit - unknown status
- tst_qdialog - unknown status
- tst_qdialogbuttonbox - unknown status
- tst_qdockwidget - unknown status
- tst_qdoublespinbox - unknown status
- tst_qerrormessage - unknown status
- ...
}; static struct Holder : public HolderBase { Type value; Holder() noexcept(noexcept(Type ())) : value () { guard.store(QtGlobalStatic::Initialized); } } holder; returnexecuted 3736 times by 238 tests: return &holder.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
- ...
&holder.value;executed 3736 times by 238 tests: return &holder.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
- ...
} } } static QGlobalStatic<QThreadStorage<QtFreetypeData *>, Q_QGS_theFreetypeData::innerFunction, Q_QGS_theFreetypeData::guard> theFreetypeData; | 0-3736 |
63 | | - |
64 | QtFreetypeData *qt_getFreetypeData() | - |
65 | { | - |
66 | QtFreetypeData *&freetypeData = theFreetypeData()->localData(); | - |
67 | if (!freetypeDataTRUE | evaluated 136 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 3600 times by 168 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QFontCache
- tst_QFontComboBox
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGridLayout
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- ...
|
) | 136-3600 |
68 | freetypeData = new QtFreetypeData;executed 136 times by 123 tests: freetypeData = new QtFreetypeData; 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
- ...
| 136 |
69 | returnexecuted 3736 times by 238 tests: return freetypeData; 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
- ...
freetypeData;executed 3736 times by 238 tests: return freetypeData; 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
- ...
| 3736 |
70 | } | - |
71 | | - |
72 | | - |
73 | FT_Library qt_getFreetype() | - |
74 | { | - |
75 | QtFreetypeData *freetypeData = qt_getFreetypeData(); | - |
76 | if (!freetypeData->libraryTRUE | evaluated 21 times by 5 testsEvaluated by:- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
| FALSE | evaluated 23 times by 5 testsEvaluated by:- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
|
) | 21-23 |
77 | FT_Init_FreeType(&freetypeData->library);executed 21 times by 5 tests: FT_Init_FreeType(&freetypeData->library); Executed by:- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
| 21 |
78 | returnexecuted 44 times by 5 tests: return freetypeData->library; Executed by:- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
freetypeData->library;executed 44 times by 5 tests: return freetypeData->library; Executed by:- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
| 44 |
79 | } | - |
80 | | - |
81 | int QFreetypeFace::fsType() const | - |
82 | { | - |
83 | int fsType = 0; | - |
84 | TT_OS2 *os2 = (TT_OS2 *)FT_Get_Sfnt_Table(face, ft_sfnt_os2); | - |
85 | if (os2TRUE | evaluated 1962 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 75 times by 6 testsEvaluated by:- tst_QAccessibility
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QLabel
- tst_QTextLayout
|
) | 75-1962 |
86 | fsType = os2->fsType;executed 1962 times by 123 tests: fsType = os2->fsType; 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
- ...
| 1962 |
87 | returnexecuted 2037 times by 123 tests: return fsType; 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
- ...
fsType;executed 2037 times by 123 tests: return fsType; 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
- ...
| 2037 |
88 | } | - |
89 | | - |
90 | int QFreetypeFace::getPointInOutline(glyph_t glyph, int flags, quint32 point, QFixed *xpos, QFixed *ypos, quint32 *nPoints) | - |
91 | { | - |
92 | if (int error = FT_Load_Glyph(face, glyph, flags)TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
93 | return never executed: return error; error;never executed: return error; | 0 |
94 | | - |
95 | if (face->glyph->format != FT_GLYPH_FORMAT_OUTLINETRUE | never evaluated | FALSE | never evaluated |
) | 0 |
96 | return never executed: return Err_Invalid_SubTable; Err_Invalid_SubTable;never executed: return Err_Invalid_SubTable; | 0 |
97 | | - |
98 | *nPoints = face->glyph->outline.n_points; | - |
99 | if (!(*nPoints)TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
100 | return never executed: return Err_Ok; Err_Ok;never executed: return Err_Ok; | 0 |
101 | | - |
102 | if (point > *nPointsTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
103 | return never executed: return Err_Invalid_SubTable; Err_Invalid_SubTable;never executed: return Err_Invalid_SubTable; | 0 |
104 | | - |
105 | *xpos = QFixed::fromFixed(face->glyph->outline.points[point].x); | - |
106 | *ypos = QFixed::fromFixed(face->glyph->outline.points[point].y); | - |
107 | | - |
108 | return never executed: return Err_Ok; Err_Ok;never executed: return Err_Ok; | 0 |
109 | } | - |
110 | | - |
111 | bool QFreetypeFace::isScalableBitmap() const | - |
112 | { | - |
113 | | - |
114 | returnexecuted 319436 times by 115 tests: return !( face->face_flags & ( 1L << 0 ) ) && ( face->face_flags & ( 1L << 14 ) ); 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
- ...
!( face->face_flags & ( 1L << 0 ) ) && ( face->face_flags & ( 1L << 14 ) );executed 319436 times by 115 tests: return !( face->face_flags & ( 1L << 0 ) ) && ( face->face_flags & ( 1L << 14 ) ); 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
- ...
| 319436 |
115 | | - |
116 | | - |
117 | | - |
118 | } | - |
119 | | - |
120 | extern QByteArray qt_fontdata_from_index(int); | - |
121 | QFreetypeFace *QFreetypeFace::getFace(const QFontEngine::FaceId &face_id, | - |
122 | const QByteArray &fontData) | - |
123 | { | - |
124 | if (face_id.filename.isEmpty()TRUE | evaluated 1250 times by 1 test | 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
- ...
|
&& fontData.isEmpty()TRUE | never evaluated | FALSE | evaluated 1250 times by 1 test |
) | 0-1250 |
125 | return never executed: return 0; 0;never executed: return 0; | 0 |
126 | | - |
127 | QtFreetypeData *freetypeData = qt_getFreetypeData(); | - |
128 | if (!freetypeData->libraryTRUE | evaluated 1353 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 | evaluated 682 times by 50 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFont
- tst_QFontCache
- tst_QFontComboBox
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGridLayout
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- tst_QLabel
- ...
|
) | 682-1353 |
129 | FT_Init_FreeType(&freetypeData->library);executed 1353 times by 122 tests: FT_Init_FreeType(&freetypeData->library); 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
- ...
| 1353 |
130 | | - |
131 | QFreetypeFace *freetype = freetypeData->faces.value(face_id, 0); | - |
132 | if (freetypeTRUE | evaluated 367 times by 24 testsEvaluated by:- tst_QAbstractItemView
- tst_QComboBox
- tst_QFont
- tst_QFontCache
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGridLayout
- tst_QMenu
- tst_QPainter
- tst_QPlainTextEdit
- tst_QRawFont
- tst_QStaticText
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextLayout
- tst_QToolTip
- tst_QTreeWidget
- tst_QWizard
| FALSE | evaluated 1668 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
- ...
|
) { | 367-1668 |
133 | freetype->ref.ref(); | - |
134 | }executed 367 times by 24 tests: end of block Executed by:- tst_QAbstractItemView
- tst_QComboBox
- tst_QFont
- tst_QFontCache
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGridLayout
- tst_QMenu
- tst_QPainter
- tst_QPlainTextEdit
- tst_QRawFont
- tst_QStaticText
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextLayout
- tst_QToolTip
- tst_QTreeWidget
- tst_QWizard
else { | 367 |
135 | QScopedPointer<QFreetypeFace> newFreetype(new QFreetypeFace); | - |
136 | FT_Face face; | - |
137 | if (!face_id.filename.isEmpty()TRUE | evaluated 418 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 1250 times by 1 test |
) { | 418-1250 |
138 | QString fileName = QFile::decodeName(face_id.filename); | - |
139 | if (face_id.filename.startsWith(":qmemoryfonts/")TRUE | never evaluated | FALSE | evaluated 418 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-418 |
140 | | - |
141 | QByteArray idx = face_id.filename; | - |
142 | idx.remove(0, 14); | - |
143 | bool ok = false; | - |
144 | newFreetype->fontData = qt_fontdata_from_index(idx.toInt(&ok)); | - |
145 | if (!okTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
146 | newFreetype->fontData = QByteArray(); never executed: newFreetype->fontData = QByteArray(); | 0 |
147 | } never executed: end of block else if (!QFileInfo(fileName).isNativePath()TRUE | evaluated 21 times by 4 testsEvaluated by:- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
| FALSE | evaluated 397 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-397 |
148 | QFile file(fileName); | - |
149 | if (!file.open(QIODevice::ReadOnly)TRUE | never evaluated | FALSE | evaluated 21 times by 4 testsEvaluated by:- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
|
) { | 0-21 |
150 | return never executed: return 0; 0;never executed: return 0; | 0 |
151 | } | - |
152 | newFreetype->fontData = file.readAll(); | - |
153 | }executed 21 times by 4 tests: end of block Executed by:- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
| 21 |
154 | }executed 418 times by 123 tests: end of block Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
else { | 418 |
155 | newFreetype->fontData = fontData; | - |
156 | }executed 1250 times by 1 test: end of block | 1250 |
157 | if (!newFreetype->fontData.isEmpty()TRUE | evaluated 1271 times by 4 testsEvaluated by:- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
| FALSE | evaluated 397 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
- ...
|
) { | 397-1271 |
158 | if (FT_New_Memory_Face(freetypeData->library, (const FT_Byte *)newFreetype->fontData.constData(), newFreetype->fontData.size(), face_id.index, &face)TRUE | evaluated 2 times by 1 test | FALSE | evaluated 1269 times by 4 testsEvaluated by:- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
|
) { | 2-1269 |
159 | returnexecuted 2 times by 1 test: return 0; 0;executed 2 times by 1 test: return 0; | 2 |
160 | } | - |
161 | }executed 1269 times by 4 tests: end of block Executed by:- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
else if (FT_New_Face(freetypeData->library, face_id.filename, face_id.index, &face)TRUE | never evaluated | FALSE | evaluated 397 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-1269 |
162 | return never executed: return 0; 0;never executed: return 0; | 0 |
163 | } | - |
164 | newFreetype->face = face; | - |
165 | | - |
166 | newFreetype->ref.store(1); | - |
167 | newFreetype->xsize = 0; | - |
168 | newFreetype->ysize = 0; | - |
169 | newFreetype->matrix.xx = 0x10000; | - |
170 | newFreetype->matrix.yy = 0x10000; | - |
171 | newFreetype->matrix.xy = 0; | - |
172 | newFreetype->matrix.yx = 0; | - |
173 | newFreetype->unicode_map = 0; | - |
174 | newFreetype->symbol_map = 0; | - |
175 | | - |
176 | memset(newFreetype->cmapCache, 0, sizeof(newFreetype->cmapCache)); | - |
177 | | - |
178 | for (int i = 0; i < newFreetype->face->num_charmapsTRUE | evaluated 6588 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 1666 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
- ...
|
; ++i) { | 1666-6588 |
179 | FT_CharMap cm = newFreetype->face->charmaps[i]; | - |
180 | switch(cm->encoding) { | - |
181 | caseexecuted 4969 times by 123 tests: case FT_ENCODING_UNICODE: 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
- ...
FT_ENCODING_UNICODE:executed 4969 times by 123 tests: case FT_ENCODING_UNICODE: 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
- ...
| 4969 |
182 | newFreetype->unicode_map = cm; | - |
183 | break;executed 4969 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
- ...
| 4969 |
184 | caseexecuted 1543 times by 123 tests: case FT_ENCODING_APPLE_ROMAN: 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
- ...
FT_ENCODING_APPLE_ROMAN:executed 1543 times by 123 tests: case FT_ENCODING_APPLE_ROMAN: 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
- ...
| 1543 |
185 | case never executed: case FT_ENCODING_ADOBE_LATIN_1: FT_ENCODING_ADOBE_LATIN_1:never executed: case FT_ENCODING_ADOBE_LATIN_1: | 0 |
186 | if (!newFreetype->unicode_mapTRUE | evaluated 11 times by 3 testsEvaluated by:- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
| FALSE | evaluated 1532 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
- ...
|
|| newFreetype->unicode_map->encoding != FT_ENCODING_UNICODETRUE | never evaluated | FALSE | evaluated 1532 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-1532 |
187 | newFreetype->unicode_map = cm;executed 11 times by 3 tests: newFreetype->unicode_map = cm; Executed by:- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
| 11 |
188 | break;executed 1543 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
- ...
| 1543 |
189 | caseexecuted 6 times by 3 tests: case FT_ENCODING_ADOBE_CUSTOM: Executed by:- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
FT_ENCODING_ADOBE_CUSTOM:executed 6 times by 3 tests: case FT_ENCODING_ADOBE_CUSTOM: Executed by:- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
| 6 |
190 | case never executed: case FT_ENCODING_MS_SYMBOL: FT_ENCODING_MS_SYMBOL:never executed: case FT_ENCODING_MS_SYMBOL: | 0 |
191 | if (!newFreetype->symbol_mapTRUE | evaluated 6 times by 3 testsEvaluated by:- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
| FALSE | never evaluated |
) | 0-6 |
192 | newFreetype->symbol_map = cm;executed 6 times by 3 tests: newFreetype->symbol_map = cm; Executed by:- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
| 6 |
193 | break;executed 6 times by 3 tests: break; Executed by:- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
| 6 |
194 | defaultexecuted 70 times by 6 tests: default: Executed by:- tst_QAccessibility
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QLabel
- tst_QTextLayout
:executed 70 times by 6 tests: default: Executed by:- tst_QAccessibility
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QLabel
- tst_QTextLayout
| 70 |
195 | break;executed 70 times by 6 tests: break; Executed by:- tst_QAccessibility
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QLabel
- tst_QTextLayout
| 70 |
196 | } | - |
197 | } | - |
198 | | - |
199 | if (!( newFreetype->face->face_flags & ( 1L << 0 ) )TRUE | never evaluated | FALSE | evaluated 1666 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
- ...
|
&& newFreetype->face->num_fixed_sizes == 1TRUE | never evaluated | FALSE | never evaluated |
) | 0-1666 |
200 | FT_Set_Char_Size(face, newFreetype->face->available_sizes[0].x_ppem, newFreetype->face->available_sizes[0].y_ppem, 0, 0); never executed: FT_Set_Char_Size(face, newFreetype->face->available_sizes[0].x_ppem, newFreetype->face->available_sizes[0].y_ppem, 0, 0); | 0 |
201 | | - |
202 | FT_Set_Charmap(newFreetype->face, newFreetype->unicode_map); | - |
203 | if (true) { | - |
204 | freetypeData->faces.insert(face_id, newFreetype.data()); | - |
205 | }executed 1666 times by 123 tests: end of block Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
else {dead code: { newFreetype.take()->release(face_id); qt_noop(); } | - |
206 | newFreetype.take()->release(face_id); dead code: { newFreetype.take()->release(face_id); qt_noop(); } | - |
207 | | - |
208 | qt_noop(); dead code: { newFreetype.take()->release(face_id); qt_noop(); } | - |
209 | } dead code: { newFreetype.take()->release(face_id); qt_noop(); } | - |
210 | freetype = newFreetype.take(); | - |
211 | }executed 1666 times by 123 tests: end of block Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 1666 |
212 | returnexecuted 2033 times by 123 tests: return freetype; 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
- ...
freetype;executed 2033 times by 123 tests: return freetype; 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 |
213 | } | - |
214 | | - |
215 | void QFreetypeFace::cleanup() | - |
216 | { | - |
217 | hbFace.reset(); | - |
218 | FT_Done_Face(face); | - |
219 | face = 0; | - |
220 | }executed 1665 times by 129 tests: end of block Executed by:- tst_QApplication
- tst_QFontCache
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QPainter
- tst_QRawFont
- tst_QTextLayout
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- ...
| 1665 |
221 | | - |
222 | void QFreetypeFace::release(const QFontEngine::FaceId &face_id) | - |
223 | { | - |
224 | if (!ref.deref()TRUE | evaluated 1660 times by 126 testsEvaluated by:- tst_QApplication
- tst_QFontCache
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QPainter
- tst_QRawFont
- tst_QTextLayout
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- ...
| FALSE | evaluated 371 times by 26 testsEvaluated by:- tst_QFontCache
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
- tst_qabstractitemview - unknown status
- tst_qcombobox - unknown status
- tst_qfont - unknown status
- tst_qfontcombobox - unknown status
- tst_qfontdialog - unknown status
- tst_qgraphicsitem - unknown status
- tst_qgraphicsproxywidget - unknown status
- tst_qgridlayout - unknown status
- tst_qmenu - unknown status
- tst_qpainter - unknown status
- tst_qplaintextedit - unknown status
- tst_qrawfont - unknown status
- tst_qstatictext - unknown status
- tst_qstyle - unknown status
- tst_qstylesheetstyle - unknown status
- tst_qtextdocumentlayout - unknown status
- tst_qtextedit - unknown status
- tst_qtextlayout - unknown status
- tst_qtooltip - unknown status
- tst_qtreewidget - unknown status
- ...
|
) { | 371-1660 |
225 | if (faceTRUE | evaluated 1657 times by 125 testsEvaluated by:- tst_QApplication
- tst_QFontCache
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
- tst_QTextLayout
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- tst_qcomplextext - unknown status
- ...
| FALSE | evaluated 3 times by 3 testsEvaluated by:- tst_QPainter
- tst_qfontdialog - unknown status
- tst_qfontmetrics - unknown status
|
) { | 3-1657 |
226 | QtFreetypeData *freetypeData = qt_getFreetypeData(); | - |
227 | | - |
228 | cleanup(); | - |
229 | | - |
230 | if (freetypeData->faces.contains(face_id)TRUE | evaluated 1657 times by 125 testsEvaluated by:- tst_QApplication
- tst_QFontCache
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
- tst_QTextLayout
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- tst_qcomplextext - unknown status
- ...
| FALSE | never evaluated |
) | 0-1657 |
231 | freetypeData->faces.take(face_id);executed 1657 times by 125 tests: freetypeData->faces.take(face_id); Executed by:- tst_QApplication
- tst_QFontCache
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
- tst_QTextLayout
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- tst_qcomplextext - unknown status
- ...
| 1657 |
232 | | - |
233 | if (freetypeData->faces.isEmpty()TRUE | evaluated 1365 times by 120 testsEvaluated by:- tst_QApplication
- tst_QFontCache
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- tst_qcomplextext - unknown status
- tst_qcssparser - unknown status
- tst_qdatawidgetmapper - unknown status
- ...
| FALSE | evaluated 292 times by 48 testsEvaluated by:- tst_QFontCache
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
- tst_QTextLayout
- tst_languagechange - unknown status
- tst_qabstractitemview - unknown status
- tst_qaccessibility - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcssparser - unknown status
- tst_qdatetimeedit - unknown status
- tst_qfiledialog - unknown status
- tst_qfiledialog2 - unknown status
- tst_qfilesystemmodel - unknown status
- tst_qfont - unknown status
- tst_qfontcombobox - unknown status
- tst_qfontdialog - unknown status
- tst_qfontmetrics - unknown status
- tst_qgraphicsproxywidget - unknown status
- tst_qheaderview - unknown status
- tst_qitemdelegate - unknown status
- ...
|
) { | 292-1365 |
234 | FT_Done_FreeType(freetypeData->library); | - |
235 | freetypeData->library = 0; | - |
236 | }executed 1365 times by 120 tests: end of block Executed by:- tst_QApplication
- tst_QFontCache
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- tst_qcomplextext - unknown status
- tst_qcssparser - unknown status
- tst_qdatawidgetmapper - unknown status
- ...
| 1365 |
237 | }executed 1657 times by 125 tests: end of block Executed by:- tst_QApplication
- tst_QFontCache
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
- tst_QTextLayout
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- tst_qcomplextext - unknown status
- ...
| 1657 |
238 | | - |
239 | delete this; | - |
240 | }executed 1660 times by 126 tests: end of block Executed by:- tst_QApplication
- tst_QFontCache
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QPainter
- tst_QRawFont
- tst_QTextLayout
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- ...
| 1660 |
241 | }executed 2031 times by 127 tests: end of block Executed by:- tst_QApplication
- tst_QFontCache
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QPainter
- tst_QRawFont
- tst_QTextLayout
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- ...
| 2031 |
242 | | - |
243 | | - |
244 | void QFreetypeFace::computeSize(const QFontDef &fontDef, int *xsize, int *ysize, bool *outline_drawing, QFixed *scalableBitmapScaleFactor) | - |
245 | { | - |
246 | *ysize = qRound(fontDef.pixelSize * 64); | - |
247 | *xsize = *ysize * fontDef.stretch / 100; | - |
248 | *scalableBitmapScaleFactor = 1; | - |
249 | *outline_drawing = false; | - |
250 | | - |
251 | if (!(face->face_flags & ( 1L << 0 ))TRUE | never evaluated | FALSE | evaluated 2037 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-2037 |
252 | int best = 0; | - |
253 | if (!isScalableBitmap()TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
254 | | - |
255 | | - |
256 | | - |
257 | | - |
258 | for (int i = 1; i < face->num_fixed_sizesTRUE | never evaluated | FALSE | never evaluated |
; i++) { | 0 |
259 | if (qAbs(*ysize - face->available_sizes[i].y_ppem) <TRUE | never evaluated | FALSE | never evaluated |
| 0 |
260 | qAbs(*ysize - face->available_sizes[best].y_ppem)TRUE | never evaluated | FALSE | never evaluated |
|| | 0 |
261 | (qAbs(*ysize - face->available_sizes[i].y_ppem) ==TRUE | never evaluated | FALSE | never evaluated |
| 0 |
262 | qAbs(*ysize - face->available_sizes[best].y_ppem)TRUE | never evaluated | FALSE | never evaluated |
&& | 0 |
263 | qAbs(*xsize - face->available_sizes[i].x_ppem) <TRUE | never evaluated | FALSE | never evaluated |
| 0 |
264 | qAbs(*xsize - face->available_sizes[best].x_ppem)TRUE | never evaluated | FALSE | never evaluated |
)) { | 0 |
265 | best = i; | - |
266 | } never executed: end of block | 0 |
267 | } never executed: end of block | 0 |
268 | } never executed: end of block else { | 0 |
269 | | - |
270 | for (int i = 1; i < face->num_fixed_sizesTRUE | never evaluated | FALSE | never evaluated |
; i++) { | 0 |
271 | if (face->available_sizes[i].y_ppem < *ysizeTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
272 | if (face->available_sizes[i].y_ppem > face->available_sizes[best].y_ppemTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
273 | best = i; never executed: best = i; | 0 |
274 | } never executed: end of block else if (face->available_sizes[best].y_ppem < *ysizeTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
275 | best = i; | - |
276 | } never executed: end of block else if (face->available_sizes[i].y_ppem < face->available_sizes[best].y_ppemTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
277 | best = i; | - |
278 | } never executed: end of block | 0 |
279 | } never executed: end of block | 0 |
280 | } never executed: end of block | 0 |
281 | | - |
282 | | - |
283 | | - |
284 | if (FT_Select_Size(face, best) == 0TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
285 | if (isScalableBitmap()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
286 | * never executed: *scalableBitmapScaleFactor = QFixed::fromReal((qreal)fontDef.pixelSize / face->available_sizes[best].height); scalableBitmapScaleFactor = QFixed::fromReal((qreal)fontDef.pixelSize / face->available_sizes[best].height);never executed: *scalableBitmapScaleFactor = QFixed::fromReal((qreal)fontDef.pixelSize / face->available_sizes[best].height); | 0 |
287 | *xsize = face->available_sizes[best].x_ppem; | - |
288 | *ysize = face->available_sizes[best].y_ppem; | - |
289 | } never executed: end of block else { | 0 |
290 | *xsize = *ysize = 0; | - |
291 | } never executed: end of block | 0 |
292 | } else { | - |
293 | *outline_drawing = (*TRUE | evaluated 84 times by 5 testsEvaluated by:- tst_QFontDatabase
- tst_QFontDialog
- tst_QPainter
- tst_QTextLayout
- tst_QToolTip
| FALSE | evaluated 1953 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
- ...
|
xsize > (64<<6)TRUE | evaluated 84 times by 5 testsEvaluated by:- tst_QFontDatabase
- tst_QFontDialog
- tst_QPainter
- tst_QTextLayout
- tst_QToolTip
| FALSE | evaluated 1953 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 1953 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
- ...
|
ysize > (64<<6)TRUE | never evaluated | FALSE | evaluated 1953 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-1953 |
294 | }executed 2037 times by 123 tests: end of block Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 2037 |
295 | } | - |
296 | | - |
297 | QFontEngine::Properties QFreetypeFace::properties() const | - |
298 | { | - |
299 | QFontEngine::Properties p; | - |
300 | p.postscriptName = FT_Get_Postscript_Name(face); | - |
301 | PS_FontInfoRec font_info; | - |
302 | if (FT_Get_PS_Font_Info(face, &font_info) == 0TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
303 | p.copyright = font_info.notice; never executed: p.copyright = font_info.notice; | 0 |
304 | if ((TRUE | never evaluated | FALSE | never evaluated |
face->face_flags & ( 1L << 0 ) )TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
305 | p.ascent = face->ascender; | - |
306 | p.descent = -face->descender; | - |
307 | p.leading = face->height - face->ascender + face->descender; | - |
308 | p.emSquare = face->units_per_EM; | - |
309 | p.boundingBox = QRectF(face->bbox.xMin, -face->bbox.yMax, | - |
310 | face->bbox.xMax - face->bbox.xMin, | - |
311 | face->bbox.yMax - face->bbox.yMin); | - |
312 | } never executed: end of block else { | 0 |
313 | p.ascent = QFixed::fromFixed(face->size->metrics.ascender); | - |
314 | p.descent = QFixed::fromFixed(-face->size->metrics.descender); | - |
315 | p.leading = QFixed::fromFixed(face->size->metrics.height - face->size->metrics.ascender + face->size->metrics.descender); | - |
316 | p.emSquare = face->size->metrics.y_ppem; | - |
317 | | - |
318 | p.boundingBox = QRectF(0, -p.ascent.toReal(), | - |
319 | face->size->metrics.max_advance/64, (p.ascent + p.descent).toReal() ); | - |
320 | } never executed: end of block | 0 |
321 | p.italicAngle = 0; | - |
322 | p.capHeight = p.ascent; | - |
323 | p.lineWidth = face->underline_thickness; | - |
324 | return never executed: return p; p;never executed: return p; | 0 |
325 | } | - |
326 | | - |
327 | bool QFreetypeFace::getSfntTable(uint tag, uchar *buffer, uint *length) const | - |
328 | { | - |
329 | return never executed: return ft_getSfntTable(face, tag, buffer, length); ft_getSfntTable(face, tag, buffer, length);never executed: return ft_getSfntTable(face, tag, buffer, length); | 0 |
330 | } | - |
331 | static void scaleOutline(FT_Face face, FT_GlyphSlot g, FT_Fixed x_scale, FT_Fixed y_scale) | - |
332 | { | - |
333 | x_scale = FT_MulDiv(x_scale, 1 << 10, face->units_per_EM); | - |
334 | y_scale = FT_MulDiv(y_scale, 1 << 10, face->units_per_EM); | - |
335 | FT_Vector *p = g->outline.points; | - |
336 | const FT_Vector *e = p + g->outline.n_points; | - |
337 | while (p < eTRUE | evaluated 3260 times by 6 testsEvaluated by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| FALSE | evaluated 163 times by 6 testsEvaluated by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
|
) { | 163-3260 |
338 | p->x = FT_MulFix_x86_64( p->x, x_scale ); | - |
339 | p->y = FT_MulFix_x86_64( p->y, y_scale ); | - |
340 | ++p; | - |
341 | }executed 3260 times by 6 tests: end of block Executed by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| 3260 |
342 | }executed 163 times by 6 tests: end of block Executed by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| 163 |
343 | | - |
344 | | - |
345 | void QFreetypeFace::addGlyphToPath(FT_Face face, FT_GlyphSlot g, const QFixedPoint &point, QPainterPath *path, FT_Fixed x_scale, FT_Fixed y_scale) | - |
346 | { | - |
347 | const qreal factor = 1/64.; | - |
348 | scaleOutline(face, g, x_scale, y_scale); | - |
349 | | - |
350 | QPointF cp = point.toPointF(); | - |
351 | | - |
352 | | - |
353 | int i = 0; | - |
354 | for (int j = 0; j < g->outline.n_contoursTRUE | evaluated 216 times by 6 testsEvaluated by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| FALSE | evaluated 163 times by 6 testsEvaluated by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
|
; ++j) { | 163-216 |
355 | int last_point = g->outline.contours[j]; | - |
356 | while (false) QMessageLogger().noDebug() << "contour:" << i << "to" << last_point; dead code: QMessageLogger().noDebug() << "contour:" << i << "to" << last_point; | - |
357 | QPointF start = QPointF(g->outline.points[i].x*factor, -g->outline.points[i].y*factor); | - |
358 | if (!(g->outline.tags[i] & 1)TRUE | never evaluated | FALSE | evaluated 216 times by 6 testsEvaluated by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
|
) { | 0-216 |
359 | if (!(g->outline.tags[last_point] & 1)TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
360 | while (false) QMessageLogger().noDebug() << " start and end point are not on curve"; dead code: QMessageLogger().noDebug() << " start and end point are not on curve"; | - |
361 | start = (QPointF(g->outline.points[last_point].x*factor, | - |
362 | -g->outline.points[last_point].y*factor) + start) / 2.0; | - |
363 | } never executed: end of block else { | 0 |
364 | while (false) QMessageLogger().noDebug() << " end point is on curve, start is not"; dead code: QMessageLogger().noDebug() << " end point is on curve, start is not"; | - |
365 | start = QPointF(g->outline.points[last_point].x*factor, | - |
366 | -g->outline.points[last_point].y*factor); | - |
367 | } never executed: end of block | 0 |
368 | --i; | - |
369 | } never executed: end of block | 0 |
370 | start += cp; | - |
371 | while (false) QMessageLogger().noDebug() << " start at" << start; dead code: QMessageLogger().noDebug() << " start at" << start; | - |
372 | | - |
373 | path->moveTo(start); | - |
374 | QPointF c[4]; | - |
375 | c[0] = start; | - |
376 | int n = 1; | - |
377 | while (i < last_pointTRUE | evaluated 3818 times by 6 testsEvaluated by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| FALSE | evaluated 216 times by 6 testsEvaluated by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
|
) { | 216-3818 |
378 | ++i; | - |
379 | c[n] = cp + QPointF(g->outline.points[i].x*factor, -g->outline.points[i].y*factor); | - |
380 | while (false) QMessageLogger().noDebug() << " " << i << c[n] << "tag =" << (int)g->outline.tags[i] dead code: QMessageLogger().noDebug() << " " << i << c[n] << "tag =" << (int)g->outline.tags[i] << ": on curve =" << (bool)(g->outline.tags[i] & 1); | - |
381 | << ": on curve =" << (bool)(g->outline.tags[i] & 1); dead code: QMessageLogger().noDebug() << " " << i << c[n] << "tag =" << (int)g->outline.tags[i] << ": on curve =" << (bool)(g->outline.tags[i] & 1); | - |
382 | ++n; | - |
383 | switch (g->outline.tags[i] & 3) { | - |
384 | case never executed: case 2: 2:never executed: case 2: | 0 |
385 | | - |
386 | if (n < 4TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
387 | continue; never executed: continue; | 0 |
388 | c[3] = (c[3] + c[2])/2; | - |
389 | --i; | - |
390 | break; never executed: break; | 0 |
391 | caseexecuted 2322 times by 6 tests: case 0: Executed by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
0:executed 2322 times by 6 tests: case 0: Executed by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| 2322 |
392 | | - |
393 | if (n < 3TRUE | evaluated 1548 times by 6 testsEvaluated by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| FALSE | evaluated 774 times by 6 testsEvaluated by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
|
) | 774-1548 |
394 | continue;executed 1548 times by 6 tests: continue; Executed by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| 1548 |
395 | c[3] = (c[1] + c[2])/2; | - |
396 | c[2] = (2*c[1] + c[3])/3; | - |
397 | c[1] = (2*c[1] + c[0])/3; | - |
398 | --i; | - |
399 | break;executed 774 times by 6 tests: break; Executed by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| 774 |
400 | caseexecuted 1496 times by 6 tests: case 1: Executed by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
1:executed 1496 times by 6 tests: case 1: Executed by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| 1496 |
401 | case never executed: case 3: 3:never executed: case 3: | 0 |
402 | if (n == 2TRUE | evaluated 834 times by 6 testsEvaluated by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| FALSE | evaluated 662 times by 6 testsEvaluated by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
|
) { | 662-834 |
403 | while (false) QMessageLogger().noDebug() << " lineTo" << c[1]; dead code: QMessageLogger().noDebug() << " lineTo" << c[1]; | - |
404 | path->lineTo(c[1]); | - |
405 | c[0] = c[1]; | - |
406 | n = 1; | - |
407 | continue;executed 834 times by 6 tests: continue; Executed by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| 834 |
408 | } else if (n == 3TRUE | evaluated 662 times by 6 testsEvaluated by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| FALSE | never evaluated |
) { | 0-662 |
409 | c[3] = c[2]; | - |
410 | c[2] = (2*c[1] + c[3])/3; | - |
411 | c[1] = (2*c[1] + c[0])/3; | - |
412 | }executed 662 times by 6 tests: end of block Executed by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| 662 |
413 | break;executed 662 times by 6 tests: break; Executed by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| 662 |
414 | } | - |
415 | while (false) QMessageLogger().noDebug() << " cubicTo" << c[1] << c[2] << c[3]; dead code: QMessageLogger().noDebug() << " cubicTo" << c[1] << c[2] << c[3]; | - |
416 | path->cubicTo(c[1], c[2], c[3]); | - |
417 | c[0] = c[3]; | - |
418 | n = 1; | - |
419 | }executed 1436 times by 6 tests: end of block Executed by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| 1436 |
420 | | - |
421 | if (n == 1TRUE | evaluated 104 times by 6 testsEvaluated by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| FALSE | evaluated 112 times by 5 testsEvaluated by:- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
|
) { | 104-112 |
422 | while (false) QMessageLogger().noDebug() << " closeSubpath"; dead code: QMessageLogger().noDebug() << " closeSubpath"; | - |
423 | path->closeSubpath(); | - |
424 | }executed 104 times by 6 tests: end of block Executed by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
else { | 104 |
425 | c[3] = start; | - |
426 | if (n == 2TRUE | evaluated 112 times by 5 testsEvaluated by:- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| FALSE | never evaluated |
) { | 0-112 |
427 | c[2] = (2*c[1] + c[3])/3; | - |
428 | c[1] = (2*c[1] + c[0])/3; | - |
429 | }executed 112 times by 5 tests: end of block Executed by:- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| 112 |
430 | while (false) QMessageLogger().noDebug() << " close cubicTo" << c[1] << c[2] << c[3]; dead code: QMessageLogger().noDebug() << " close cubicTo" << c[1] << c[2] << c[3]; | - |
431 | path->cubicTo(c[1], c[2], c[3]); | - |
432 | }executed 112 times by 5 tests: end of block Executed by:- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| 112 |
433 | ++i; | - |
434 | }executed 216 times by 6 tests: end of block Executed by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| 216 |
435 | }executed 163 times by 6 tests: end of block Executed by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| 163 |
436 | | - |
437 | extern void qt_addBitmapToPath(qreal x0, qreal y0, const uchar *image_data, int bpl, int w, int h, QPainterPath *path); | - |
438 | | - |
439 | void QFreetypeFace::addBitmapToPath(FT_GlyphSlot slot, const QFixedPoint &point, QPainterPath *path) | - |
440 | { | - |
441 | if (slot->format != FT_GLYPH_FORMAT_BITMAPTRUE | never evaluated | FALSE | never evaluated |
| 0 |
442 | || slot->bitmap.pixel_mode != FT_PIXEL_MODE_MONOTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
443 | return; never executed: return; | 0 |
444 | | - |
445 | QPointF cp = point.toPointF(); | - |
446 | qt_addBitmapToPath(cp.x() + ((slot->metrics.horiBearingX) >> 6), cp.y() - ((slot->metrics.horiBearingY) >> 6), | - |
447 | slot->bitmap.buffer, slot->bitmap.pitch, slot->bitmap.width, slot->bitmap.rows, path); | - |
448 | } never executed: end of block | 0 |
449 | | - |
450 | QFontEngineFT::Glyph::~Glyph() | - |
451 | { | - |
452 | delete [] data; | - |
453 | }executed 11797 times by 120 tests: end of block Executed by:- tst_QApplication
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsView
- tst_QPainter
- tst_QRawFont
- tst_QTextLayout
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- ...
| 11797 |
454 | | - |
455 | struct LcdFilterDummy | - |
456 | { | - |
457 | static inline void filterPixel(uchar &, uchar &, uchar &) | - |
458 | {} | - |
459 | }; | - |
460 | | - |
461 | struct LcdFilterLegacy | - |
462 | { | - |
463 | static inline void filterPixel(uchar &red, uchar &green, uchar &blue) | - |
464 | { | - |
465 | uint r = red, g = green, b = blue; | - |
466 | | - |
467 | red = (r * uint(65538 * 9/13) + g * uint(65538 * 1/6) + b * uint(65538 * 1/13)) / 65536; | - |
468 | green = (r * uint(65538 * 3/13) + g * uint(65538 * 4/6) + b * uint(65538 * 3/13)) / 65536; | - |
469 | blue = (r * uint(65538 * 1/13) + g * uint(65538 * 1/6) + b * uint(65538 * 9/13)) / 65536; | - |
470 | } never executed: end of block | 0 |
471 | }; | - |
472 | | - |
473 | template <typename LcdFilter> | - |
474 | static void convertRGBToARGB_helper(const uchar *src, uint *dst, int width, int height, int src_pitch, bool bgr) | - |
475 | { | - |
476 | const int offs = bgr ? -1 : 1; | - |
477 | const int w = width * 3; | - |
478 | while (height--TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
479 | uint *dd = dst; | - |
480 | for (int x = 0; x < wTRUE | never evaluated | FALSE | never evaluated |
; x += 3) { | 0 |
481 | uchar red = src[x + 1 - offs]; | - |
482 | uchar green = src[x + 1]; | - |
483 | uchar blue = src[x + 1 + offs]; | - |
484 | LcdFilter::filterPixel(red, green, blue); | - |
485 | | - |
486 | *dd++ = (green << 24) | (red << 16) | (green << 8) | blue; | - |
487 | } never executed: end of block | 0 |
488 | dst += width; | - |
489 | src += src_pitch; | - |
490 | } never executed: end of block | 0 |
491 | } never executed: end of block | 0 |
492 | | - |
493 | static inline void convertRGBToARGB(const uchar *src, uint *dst, int width, int height, int src_pitch, bool bgr, bool legacyFilter) | - |
494 | { | - |
495 | if (!legacyFilterTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
496 | convertRGBToARGB_helper<LcdFilterDummy>(src, dst, width, height, src_pitch, bgr); never executed: convertRGBToARGB_helper<LcdFilterDummy>(src, dst, width, height, src_pitch, bgr); | 0 |
497 | else | - |
498 | convertRGBToARGB_helper<LcdFilterLegacy>(src, dst, width, height, src_pitch, bgr); never executed: convertRGBToARGB_helper<LcdFilterLegacy>(src, dst, width, height, src_pitch, bgr); | 0 |
499 | } | - |
500 | | - |
501 | template <typename LcdFilter> | - |
502 | static void convertRGBToARGB_V_helper(const uchar *src, uint *dst, int width, int height, int src_pitch, bool bgr) | - |
503 | { | - |
504 | const int offs = bgr ? -src_pitch : src_pitch; | - |
505 | while (height--TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
506 | for (int x = 0; x < widthTRUE | never evaluated | FALSE | never evaluated |
; x++) { | 0 |
507 | uchar red = src[x + src_pitch - offs]; | - |
508 | uchar green = src[x + src_pitch]; | - |
509 | uchar blue = src[x + src_pitch + offs]; | - |
510 | LcdFilter::filterPixel(red, green, blue); | - |
511 | | - |
512 | *dst++ = (green << 24) | (red << 16) | (green << 8) | blue; | - |
513 | } never executed: end of block | 0 |
514 | src += 3*src_pitch; | - |
515 | } never executed: end of block | 0 |
516 | } never executed: end of block | 0 |
517 | | - |
518 | static inline void convertRGBToARGB_V(const uchar *src, uint *dst, int width, int height, int src_pitch, bool bgr, bool legacyFilter) | - |
519 | { | - |
520 | if (!legacyFilterTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
521 | convertRGBToARGB_V_helper<LcdFilterDummy>(src, dst, width, height, src_pitch, bgr); never executed: convertRGBToARGB_V_helper<LcdFilterDummy>(src, dst, width, height, src_pitch, bgr); | 0 |
522 | else | - |
523 | convertRGBToARGB_V_helper<LcdFilterLegacy>(src, dst, width, height, src_pitch, bgr); never executed: convertRGBToARGB_V_helper<LcdFilterLegacy>(src, dst, width, height, src_pitch, bgr); | 0 |
524 | } | - |
525 | | - |
526 | static inline void convertGRAYToARGB(const uchar *src, uint *dst, int width, int height, int src_pitch) | - |
527 | { | - |
528 | while (height--TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
529 | const uchar *p = src; | - |
530 | const uchar * const e = p + width; | - |
531 | while (p < eTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
532 | uchar gray = *p++; | - |
533 | *dst++ = (0xFF << 24) | (gray << 16) | (gray << 8) | gray; | - |
534 | } never executed: end of block | 0 |
535 | src += src_pitch; | - |
536 | } never executed: end of block | 0 |
537 | } never executed: end of block | 0 |
538 | | - |
539 | static void convoluteBitmap(const uchar *src, uchar *dst, int width, int height, int pitch) | - |
540 | { | - |
541 | | - |
542 | | - |
543 | | - |
544 | | - |
545 | int h = height; | - |
546 | while (h--TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
547 | dst[0] = dst[1] = 0; | - |
548 | | - |
549 | for (int x = 2; x < width - 2TRUE | never evaluated | FALSE | never evaluated |
; ++x) { | 0 |
550 | uint sum = src[x-2] + 3*src[x-1] + 8*src[x] + 3*src[x+1] + src[x+2]; | - |
551 | dst[x] = (uchar) (sum >> 4); | - |
552 | } never executed: end of block | 0 |
553 | dst[width - 2] = dst[width - 1] = 0; | - |
554 | src += pitch; | - |
555 | dst += pitch; | - |
556 | } never executed: end of block | 0 |
557 | } never executed: end of block | 0 |
558 | | - |
559 | QFontEngineFT::QFontEngineFT(const QFontDef &fd) | - |
560 | : QFontEngine(Freetype) | - |
561 | { | - |
562 | fontDef = fd; | - |
563 | matrix.xx = 0x10000; | - |
564 | matrix.yy = 0x10000; | - |
565 | matrix.xy = 0; | - |
566 | matrix.yx = 0; | - |
567 | cache_cost = 100 * 1024; | - |
568 | kerning_pairs_loaded = false; | - |
569 | transform = false; | - |
570 | embolden = false; | - |
571 | obliquen = false; | - |
572 | antialias = true; | - |
573 | freetype = 0; | - |
574 | default_load_flags = ( 1L << 9 ); | - |
575 | default_hint_style = ftInitialDefaultHintStyle; | - |
576 | subpixelType = Subpixel_None; | - |
577 | lcdFilterType = 0; | - |
578 | | - |
579 | lcdFilterType = (int)((quintptr) FT_LCD_FILTER_DEFAULT); | - |
580 | | - |
581 | defaultFormat = Format_None; | - |
582 | embeddedbitmap = false; | - |
583 | const QByteArray env = qgetenv("QT_NO_FT_CACHE"); | - |
584 | cacheEnabled = env.isEmpty()TRUE | evaluated 2039 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 |
|| env.toInt() == 0TRUE | never evaluated | FALSE | never evaluated |
; | 0-2039 |
585 | m_subPixelPositionCount = 4; | - |
586 | forceAutoHint = false; | - |
587 | }executed 2039 times by 123 tests: end of block Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 2039 |
588 | | - |
589 | QFontEngineFT::~QFontEngineFT() | - |
590 | { | - |
591 | if (freetypeTRUE | evaluated 2031 times by 127 testsEvaluated by:- tst_QApplication
- tst_QFontCache
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QPainter
- tst_QRawFont
- tst_QTextLayout
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- ...
| FALSE | evaluated 2 times by 1 test |
) | 2-2031 |
592 | freetype->release(face_id);executed 2031 times by 127 tests: freetype->release(face_id); Executed by:- tst_QApplication
- tst_QFontCache
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QPainter
- tst_QRawFont
- tst_QTextLayout
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- ...
| 2031 |
593 | }executed 2033 times by 127 tests: end of block Executed by:- tst_QApplication
- tst_QFontCache
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QPainter
- tst_QRawFont
- tst_QTextLayout
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- tst_qcompleter - unknown status
- ...
| 2033 |
594 | | - |
595 | bool QFontEngineFT::init(FaceId faceId, bool antialias, GlyphFormat format, | - |
596 | const QByteArray &fontData) | - |
597 | { | - |
598 | returnexecuted 2035 times by 123 tests: return init(faceId, antialias, format, QFreetypeFace::getFace(faceId, fontData)); 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
- ...
init(faceId, antialias, format, QFreetypeFace::getFace(faceId, fontData));executed 2035 times by 123 tests: return init(faceId, antialias, format, QFreetypeFace::getFace(faceId, fontData)); 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
- ...
| 2035 |
599 | } | - |
600 | | - |
601 | static void dont_delete(void*) {} | - |
602 | | - |
603 | bool QFontEngineFT::init(FaceId faceId, bool antialias, GlyphFormat format, | - |
604 | QFreetypeFace *freetypeFace) | - |
605 | { | - |
606 | freetype = freetypeFace; | - |
607 | if (!freetypeTRUE | evaluated 2 times by 1 test | FALSE | evaluated 2037 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
- ...
|
) { | 2-2037 |
608 | xsize = 0; | - |
609 | ysize = 0; | - |
610 | returnexecuted 2 times by 1 test: return false; false;executed 2 times by 1 test: return false; | 2 |
611 | } | - |
612 | defaultFormat = format; | - |
613 | this->antialias = antialias; | - |
614 | | - |
615 | if (!antialiasTRUE | evaluated 3 times by 2 testsEvaluated by:- tst_QStaticText
- tst_QWizard
| FALSE | evaluated 2034 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
- ...
|
) | 3-2034 |
616 | glyphFormat = QFontEngine::Format_Mono;executed 3 times by 2 tests: glyphFormat = QFontEngine::Format_Mono; Executed by:- tst_QStaticText
- tst_QWizard
| 3 |
617 | else | - |
618 | glyphFormat = defaultFormat;executed 2034 times by 123 tests: glyphFormat = defaultFormat; 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
- ...
| 2034 |
619 | | - |
620 | face_id = faceId; | - |
621 | | - |
622 | symbol = freetype->symbol_map != 0; | - |
623 | PS_FontInfoRec psrec; | - |
624 | | - |
625 | if (FT_Get_PS_Font_Info(freetype->face, &psrec) == FT_Err_OkTRUE | evaluated 79 times by 6 testsEvaluated by:- tst_QAccessibility
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QLabel
- tst_QTextLayout
| FALSE | evaluated 1958 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
- ...
|
) { | 79-1958 |
626 | symbol = bool(fontDef.family.contains(QLatin1String("symbol"), Qt::CaseInsensitive)); | - |
627 | }executed 79 times by 6 tests: end of block Executed by:- tst_QAccessibility
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QLabel
- tst_QTextLayout
| 79 |
628 | | - |
629 | freetype->computeSize(fontDef, &xsize, &ysize, &defaultGlyphSet.outline_drawing, &scalableBitmapScaleFactor); | - |
630 | | - |
631 | FT_Face face = lockFace(); | - |
632 | | - |
633 | if ((TRUE | evaluated 2037 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 |
face->face_flags & ( 1L << 0 ) )TRUE | evaluated 2037 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-2037 |
634 | bool fake_oblique = (TRUE | evaluated 194 times by 4 testsEvaluated by:- tst_QFontDialog
- tst_QFontMetrics
- tst_QItemDelegate
- tst_QTextLayout
| FALSE | evaluated 1843 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
- ...
|
fontDef.style != QFont::StyleNormal)TRUE | evaluated 194 times by 4 testsEvaluated by:- tst_QFontDialog
- tst_QFontMetrics
- tst_QItemDelegate
- tst_QTextLayout
| FALSE | evaluated 1843 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
- ...
|
&& !(face->style_flags & ( 1 << 0 ))TRUE | never evaluated | FALSE | evaluated 194 times by 4 testsEvaluated by:- tst_QFontDialog
- tst_QFontMetrics
- tst_QItemDelegate
- tst_QTextLayout
|
; | 0-1843 |
635 | if (fake_obliqueTRUE | never evaluated | FALSE | evaluated 2037 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-2037 |
636 | obliquen = true; never executed: obliquen = true; | 0 |
637 | FT_Set_Transform(face, &matrix, 0); | - |
638 | freetype->matrix = matrix; | - |
639 | | - |
640 | if ((TRUE | evaluated 257 times by 37 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- tst_QLabel
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QSortFilterProxyModel
- tst_QSqlQueryModel
- tst_QStandardItemModel
- tst_QStaticText
- tst_QStyleSheetStyle
- ...
| FALSE | 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
- ...
|
fontDef.weight >= QFont::Bold)TRUE | evaluated 257 times by 37 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- tst_QLabel
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QSortFilterProxyModel
- tst_QSqlQueryModel
- tst_QStandardItemModel
- tst_QStaticText
- tst_QStyleSheetStyle
- ...
| FALSE | 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
- ...
|
&& !(face->style_flags & ( 1 << 1 ))TRUE | never evaluated | FALSE | evaluated 257 times by 37 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QItemDelegate
- tst_QItemModel
- tst_QItemView
- tst_QLabel
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QSortFilterProxyModel
- tst_QSqlQueryModel
- tst_QStandardItemModel
- tst_QStaticText
- tst_QStyleSheetStyle
- ...
|
&& !( face->face_flags & ( 1L << 2 ) )TRUE | never evaluated | FALSE | never evaluated |
) { | 0-1780 |
641 | if (constTRUE | never evaluated | FALSE | never evaluated |
TT_OS2 *os2 = reinterpret_cast<const TT_OS2 *>(FT_Get_Sfnt_Table(face, ft_sfnt_os2))TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
642 | if (os2->usWeightClass < 750TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
643 | embolden = true; never executed: embolden = true; | 0 |
644 | } never executed: end of block | 0 |
645 | } never executed: end of block | 0 |
646 | | - |
647 | line_thickness = QFixed::fromFixed(FT_MulFix_x86_64( face->underline_thickness, face->size->metrics.y_scale )); | - |
648 | underline_position = QFixed::fromFixed(-FT_MulFix_x86_64( face->underline_position, face->size->metrics.y_scale )); | - |
649 | }executed 2037 times by 123 tests: end of block Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
else { | 2037 |
650 | | - |
651 | int score = fontDef.weight * fontDef.pixelSize; | - |
652 | line_thickness = score / 700; | - |
653 | | - |
654 | if (line_thickness < 2TRUE | never evaluated | FALSE | never evaluated |
&& score >= 1050TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
655 | line_thickness = 2; never executed: line_thickness = 2; | 0 |
656 | underline_position = ((line_thickness * 2) + 3) / 6; | - |
657 | | - |
658 | if (isScalableBitmap()TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
659 | glyphFormat = defaultFormat = GlyphFormat::Format_ARGB; | - |
660 | cacheEnabled = false; | - |
661 | } never executed: end of block | 0 |
662 | } never executed: end of block | 0 |
663 | if (line_thickness < 1TRUE | evaluated 1738 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 299 times by 18 testsEvaluated by:- tst_QAbstractItemView
- tst_QApplication
- tst_QCssParser
- tst_QFont
- tst_QFontComboBox
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsProxyWidget
- tst_QMenu
- tst_QPainter
- tst_QRawFont
- tst_QStaticText
- tst_QStyleSheetStyle
- tst_QTextLayout
- tst_QToolTip
- tst_QTreeWidget
|
) | 299-1738 |
664 | line_thickness = 1;executed 1738 times by 123 tests: line_thickness = 1; 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
- ...
| 1738 |
665 | | - |
666 | metrics = face->size->metrics; | - |
667 | if ((TRUE | evaluated 2037 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 |
face->face_flags & ( 1L << 0 ) )TRUE | evaluated 2037 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-2037 |
668 | for (int i = 0; i < face->num_fixed_sizesTRUE | never evaluated | FALSE | evaluated 2037 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
- ...
|
; ++i) { | 0-2037 |
669 | if (xsize == face->available_sizes[i].x_ppemTRUE | never evaluated | FALSE | never evaluated |
&& ysize == face->available_sizes[i].y_ppemTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
670 | face->face_flags &= ~( 1L << 0 ); | - |
671 | | - |
672 | FT_Select_Size(face, i); | - |
673 | if (face->size->metrics.ascender + face->size->metrics.descender > 0TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
674 | metrics.ascender = face->size->metrics.ascender; | - |
675 | metrics.descender = face->size->metrics.descender; | - |
676 | } never executed: end of block | 0 |
677 | FT_Set_Char_Size(face, xsize, ysize, 0, 0); | - |
678 | | - |
679 | face->face_flags |= ( 1L << 0 ); | - |
680 | break; never executed: break; | 0 |
681 | } | - |
682 | } never executed: end of block | 0 |
683 | }executed 2037 times by 123 tests: end of block Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 2037 |
684 | | - |
685 | fontDef.styleName = QString::fromUtf8(face->style_name); | - |
686 | | - |
687 | if (!freetype->hbFaceTRUE | evaluated 1666 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 371 times by 24 testsEvaluated by:- tst_QAbstractItemView
- tst_QComboBox
- tst_QFont
- tst_QFontCache
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGridLayout
- tst_QMenu
- tst_QPainter
- tst_QPlainTextEdit
- tst_QRawFont
- tst_QStaticText
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextLayout
- tst_QToolTip
- tst_QTreeWidget
- tst_QWizard
|
) { | 371-1666 |
688 | faceData.user_data = face; | - |
689 | faceData.get_font_table = ft_getSfntTable; | - |
690 | (void)harfbuzzFace(); | - |
691 | freetype->hbFace = std::move(face_); | - |
692 | }executed 1666 times by 123 tests: end of block Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
else { | 1666 |
693 | ((!(!face_)) ? qt_assert("!face_",__FILE__,804) : qt_noop()); | - |
694 | }executed 371 times by 24 tests: end of block Executed by:- tst_QAbstractItemView
- tst_QComboBox
- tst_QFont
- tst_QFontCache
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGridLayout
- tst_QMenu
- tst_QPainter
- tst_QPlainTextEdit
- tst_QRawFont
- tst_QStaticText
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextLayout
- tst_QToolTip
- tst_QTreeWidget
- tst_QWizard
| 371 |
695 | | - |
696 | face_ = Holder(freetype->hbFace.get(), dont_delete); | - |
697 | | - |
698 | unlockFace(); | - |
699 | | - |
700 | fsType = freetype->fsType(); | - |
701 | returnexecuted 2037 times by 123 tests: return 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
- ...
true;executed 2037 times by 123 tests: return 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
- ...
| 2037 |
702 | } | - |
703 | | - |
704 | void QFontEngineFT::setQtDefaultHintStyle(QFont::HintingPreference hintingPreference) | - |
705 | { | - |
706 | switch (hintingPreference) { | - |
707 | caseexecuted 311 times by 1 test: case QFont::PreferNoHinting: QFont::PreferNoHinting:executed 311 times by 1 test: case QFont::PreferNoHinting: | 311 |
708 | setDefaultHintStyle(HintNone); | - |
709 | break;executed 311 times by 1 test: break; | 311 |
710 | caseexecuted 311 times by 1 test: case QFont::PreferFullHinting: QFont::PreferFullHinting:executed 311 times by 1 test: case QFont::PreferFullHinting: | 311 |
711 | setDefaultHintStyle(HintFull); | - |
712 | break;executed 311 times by 1 test: break; | 311 |
713 | caseexecuted 311 times by 1 test: case QFont::PreferVerticalHinting: QFont::PreferVerticalHinting:executed 311 times by 1 test: case QFont::PreferVerticalHinting: | 311 |
714 | setDefaultHintStyle(HintLight); | - |
715 | break;executed 311 times by 1 test: break; | 311 |
716 | caseexecuted 315 times by 1 test: case QFont::PreferDefaultHinting: QFont::PreferDefaultHinting:executed 315 times by 1 test: case QFont::PreferDefaultHinting: | 315 |
717 | setDefaultHintStyle(ftInitialDefaultHintStyle); | - |
718 | break;executed 315 times by 1 test: break; | 315 |
719 | } | - |
720 | }executed 1248 times by 1 test: end of block | 1248 |
721 | | - |
722 | void QFontEngineFT::setDefaultHintStyle(HintStyle style) | - |
723 | { | - |
724 | default_hint_style = style; | - |
725 | }executed 3281 times by 123 tests: end of block Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 3281 |
726 | | - |
727 | int QFontEngineFT::loadFlags(QGlyphSet *set, GlyphFormat format, int flags, | - |
728 | bool &hsubpixel, int &vfactor) const | - |
729 | { | - |
730 | int load_flags = 0x0 | default_load_flags; | - |
731 | int load_target = default_hint_style == HintLightTRUE | evaluated 14 times by 1 test | FALSE | evaluated 25910 times by 114 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
- ...
|
| 14-25910 |
732 | ? ( (FT_Int32)( (FT_RENDER_MODE_LIGHT) & 15 ) << 16 ) | - |
733 | : ( (FT_Int32)( (FT_RENDER_MODE_NORMAL) & 15 ) << 16 ); | - |
734 | | - |
735 | if (format == Format_MonoTRUE | evaluated 114 times by 3 testsEvaluated by:- tst_QPainter
- tst_QStaticText
- tst_QWizard
| FALSE | evaluated 25810 times by 114 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
- ...
|
) { | 114-25810 |
736 | load_target = ( (FT_Int32)( (FT_RENDER_MODE_MONO) & 15 ) << 16 ); | - |
737 | }executed 114 times by 3 tests: end of block Executed by:- tst_QPainter
- tst_QStaticText
- tst_QWizard
else if (format == Format_A32TRUE | never evaluated | FALSE | evaluated 25810 times by 114 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-25810 |
738 | if (subpixelType == Subpixel_RGBTRUE | never evaluated | FALSE | never evaluated |
|| subpixelType == Subpixel_BGRTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
739 | if (default_hint_style == HintFullTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
740 | load_target = ( (FT_Int32)( (FT_RENDER_MODE_LCD) & 15 ) << 16 ); never executed: load_target = ( (FT_Int32)( (FT_RENDER_MODE_LCD) & 15 ) << 16 ); | 0 |
741 | hsubpixel = true; | - |
742 | } never executed: end of block else if (subpixelType == Subpixel_VRGBTRUE | never evaluated | FALSE | never evaluated |
|| subpixelType == Subpixel_VBGRTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
743 | if (default_hint_style == HintFullTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
744 | load_target = ( (FT_Int32)( (FT_RENDER_MODE_LCD_V) & 15 ) << 16 ); never executed: load_target = ( (FT_Int32)( (FT_RENDER_MODE_LCD_V) & 15 ) << 16 ); | 0 |
745 | vfactor = 3; | - |
746 | } never executed: end of block | 0 |
747 | } never executed: end of block else if (format == Format_ARGBTRUE | never evaluated | FALSE | evaluated 25810 times by 114 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-25810 |
748 | | - |
749 | load_flags |= ( 1L << 20 ); | - |
750 | | - |
751 | } never executed: end of block | 0 |
752 | | - |
753 | if (setTRUE | evaluated 25924 times by 114 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 |
&& set->TRUE | evaluated 40 times by 4 testsEvaluated by:- tst_QFontDatabase
- tst_QFontDialog
- tst_QPainter
- tst_QToolTip
| FALSE | evaluated 25884 times by 114 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
- ...
|
outline_drawingTRUE | evaluated 40 times by 4 testsEvaluated by:- tst_QFontDatabase
- tst_QFontDialog
- tst_QPainter
- tst_QToolTip
| FALSE | evaluated 25884 times by 114 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-25924 |
754 | load_flags |= ( 1L << 3 );executed 40 times by 4 tests: load_flags |= ( 1L << 3 ); Executed by:- tst_QFontDatabase
- tst_QFontDialog
- tst_QPainter
- tst_QToolTip
| 40 |
755 | | - |
756 | if (default_hint_style == HintNoneTRUE | evaluated 1055 times by 7 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QPainter
- tst_QPrinter
- tst_QRawFont
- tst_QStaticText
| FALSE | evaluated 24869 times by 114 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 24869 times by 114 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
- ...
|
flags & DesignMetrics)TRUE | never evaluated | FALSE | evaluated 24869 times by 114 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
- ...
|
|| (setTRUE | evaluated 24869 times by 114 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 |
&& set->TRUE | evaluated 40 times by 4 testsEvaluated by:- tst_QFontDatabase
- tst_QFontDialog
- tst_QPainter
- tst_QToolTip
| FALSE | evaluated 24829 times by 114 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
- ...
|
outline_drawingTRUE | evaluated 40 times by 4 testsEvaluated by:- tst_QFontDatabase
- tst_QFontDialog
- tst_QPainter
- tst_QToolTip
| FALSE | evaluated 24829 times by 114 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-24869 |
757 | load_flags |= ( 1L << 1 );executed 1095 times by 10 tests: load_flags |= ( 1L << 1 ); Executed by:- tst_QFontDatabase
- tst_QFontDialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QPainter
- tst_QPrinter
- tst_QRawFont
- tst_QStaticText
- tst_QToolTip
| 1095 |
758 | else | - |
759 | load_flags |= load_target;executed 24829 times by 114 tests: load_flags |= load_target; 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
- ...
| 24829 |
760 | | - |
761 | if (forceAutoHintTRUE | never evaluated | FALSE | evaluated 25924 times by 114 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-25924 |
762 | load_flags |= ( 1L << 5 ); never executed: load_flags |= ( 1L << 5 ); | 0 |
763 | | - |
764 | returnexecuted 25924 times by 114 tests: return load_flags; 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
- ...
load_flags;executed 25924 times by 114 tests: return load_flags; 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
- ...
| 25924 |
765 | } | - |
766 | | - |
767 | static inline bool areMetricsTooLarge(const QFontEngineFT::GlyphInfo &info) | - |
768 | { | - |
769 | | - |
770 | returnexecuted 25922 times by 114 tests: return (short)(info.linearAdvance) != info.linearAdvance || (uchar)(info.width) != info.width || (uchar)(info.height) != info.height; 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
- ...
(short)(info.linearAdvance) != info.linearAdvanceexecuted 25922 times by 114 tests: return (short)(info.linearAdvance) != info.linearAdvance || (uchar)(info.width) != info.width || (uchar)(info.height) != info.height; 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
- ...
| 25922 |
771 | || (uchar)(info.width) != info.widthexecuted 25922 times by 114 tests: return (short)(info.linearAdvance) != info.linearAdvance || (uchar)(info.width) != info.width || (uchar)(info.height) != info.height; 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
- ...
| 25922 |
772 | || (uchar)(info.height) != info.height;executed 25922 times by 114 tests: return (short)(info.linearAdvance) != info.linearAdvance || (uchar)(info.width) != info.width || (uchar)(info.height) != info.height; 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
- ...
| 25922 |
773 | } | - |
774 | | - |
775 | QFontEngineFT::Glyph *QFontEngineFT::loadGlyph(QGlyphSet *set, uint glyph, | - |
776 | QFixed subPixelPosition, | - |
777 | GlyphFormat format, | - |
778 | bool fetchMetricsOnly) const | - |
779 | { | - |
780 | | - |
781 | | - |
782 | if (format == Format_NoneTRUE | evaluated 7503 times by 114 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 18421 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
) | 7503-18421 |
783 | format = defaultFormat != Format_NoneTRUE | evaluated 7503 times by 114 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 |
? defaultFormat : Format_Mono;executed 7503 times by 114 tests: format = defaultFormat != Format_None ? defaultFormat : Format_Mono; 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
- ...
| 0-7503 |
784 | ((!(format != Format_None)) ? qt_assert("format != Format_None",__FILE__,895) : qt_noop()); | - |
785 | | - |
786 | Glyph *g = setTRUE | evaluated 25924 times by 114 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 |
? set->getGlyph(glyph, subPixelPosition) : 0; | 0-25924 |
787 | if (gTRUE | evaluated 13665 times by 57 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QHeaderView
- tst_QItemDelegate
- tst_QLabel
- ...
| FALSE | evaluated 12259 times by 114 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
- ...
|
&& g->format == formatTRUE | evaluated 13664 times by 56 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QHeaderView
- tst_QItemDelegate
- tst_QLabel
- ...
| FALSE | evaluated 1 time by 1 test |
&& (fetchMetricsOnlyTRUE | never evaluated | FALSE | evaluated 13664 times by 56 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QHeaderView
- tst_QItemDelegate
- tst_QLabel
- ...
|
|| g->dataTRUE | never evaluated | FALSE | evaluated 13664 times by 56 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QHeaderView
- tst_QItemDelegate
- tst_QLabel
- ...
|
)) | 0-13665 |
788 | return never executed: return g; g;never executed: return g; | 0 |
789 | | - |
790 | if (!gTRUE | evaluated 12259 times by 114 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 13665 times by 57 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QHeaderView
- tst_QItemDelegate
- tst_QLabel
- ...
|
&& setTRUE | evaluated 12259 times by 114 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 |
&& set->TRUE | never evaluated | FALSE | evaluated 12259 times by 114 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
- ...
|
isGlyphMissing(glyph)TRUE | never evaluated | FALSE | evaluated 12259 times by 114 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-13665 |
791 | return never executed: return &emptyGlyph; &emptyGlyph;never executed: return &emptyGlyph; | 0 |
792 | | - |
793 | | - |
794 | FT_Face face = freetype->face; | - |
795 | | - |
796 | FT_Matrix matrix = freetype->matrix; | - |
797 | | - |
798 | FT_Vector v; | - |
799 | v.x = format == Format_MonoTRUE | evaluated 114 times by 3 testsEvaluated by:- tst_QPainter
- tst_QStaticText
- tst_QWizard
| FALSE | evaluated 25810 times by 114 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 : FT_Pos(subPixelPosition.value()); | 114-25810 |
800 | v.y = 0; | - |
801 | FT_Set_Transform(face, &matrix, &v); | - |
802 | | - |
803 | bool hsubpixel = false; | - |
804 | int vfactor = 1; | - |
805 | int load_flags = loadFlags(set, format, 0, hsubpixel, vfactor); | - |
806 | | - |
807 | bool transform = matrix.xx != 0x10000TRUE | evaluated 2498 times by 7 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
| FALSE | evaluated 23426 times by 114 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
- ...
|
| 2498-23426 |
808 | || matrix.yy != 0x10000TRUE | never evaluated | FALSE | evaluated 23426 times by 114 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-23426 |
809 | || matrix.xy != 0TRUE | never evaluated | FALSE | evaluated 23426 times by 114 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-23426 |
810 | || matrix.yx != 0TRUE | never evaluated | FALSE | evaluated 23426 times by 114 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-23426 |
811 | | - |
812 | if (transformTRUE | evaluated 2498 times by 7 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
| FALSE | evaluated 23426 times by 114 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
- ...
|
|| (format != Format_MonoTRUE | evaluated 23312 times by 114 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 114 times by 3 testsEvaluated by:- tst_QPainter
- tst_QStaticText
- tst_QWizard
|
&& !isScalableBitmap()TRUE | evaluated 23312 times by 114 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-23426 |
813 | load_flags |= ( 1L << 3 );executed 25810 times by 114 tests: load_flags |= ( 1L << 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
- ...
| 25810 |
814 | | - |
815 | FT_Error err = FT_Load_Glyph(face, glyph, load_flags); | - |
816 | if (errTRUE | evaluated 2 times by 1 test | FALSE | evaluated 25922 times by 114 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 2 times by 1 test | FALSE | never evaluated |
load_flags & ( 1L << 3 ))TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
) { | 0-25922 |
817 | load_flags &= ~( 1L << 3 ); | - |
818 | err = FT_Load_Glyph(face, glyph, load_flags); | - |
819 | }executed 2 times by 1 test: end of block | 2 |
820 | if (err == FT_Err_Too_Few_ArgumentsTRUE | never evaluated | FALSE | evaluated 25924 times by 114 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-25924 |
821 | | - |
822 | load_flags |= ( 1L << 5 ); | - |
823 | err = FT_Load_Glyph(face, glyph, load_flags); | - |
824 | } never executed: end of block else if (err == FT_Err_Execution_Too_LongTRUE | never evaluated | FALSE | evaluated 25924 times by 114 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-25924 |
825 | | - |
826 | | - |
827 | QMessageLogger(__FILE__, 938, __PRETTY_FUNCTION__).warning("load glyph failed due to broken hinting bytecode in font, switching to auto hinting"); | - |
828 | default_load_flags |= ( 1L << 5 ); | - |
829 | load_flags |= ( 1L << 5 ); | - |
830 | err = FT_Load_Glyph(face, glyph, load_flags); | - |
831 | } never executed: end of block | 0 |
832 | if (err != FT_Err_OkTRUE | evaluated 2 times by 1 test | FALSE | evaluated 25922 times by 114 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
- ...
|
) { | 2-25922 |
833 | QMessageLogger(__FILE__, 944, __PRETTY_FUNCTION__).warning("load glyph failed err=%x face=%p, glyph=%d", err, face, glyph); | - |
834 | if (setTRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
) | 0-2 |
835 | set->executed 2 times by 1 test: set->setGlyphMissing(glyph); setGlyphMissing(glyph);executed 2 times by 1 test: set->setGlyphMissing(glyph); | 2 |
836 | returnexecuted 2 times by 1 test: return &emptyGlyph; &emptyGlyph;executed 2 times by 1 test: return &emptyGlyph; | 2 |
837 | } | - |
838 | | - |
839 | FT_GlyphSlot slot = face->glyph; | - |
840 | | - |
841 | if (emboldenTRUE | never evaluated | FALSE | evaluated 25922 times by 114 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-25922 |
842 | FT_GlyphSlot_Embolden(slot); never executed: FT_GlyphSlot_Embolden(slot); | 0 |
843 | if (obliquenTRUE | never evaluated | FALSE | evaluated 25922 times by 114 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-25922 |
844 | FT_GlyphSlot_Oblique(slot); | - |
845 | | - |
846 | | - |
847 | | - |
848 | transform = true; | - |
849 | FT_Matrix m; | - |
850 | m.xx = 0x10000; | - |
851 | m.yx = 0x0; | - |
852 | m.xy = 0x6000; | - |
853 | m.yy = 0x10000; | - |
854 | | - |
855 | FT_Matrix_Multiply(&m, &matrix); | - |
856 | } never executed: end of block | 0 |
857 | | - |
858 | GlyphInfo info; | - |
859 | info.linearAdvance = slot->linearHoriAdvance >> 10; | - |
860 | info.xOff = (((((slot->advance.x)+32) & -64)) >> 6); | - |
861 | info.yOff = 0; | - |
862 | | - |
863 | if ((setTRUE | evaluated 25922 times by 114 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 |
&& set->TRUE | evaluated 40 times by 4 testsEvaluated by:- tst_QFontDatabase
- tst_QFontDialog
- tst_QPainter
- tst_QToolTip
| FALSE | evaluated 25882 times by 114 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
- ...
|
outline_drawingTRUE | evaluated 40 times by 4 testsEvaluated by:- tst_QFontDatabase
- tst_QFontDialog
- tst_QPainter
- tst_QToolTip
| FALSE | evaluated 25882 times by 114 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
- ...
|
) || fetchMetricsOnlyTRUE | evaluated 7462 times by 114 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 18420 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
) { | 0-25922 |
864 | int left = ((slot->metrics.horiBearingX) & -64); | - |
865 | int right = (((slot->metrics.horiBearingX + slot->metrics.width)+63) & -64); | - |
866 | int top = (((slot->metrics.horiBearingY)+63) & -64); | - |
867 | int bottom = ((slot->metrics.horiBearingY - slot->metrics.height) & -64); | - |
868 | info.x = ((left) >> 6); | - |
869 | info.y = ((top) >> 6); | - |
870 | info.width = ((right - left) >> 6); | - |
871 | info.height = ((top - bottom) >> 6); | - |
872 | | - |
873 | | - |
874 | if (areMetricsTooLarge(info)TRUE | evaluated 14 times by 1 test | FALSE | evaluated 7488 times by 114 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
- ...
|
) | 14-7488 |
875 | returnexecuted 14 times by 1 test: return 0; 0;executed 14 times by 1 test: return 0; | 14 |
876 | | - |
877 | g = new Glyph; | - |
878 | g->data = 0; | - |
879 | g->linearAdvance = info.linearAdvance; | - |
880 | g->width = info.width; | - |
881 | g->height = info.height; | - |
882 | g->x = info.x; | - |
883 | g->y = info.y; | - |
884 | g->advance = info.xOff; | - |
885 | g->format = format; | - |
886 | | - |
887 | if (setTRUE | evaluated 7488 times by 114 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-7488 |
888 | set->executed 7488 times by 114 tests: set->setGlyph(glyph, subPixelPosition, g); 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
- ...
setGlyph(glyph, subPixelPosition, g);executed 7488 times by 114 tests: set->setGlyph(glyph, subPixelPosition, g); 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
- ...
| 7488 |
889 | | - |
890 | returnexecuted 7488 times by 114 tests: return g; 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
- ...
g;executed 7488 times by 114 tests: return g; 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
- ...
| 7488 |
891 | } | - |
892 | | - |
893 | int glyph_buffer_size = 0; | - |
894 | QScopedArrayPointer<uchar> glyph_buffer; | - |
895 | | - |
896 | bool useFreetypeRenderGlyph = false; | - |
897 | if (slot->format == FT_GLYPH_FORMAT_OUTLINETRUE | evaluated 18420 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| FALSE | never evaluated |
&& (hsubpixelTRUE | never evaluated | FALSE | evaluated 18420 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
|| vfactor != 1TRUE | never evaluated | FALSE | evaluated 18420 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
)) { | 0-18420 |
898 | err = FT_Library_SetLcdFilter(slot->library, (FT_LcdFilter)lcdFilterType); | - |
899 | if (err == FT_Err_OkTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
900 | useFreetypeRenderGlyph = true; never executed: useFreetypeRenderGlyph = true; | 0 |
901 | } never executed: end of block | 0 |
902 | | - |
903 | if (useFreetypeRenderGlyphTRUE | never evaluated | FALSE | evaluated 18420 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
) { | 0-18420 |
904 | err = FT_Render_Glyph(slot, hsubpixel ? FT_RENDER_MODE_LCD : FT_RENDER_MODE_LCD_V); | - |
905 | | - |
906 | if (err != FT_Err_OkTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
907 | QMessageLogger(__FILE__, 1018, __PRETTY_FUNCTION__).warning("render glyph failed err=%x face=%p, glyph=%d", err, face, glyph); never executed: QMessageLogger(__FILE__, 1018, __PRETTY_FUNCTION__).warning("render glyph failed err=%x face=%p, glyph=%d", err, face, glyph); | 0 |
908 | | - |
909 | FT_Library_SetLcdFilter(slot->library, FT_LCD_FILTER_NONE); | - |
910 | | - |
911 | info.height = slot->bitmap.rows / vfactor; | - |
912 | info.width = hsubpixelTRUE | never evaluated | FALSE | never evaluated |
? slot->bitmap.width / 3 : slot->bitmap.width; | 0 |
913 | info.x = slot->bitmap_left; | - |
914 | info.y = slot->bitmap_top; | - |
915 | | - |
916 | glyph_buffer_size = info.width * info.height * 4; | - |
917 | glyph_buffer.reset(new uchar[glyph_buffer_size]); | - |
918 | | - |
919 | if (hsubpixelTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
920 | convertRGBToARGB(slot->bitmap.buffer, (uint *)glyph_buffer.data(), info.width, info.height, slot->bitmap.pitch, subpixelType != Subpixel_RGB, false); never executed: convertRGBToARGB(slot->bitmap.buffer, (uint *)glyph_buffer.data(), info.width, info.height, slot->bitmap.pitch, subpixelType != Subpixel_RGB, false); | 0 |
921 | else if (vfactor != 1TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
922 | convertRGBToARGB_V(slot->bitmap.buffer, (uint *)glyph_buffer.data(), info.width, info.height, slot->bitmap.pitch, subpixelType != Subpixel_VRGB, false); never executed: convertRGBToARGB_V(slot->bitmap.buffer, (uint *)glyph_buffer.data(), info.width, info.height, slot->bitmap.pitch, subpixelType != Subpixel_VRGB, false); | 0 |
923 | } never executed: end of block else | 0 |
924 | | - |
925 | { | - |
926 | int left = slot->metrics.horiBearingX; | - |
927 | int right = slot->metrics.horiBearingX + slot->metrics.width; | - |
928 | int top = slot->metrics.horiBearingY; | - |
929 | int bottom = slot->metrics.horiBearingY - slot->metrics.height; | - |
930 | if(transformTRUE | evaluated 2498 times by 7 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
| FALSE | evaluated 15922 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
&& slot->format != FT_GLYPH_FORMAT_BITMAPTRUE | evaluated 2498 times by 7 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
| FALSE | never evaluated |
) { | 0-15922 |
931 | int l, r, t, b; | - |
932 | FT_Vector vector; | - |
933 | vector.x = left; | - |
934 | vector.y = top; | - |
935 | FT_Vector_Transform(&vector, &matrix); | - |
936 | l = r = vector.x; | - |
937 | t = b = vector.y; | - |
938 | vector.x = right; | - |
939 | vector.y = top; | - |
940 | FT_Vector_Transform(&vector, &matrix); | - |
941 | if (l > vector.xTRUE | evaluated 608 times by 1 test | FALSE | evaluated 1890 times by 7 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
|
) l = vector.x;executed 608 times by 1 test: l = vector.x; | 608-1890 |
942 | if (r < vector.xTRUE | evaluated 1279 times by 5 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QPrinter
- tst_QStaticText
| FALSE | evaluated 1219 times by 7 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
|
) r = vector.x;executed 1279 times by 5 tests: r = vector.x; Executed by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QPrinter
- tst_QStaticText
| 1219-1279 |
943 | if (t < vector.yTRUE | evaluated 704 times by 3 testsEvaluated by:- tst_QGraphicsView
- tst_QMdiArea
- tst_QTabWidget
| FALSE | evaluated 1794 times by 7 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
|
) t = vector.y;executed 704 times by 3 tests: t = vector.y; Executed by:- tst_QGraphicsView
- tst_QMdiArea
- tst_QTabWidget
| 704-1794 |
944 | if (b > vector.yTRUE | evaluated 688 times by 5 testsEvaluated by:- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QStaticText
- tst_QTabWidget
| FALSE | evaluated 1810 times by 7 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
|
) b = vector.y;executed 688 times by 5 tests: b = vector.y; Executed by:- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QStaticText
- tst_QTabWidget
| 688-1810 |
945 | vector.x = right; | - |
946 | vector.y = bottom; | - |
947 | FT_Vector_Transform(&vector, &matrix); | - |
948 | if (l > vector.xTRUE | evaluated 590 times by 5 testsEvaluated by:- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QStaticText
- tst_QTabWidget
| FALSE | evaluated 1908 times by 7 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
|
) l = vector.x;executed 590 times by 5 tests: l = vector.x; Executed by:- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QStaticText
- tst_QTabWidget
| 590-1908 |
949 | if (r < vector.xTRUE | evaluated 620 times by 3 testsEvaluated by:- tst_QGraphicsView
- tst_QMdiArea
- tst_QTabWidget
| FALSE | evaluated 1878 times by 7 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
|
) r = vector.x;executed 620 times by 3 tests: r = vector.x; Executed by:- tst_QGraphicsView
- tst_QMdiArea
- tst_QTabWidget
| 620-1878 |
950 | if (t < vector.yTRUE | evaluated 524 times by 1 test | FALSE | evaluated 1974 times by 7 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
|
) t = vector.y;executed 524 times by 1 test: t = vector.y; | 524-1974 |
951 | if (b > vector.yTRUE | evaluated 1186 times by 5 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QPrinter
- tst_QStaticText
| FALSE | evaluated 1312 times by 7 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
|
) b = vector.y;executed 1186 times by 5 tests: b = vector.y; Executed by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QPrinter
- tst_QStaticText
| 1186-1312 |
952 | vector.x = left; | - |
953 | vector.y = bottom; | - |
954 | FT_Vector_Transform(&vector, &matrix); | - |
955 | if (l > vector.xTRUE | evaluated 334 times by 3 testsEvaluated by:- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QStaticText
| FALSE | evaluated 2164 times by 7 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
|
) l = vector.x;executed 334 times by 3 tests: l = vector.x; Executed by:- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QStaticText
| 334-2164 |
956 | if (r < vector.xTRUE | evaluated 288 times by 1 test | FALSE | evaluated 2210 times by 7 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
|
) r = vector.x;executed 288 times by 1 test: r = vector.x; | 288-2210 |
957 | if (t < vector.yTRUE | evaluated 256 times by 1 test | FALSE | evaluated 2242 times by 7 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
|
) t = vector.y;executed 256 times by 1 test: t = vector.y; | 256-2242 |
958 | if (b > vector.yTRUE | evaluated 320 times by 1 test | FALSE | evaluated 2178 times by 7 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
|
) b = vector.y;executed 320 times by 1 test: b = vector.y; | 320-2178 |
959 | left = l; | - |
960 | right = r; | - |
961 | top = t; | - |
962 | bottom = b; | - |
963 | }executed 2498 times by 7 tests: end of block Executed by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
| 2498 |
964 | left = ((left) & -64); | - |
965 | right = (((right)+63) & -64); | - |
966 | bottom = ((bottom) & -64); | - |
967 | top = (((top)+63) & -64); | - |
968 | | - |
969 | int hpixels = ((right - left) >> 6); | - |
970 | | - |
971 | if (subPixelPosition > 0TRUE | evaluated 50 times by 1 test | FALSE | evaluated 18370 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
&& format != Format_MonoTRUE | evaluated 50 times by 1 test | FALSE | never evaluated |
) | 0-18370 |
972 | hpixels++;executed 50 times by 1 test: hpixels++; | 50 |
973 | | - |
974 | if (hsubpixelTRUE | never evaluated | FALSE | evaluated 18420 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
) | 0-18420 |
975 | hpixels = hpixels*3 + 8; never executed: hpixels = hpixels*3 + 8; | 0 |
976 | info.width = hpixels; | - |
977 | info.height = ((top - bottom) >> 6); | - |
978 | info.x = ((left) >> 6); | - |
979 | info.y = ((top) >> 6); | - |
980 | if (hsubpixelTRUE | never evaluated | FALSE | evaluated 18420 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
) { | 0-18420 |
981 | info.width /= 3; | - |
982 | info.x -= 1; | - |
983 | } never executed: end of block | 0 |
984 | | - |
985 | | - |
986 | if (areMetricsTooLarge(info)TRUE | never evaluated | FALSE | evaluated 18420 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
) | 0-18420 |
987 | return never executed: return 0; 0;never executed: return 0; | 0 |
988 | | - |
989 | int pitch = (format == Format_MonoTRUE | evaluated 66 times by 3 testsEvaluated by:- tst_QPainter
- tst_QStaticText
- tst_QWizard
| FALSE | evaluated 18354 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
? ((info.width + 31) & ~31) >> 3 : | 66-18354 |
990 | (format == Format_A8TRUE | evaluated 18354 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| FALSE | never evaluated |
? (info.width + 3) & ~3 : info.width * 4)); | 0-18354 |
991 | if (glyph_buffer_size < pitch * info.heightTRUE | evaluated 4558 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| FALSE | evaluated 13862 times by 58 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QHeaderView
- tst_QItemDelegate
- tst_QLabel
- ...
|
) { | 4558-13862 |
992 | glyph_buffer_size = pitch * info.height; | - |
993 | glyph_buffer.reset(new uchar[glyph_buffer_size]); | - |
994 | memset(glyph_buffer.data(), 0, glyph_buffer_size); | - |
995 | }executed 4558 times by 76 tests: end of block Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 4558 |
996 | | - |
997 | if (slot->format == FT_GLYPH_FORMAT_OUTLINETRUE | evaluated 18420 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| FALSE | never evaluated |
) { | 0-18420 |
998 | FT_Bitmap bitmap; | - |
999 | bitmap.rows = info.height*vfactor; | - |
1000 | bitmap.width = hpixels; | - |
1001 | bitmap.pitch = format == Format_MonoTRUE | evaluated 66 times by 3 testsEvaluated by:- tst_QPainter
- tst_QStaticText
- tst_QWizard
| FALSE | evaluated 18354 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
? (((info.width + 31) & ~31) >> 3) : ((bitmap.width + 3) & ~3); | 66-18354 |
1002 | int bitmap_buffer_size = bitmap.rows * bitmap.pitch; | - |
1003 | if (!hsubpixelTRUE | evaluated 18420 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| FALSE | never evaluated |
&& vfactor == 1TRUE | evaluated 18420 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| FALSE | never evaluated |
&& format != Format_A32TRUE | evaluated 18420 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| FALSE | never evaluated |
) { | 0-18420 |
1004 | ((!(glyph_buffer_size <= bitmap_buffer_size)) ? qt_assert("glyph_buffer_size <= bitmap_buffer_size",__FILE__,1115) : qt_noop()); | - |
1005 | bitmap.buffer = glyph_buffer.data(); | - |
1006 | }executed 18420 times by 76 tests: end of block Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
else { | 18420 |
1007 | bitmap.buffer = new uchar[bitmap_buffer_size]; | - |
1008 | memset(bitmap.buffer, 0, bitmap_buffer_size); | - |
1009 | } never executed: end of block | 0 |
1010 | bitmap.pixel_mode = format == Format_MonoTRUE | evaluated 66 times by 3 testsEvaluated by:- tst_QPainter
- tst_QStaticText
- tst_QWizard
| FALSE | evaluated 18354 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
? FT_PIXEL_MODE_MONO : FT_PIXEL_MODE_GRAY; | 66-18354 |
1011 | FT_Matrix matrix; | - |
1012 | matrix.xx = (hsubpixelTRUE | never evaluated | FALSE | evaluated 18420 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
? 3 : 1) << 16; | 0-18420 |
1013 | matrix.yy = vfactor << 16; | - |
1014 | matrix.yx = matrix.xy = 0; | - |
1015 | | - |
1016 | FT_Outline_Transform(&slot->outline, &matrix); | - |
1017 | FT_Outline_Translate (&slot->outline, (hsubpixel ? -3*left +(4<<6) : -left), -bottom*vfactor); | - |
1018 | FT_Outline_Get_Bitmap(slot->library, &slot->outline, &bitmap); | - |
1019 | if (hsubpixelTRUE | never evaluated | FALSE | evaluated 18420 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
) { | 0-18420 |
1020 | ((!(bitmap.pixel_mode == FT_PIXEL_MODE_GRAY)) ? qt_assert("bitmap.pixel_mode == FT_PIXEL_MODE_GRAY",__FILE__,1131) : qt_noop()); | - |
1021 | ((!(antialias)) ? qt_assert("antialias",__FILE__,1132) : qt_noop()); | - |
1022 | uchar *convoluted = new uchar[bitmap_buffer_size]; | - |
1023 | bool useLegacyLcdFilter = false; | - |
1024 | | - |
1025 | | - |
1026 | | - |
1027 | uchar *buffer = bitmap.buffer; | - |
1028 | if (!useLegacyLcdFilterTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
1029 | convoluteBitmap(bitmap.buffer, convoluted, bitmap.width, info.height, bitmap.pitch); | - |
1030 | buffer = convoluted; | - |
1031 | } never executed: end of block | 0 |
1032 | convertRGBToARGB(buffer + 1, (uint *)glyph_buffer.data(), info.width, info.height, bitmap.pitch, subpixelType != Subpixel_RGB, useLegacyLcdFilter); | - |
1033 | delete [] convoluted; | - |
1034 | } never executed: end of block else if (vfactor != 1TRUE | never evaluated | FALSE | evaluated 18420 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
) { | 0-18420 |
1035 | convertRGBToARGB_V(bitmap.buffer, (uint *)glyph_buffer.data(), info.width, info.height, bitmap.pitch, subpixelType != Subpixel_VRGB, true); | - |
1036 | } never executed: end of block else if (format == Format_A32TRUE | never evaluated | FALSE | evaluated 18420 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
&& bitmap.pixel_mode == FT_PIXEL_MODE_GRAYTRUE | never evaluated | FALSE | never evaluated |
) { | 0-18420 |
1037 | convertGRAYToARGB(bitmap.buffer, (uint *)glyph_buffer.data(), info.width, info.height, bitmap.pitch); | - |
1038 | } never executed: end of block | 0 |
1039 | | - |
1040 | if (bitmap.buffer != glyph_buffer.data()TRUE | never evaluated | FALSE | evaluated 18420 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
) | 0-18420 |
1041 | delete [] bitmap.buffer; never executed: delete [] bitmap.buffer; | 0 |
1042 | }executed 18420 times by 76 tests: end of block Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
else if (slot->format == FT_GLYPH_FORMAT_BITMAPTRUE | never evaluated | FALSE | never evaluated |
) { | 0-18420 |
1043 | | - |
1044 | ((!(slot->bitmap.pixel_mode == FT_PIXEL_MODE_MONO || slot->bitmap.pixel_mode == FT_PIXEL_MODE_BGRA)) ? qt_assert("slot->bitmap.pixel_mode == FT_PIXEL_MODE_MONO || slot->bitmap.pixel_mode == FT_PIXEL_MODE_BGRA",__FILE__,1155) : qt_noop()); | - |
1045 | | - |
1046 | | - |
1047 | | - |
1048 | uchar *src = slot->bitmap.buffer; | - |
1049 | uchar *dst = glyph_buffer.data(); | - |
1050 | int h = slot->bitmap.rows; | - |
1051 | if (format == Format_MonoTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
1052 | int bytes = ((info.width + 7) & ~7) >> 3; | - |
1053 | while (h--TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
1054 | memcpy (dst, src, bytes); | - |
1055 | dst += pitch; | - |
1056 | src += slot->bitmap.pitch; | - |
1057 | } never executed: end of block | 0 |
1058 | } never executed: end of block else if (slot->bitmap.pixel_mode == FT_PIXEL_MODE_MONOTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
1059 | if (hsubpixelTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
1060 | while (h--TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
1061 | uint *dd = (uint *)dst; | - |
1062 | *dd++ = 0; | - |
1063 | for (int x = 0; x < static_cast<int>(slot->bitmap.width)TRUE | never evaluated | FALSE | never evaluated |
; x++) { | 0 |
1064 | uint a = ((TRUE | never evaluated | FALSE | never evaluated |
src[x >> 3] & (0x80 >> (x & 7)))TRUE | never evaluated | FALSE | never evaluated |
? 0xffffff : 0x000000); | 0 |
1065 | *dd++ = a; | - |
1066 | } never executed: end of block | 0 |
1067 | *dd++ = 0; | - |
1068 | dst += pitch; | - |
1069 | src += slot->bitmap.pitch; | - |
1070 | } never executed: end of block | 0 |
1071 | } never executed: end of block else if (vfactor != 1TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
1072 | while (h--TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
1073 | uint *dd = (uint *)dst; | - |
1074 | for (int x = 0; x < static_cast<int>(slot->bitmap.width)TRUE | never evaluated | FALSE | never evaluated |
; x++) { | 0 |
1075 | uint a = ((TRUE | never evaluated | FALSE | never evaluated |
src[x >> 3] & (0x80 >> (x & 7)))TRUE | never evaluated | FALSE | never evaluated |
? 0xffffff : 0x000000); | 0 |
1076 | *dd++ = a; | - |
1077 | } never executed: end of block | 0 |
1078 | dst += pitch; | - |
1079 | src += slot->bitmap.pitch; | - |
1080 | } never executed: end of block | 0 |
1081 | } never executed: end of block else { | 0 |
1082 | while (h--TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
1083 | for (int x = 0; x < static_cast<int>(slot->bitmap.width)TRUE | never evaluated | FALSE | never evaluated |
; x++) { | 0 |
1084 | unsigned char a = ((TRUE | never evaluated | FALSE | never evaluated |
src[x >> 3] & (0x80 >> (x & 7)))TRUE | never evaluated | FALSE | never evaluated |
? 0xff : 0x00); | 0 |
1085 | dst[x] = a; | - |
1086 | } never executed: end of block | 0 |
1087 | dst += pitch; | - |
1088 | src += slot->bitmap.pitch; | - |
1089 | } never executed: end of block | 0 |
1090 | } never executed: end of block | 0 |
1091 | } | - |
1092 | | - |
1093 | else if (slot->bitmap.pixel_mode == FT_PIXEL_MODE_BGRATRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1094 | { | - |
1095 | while (h--TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
1096 | memcpy(dst, src, slot->bitmap.width * 4); | - |
1097 | | - |
1098 | dst += slot->bitmap.pitch; | - |
1099 | src += slot->bitmap.pitch; | - |
1100 | } never executed: end of block | 0 |
1101 | info.width = info.linearAdvance = info.xOff = slot->bitmap.width; | - |
1102 | info.height = slot->bitmap.rows; | - |
1103 | info.x = slot->bitmap_left; | - |
1104 | info.y = slot->bitmap_top; | - |
1105 | } never executed: end of block | 0 |
1106 | | - |
1107 | } never executed: end of block else { | 0 |
1108 | QMessageLogger(__FILE__, 1227, __PRETTY_FUNCTION__).warning("QFontEngine: Glyph neither outline nor bitmap format=%d", slot->format); | - |
1109 | return never executed: return 0; 0;never executed: return 0; | 0 |
1110 | } | - |
1111 | } | - |
1112 | | - |
1113 | | - |
1114 | if (!gTRUE | evaluated 4755 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| FALSE | evaluated 13665 times by 57 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QHeaderView
- tst_QItemDelegate
- tst_QLabel
- ...
|
) { | 4755-13665 |
1115 | g = new Glyph; | - |
1116 | g->data = 0; | - |
1117 | }executed 4755 times by 76 tests: end of block Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 4755 |
1118 | | - |
1119 | g->linearAdvance = info.linearAdvance; | - |
1120 | g->width = info.width; | - |
1121 | g->height = info.height; | - |
1122 | g->x = info.x; | - |
1123 | g->y = info.y; | - |
1124 | g->advance = info.xOff; | - |
1125 | g->format = format; | - |
1126 | delete [] g->data; | - |
1127 | g->data = glyph_buffer.take(); | - |
1128 | | - |
1129 | if (setTRUE | evaluated 18420 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| FALSE | never evaluated |
) | 0-18420 |
1130 | set->executed 18420 times by 76 tests: set->setGlyph(glyph, subPixelPosition, g); Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
setGlyph(glyph, subPixelPosition, g);executed 18420 times by 76 tests: set->setGlyph(glyph, subPixelPosition, g); Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 18420 |
1131 | | - |
1132 | returnexecuted 18420 times by 76 tests: return g; Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
g;executed 18420 times by 76 tests: return g; Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 18420 |
1133 | } | - |
1134 | | - |
1135 | QFontEngine::FaceId QFontEngineFT::faceId() const | - |
1136 | { | - |
1137 | returnexecuted 3703 times by 123 tests: return face_id; 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
- ...
face_id;executed 3703 times by 123 tests: return face_id; 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
- ...
| 3703 |
1138 | } | - |
1139 | | - |
1140 | QFontEngine::Properties QFontEngineFT::properties() const | - |
1141 | { | - |
1142 | Properties p = freetype->properties(); | - |
1143 | if (p.postscriptName.isEmpty()TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
1144 | p.postscriptName = QFontEngine::convertToPostscriptFontFamilyName(fontDef.family.toUtf8()); | - |
1145 | } never executed: end of block | 0 |
1146 | | - |
1147 | return never executed: return freetype->properties(); freetype->properties();never executed: return freetype->properties(); | 0 |
1148 | } | - |
1149 | | - |
1150 | QFixed QFontEngineFT::emSquareSize() const | - |
1151 | { | - |
1152 | if ((TRUE | evaluated 2321 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 |
freetype->face->face_flags & ( 1L << 0 ) )TRUE | evaluated 2321 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-2321 |
1153 | returnexecuted 2321 times by 123 tests: return freetype->face->units_per_EM; 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
- ...
freetype->face->units_per_EM;executed 2321 times by 123 tests: return freetype->face->units_per_EM; 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
- ...
| 2321 |
1154 | else | - |
1155 | return never executed: return freetype->face->size->metrics.y_ppem; freetype->face->size->metrics.y_ppem;never executed: return freetype->face->size->metrics.y_ppem; | 0 |
1156 | } | - |
1157 | | - |
1158 | bool QFontEngineFT::getSfntTableData(uint tag, uchar *buffer, uint *length) const | - |
1159 | { | - |
1160 | returnexecuted 944 times by 110 tests: return ft_getSfntTable(freetype->face, tag, buffer, length); 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
ft_getSfntTable(freetype->face, tag, buffer, length);executed 944 times by 110 tests: return ft_getSfntTable(freetype->face, tag, buffer, length); 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 944 |
1161 | } | - |
1162 | | - |
1163 | int QFontEngineFT::synthesized() const | - |
1164 | { | - |
1165 | int s = 0; | - |
1166 | if ((TRUE | never evaluated | FALSE | never evaluated |
fontDef.style != QFont::StyleNormal)TRUE | never evaluated | FALSE | never evaluated |
&& !(freetype->face->style_flags & ( 1 << 0 ))TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1167 | s = SynthesizedItalic; never executed: s = SynthesizedItalic; | 0 |
1168 | if ((TRUE | never evaluated | FALSE | never evaluated |
fontDef.weight >= QFont::Bold)TRUE | never evaluated | FALSE | never evaluated |
&& !(freetype->face->style_flags & ( 1 << 1 ))TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1169 | s |= SynthesizedBold; never executed: s |= SynthesizedBold; | 0 |
1170 | if (fontDef.stretch != 100TRUE | never evaluated | FALSE | never evaluated |
&& (TRUE | never evaluated | FALSE | never evaluated |
freetype->face->face_flags & ( 1L << 0 ) )TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1171 | s |= SynthesizedStretch; never executed: s |= SynthesizedStretch; | 0 |
1172 | return never executed: return s; s;never executed: return s; | 0 |
1173 | } | - |
1174 | | - |
1175 | QFixed QFontEngineFT::ascent() const | - |
1176 | { | - |
1177 | QFixed v = QFixed::fromFixed(metrics.ascender); | - |
1178 | if (scalableBitmapScaleFactor != 1TRUE | never evaluated | FALSE | evaluated 697846 times by 121 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-697846 |
1179 | v *= scalableBitmapScaleFactor; never executed: v *= scalableBitmapScaleFactor; | 0 |
1180 | returnexecuted 697846 times by 121 tests: return v; 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
- ...
v;executed 697846 times by 121 tests: return v; 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
- ...
| 697846 |
1181 | } | - |
1182 | | - |
1183 | QFixed QFontEngineFT::descent() const | - |
1184 | { | - |
1185 | QFixed v = QFixed::fromFixed(-metrics.descender); | - |
1186 | if (scalableBitmapScaleFactor != 1TRUE | never evaluated | FALSE | evaluated 693872 times by 121 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-693872 |
1187 | v *= scalableBitmapScaleFactor; never executed: v *= scalableBitmapScaleFactor; | 0 |
1188 | returnexecuted 693872 times by 121 tests: return v; 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
- ...
v;executed 693872 times by 121 tests: return v; 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
- ...
| 693872 |
1189 | } | - |
1190 | | - |
1191 | QFixed QFontEngineFT::leading() const | - |
1192 | { | - |
1193 | QFixed v = QFixed::fromFixed(metrics.height - metrics.ascender + metrics.descender); | - |
1194 | if (scalableBitmapScaleFactor != 1TRUE | never evaluated | FALSE | evaluated 630142 times by 117 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
) | 0-630142 |
1195 | v *= scalableBitmapScaleFactor; never executed: v *= scalableBitmapScaleFactor; | 0 |
1196 | returnexecuted 630142 times by 117 tests: return v; 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
v;executed 630142 times by 117 tests: return v; 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 630142 |
1197 | } | - |
1198 | | - |
1199 | QFixed QFontEngineFT::xHeight() const | - |
1200 | { | - |
1201 | if (!isScalableBitmap()TRUE | evaluated 12 times by 1 test | FALSE | never evaluated |
) { | 0-12 |
1202 | TT_OS2 *os2 = (TT_OS2 *)FT_Get_Sfnt_Table(freetype->face, ft_sfnt_os2); | - |
1203 | if (os2TRUE | evaluated 12 times by 1 test | FALSE | never evaluated |
&& os2->sxHeightTRUE | never evaluated | FALSE | evaluated 12 times by 1 test |
) { | 0-12 |
1204 | lockFace(); | - |
1205 | QFixed answer = QFixed(os2->sxHeight * freetype->face->size->metrics.y_ppem) / emSquareSize(); | - |
1206 | unlockFace(); | - |
1207 | return never executed: return answer; answer;never executed: return answer; | 0 |
1208 | } | - |
1209 | }executed 12 times by 1 test: end of block else { | 12 |
1210 | return never executed: return QFixed(freetype->face->size->metrics.y_ppem) * scalableBitmapScaleFactor; QFixed(freetype->face->size->metrics.y_ppem) * scalableBitmapScaleFactor;never executed: return QFixed(freetype->face->size->metrics.y_ppem) * scalableBitmapScaleFactor; | 0 |
1211 | } | - |
1212 | returnexecuted 12 times by 1 test: return QFontEngine::xHeight(); QFontEngine::xHeight();executed 12 times by 1 test: return QFontEngine::xHeight(); | 12 |
1213 | } | - |
1214 | | - |
1215 | QFixed QFontEngineFT::averageCharWidth() const | - |
1216 | { | - |
1217 | if (!isScalableBitmap()TRUE | evaluated 217 times by 22 testsEvaluated by:- tst_QApplication
- tst_QDataWidgetMapper
- tst_QFontMetrics
- tst_QGraphicsItem
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QMessageBox
- tst_QMovie
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QProgressDialog
- tst_QSplitter
- tst_QStackedLayout
- tst_QTabWidget
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextFormat
- tst_QTextLayout
- tst_QWidget
- tst_QWizard
| FALSE | never evaluated |
) { | 0-217 |
1218 | TT_OS2 *os2 = (TT_OS2 *)FT_Get_Sfnt_Table(freetype->face, ft_sfnt_os2); | - |
1219 | if (os2TRUE | evaluated 217 times by 22 testsEvaluated by:- tst_QApplication
- tst_QDataWidgetMapper
- tst_QFontMetrics
- tst_QGraphicsItem
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QMessageBox
- tst_QMovie
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QProgressDialog
- tst_QSplitter
- tst_QStackedLayout
- tst_QTabWidget
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextFormat
- tst_QTextLayout
- tst_QWidget
- tst_QWizard
| FALSE | never evaluated |
&& os2->xAvgCharWidthTRUE | evaluated 217 times by 22 testsEvaluated by:- tst_QApplication
- tst_QDataWidgetMapper
- tst_QFontMetrics
- tst_QGraphicsItem
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QMessageBox
- tst_QMovie
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QProgressDialog
- tst_QSplitter
- tst_QStackedLayout
- tst_QTabWidget
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextFormat
- tst_QTextLayout
- tst_QWidget
- tst_QWizard
| FALSE | never evaluated |
) { | 0-217 |
1220 | lockFace(); | - |
1221 | QFixed answer = QFixed(os2->xAvgCharWidth * freetype->face->size->metrics.x_ppem) / emSquareSize(); | - |
1222 | unlockFace(); | - |
1223 | returnexecuted 217 times by 22 tests: return answer; Executed by:- tst_QApplication
- tst_QDataWidgetMapper
- tst_QFontMetrics
- tst_QGraphicsItem
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QMessageBox
- tst_QMovie
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QProgressDialog
- tst_QSplitter
- tst_QStackedLayout
- tst_QTabWidget
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextFormat
- tst_QTextLayout
- tst_QWidget
- tst_QWizard
answer;executed 217 times by 22 tests: return answer; Executed by:- tst_QApplication
- tst_QDataWidgetMapper
- tst_QFontMetrics
- tst_QGraphicsItem
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QMessageBox
- tst_QMovie
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QProgressDialog
- tst_QSplitter
- tst_QStackedLayout
- tst_QTabWidget
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextFormat
- tst_QTextLayout
- tst_QWidget
- tst_QWizard
| 217 |
1224 | } | - |
1225 | } never executed: end of block else { | 0 |
1226 | const qreal aspectRatio = (qreal)xsize / ysize; | - |
1227 | return never executed: return QFixed::fromReal(fontDef.pixelSize * aspectRatio); QFixed::fromReal(fontDef.pixelSize * aspectRatio);never executed: return QFixed::fromReal(fontDef.pixelSize * aspectRatio); | 0 |
1228 | } | - |
1229 | | - |
1230 | return never executed: return QFontEngine::averageCharWidth(); QFontEngine::averageCharWidth();never executed: return QFontEngine::averageCharWidth(); | 0 |
1231 | } | - |
1232 | | - |
1233 | qreal QFontEngineFT::maxCharWidth() const | - |
1234 | { | - |
1235 | QFixed max_advance = QFixed::fromFixed(metrics.max_advance); | - |
1236 | if (scalableBitmapScaleFactor != 1TRUE | never evaluated | FALSE | evaluated 3072 times by 49 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGridLayout
- tst_QHeaderView
- ...
|
) | 0-3072 |
1237 | max_advance *= scalableBitmapScaleFactor; never executed: max_advance *= scalableBitmapScaleFactor; | 0 |
1238 | returnexecuted 3072 times by 49 tests: return max_advance.toReal(); Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGridLayout
- tst_QHeaderView
- ...
max_advance.toReal();executed 3072 times by 49 tests: return max_advance.toReal(); Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGridLayout
- tst_QHeaderView
- ...
| 3072 |
1239 | } | - |
1240 | | - |
1241 | QFixed QFontEngineFT::lineThickness() const | - |
1242 | { | - |
1243 | returnexecuted 499 times by 24 tests: return line_thickness; Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QLabel
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QPrinter
- tst_QPushButton
- tst_QStaticText
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolBar
- tst_QWizard
- tst_languageChange
line_thickness;executed 499 times by 24 tests: return line_thickness; Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QLabel
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QPrinter
- tst_QPushButton
- tst_QStaticText
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolBar
- tst_QWizard
- tst_languageChange
| 499 |
1244 | } | - |
1245 | | - |
1246 | QFixed QFontEngineFT::underlinePosition() const | - |
1247 | { | - |
1248 | returnexecuted 496 times by 23 tests: return underline_position; Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QGlyphRun
- tst_QLabel
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QPrinter
- tst_QPushButton
- tst_QStaticText
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolBar
- tst_QWizard
- tst_languageChange
underline_position;executed 496 times by 23 tests: return underline_position; Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QGlyphRun
- tst_QLabel
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QPrinter
- tst_QPushButton
- tst_QStaticText
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolBar
- tst_QWizard
- tst_languageChange
| 496 |
1249 | } | - |
1250 | | - |
1251 | void QFontEngineFT::doKerning(QGlyphLayout *g, QFontEngine::ShaperFlags flags) const | - |
1252 | { | - |
1253 | if (!kerning_pairs_loadedTRUE | evaluated 24 times by 6 testsEvaluated by:- tst_QAccessibility
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
- tst_QTextLayout
| FALSE | evaluated 570 times by 6 testsEvaluated by:- tst_QAccessibility
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
- tst_QTextLayout
|
) { | 24-570 |
1254 | kerning_pairs_loaded = true; | - |
1255 | lockFace(); | - |
1256 | if (freetype->face->size->metrics.x_ppem != 0TRUE | evaluated 24 times by 6 testsEvaluated by:- tst_QAccessibility
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
- tst_QTextLayout
| FALSE | never evaluated |
) { | 0-24 |
1257 | QFixed scalingFactor = emSquareSize() / QFixed(freetype->face->size->metrics.x_ppem); | - |
1258 | unlockFace(); | - |
1259 | const_cast<QFontEngineFT *>(this)->loadKerningPairs(scalingFactor); | - |
1260 | }executed 24 times by 6 tests: end of block Executed by:- tst_QAccessibility
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
- tst_QTextLayout
else { | 24 |
1261 | unlockFace(); | - |
1262 | } never executed: end of block | 0 |
1263 | } | - |
1264 | | - |
1265 | if (shouldUseDesignMetrics(flags)TRUE | never evaluated | FALSE | evaluated 594 times by 6 testsEvaluated by:- tst_QAccessibility
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
- tst_QTextLayout
|
&& !(fontDef.styleStrategy & QFont::ForceIntegerMetrics)TRUE | never evaluated | FALSE | never evaluated |
) | 0-594 |
1266 | flags |= DesignMetrics; never executed: flags |= DesignMetrics; | 0 |
1267 | else | - |
1268 | flags &= ~DesignMetrics;executed 594 times by 6 tests: flags &= ~DesignMetrics; Executed by:- tst_QAccessibility
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
- tst_QTextLayout
| 594 |
1269 | | - |
1270 | QFontEngine::doKerning(g, flags); | - |
1271 | }executed 594 times by 6 tests: end of block Executed by:- tst_QAccessibility
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
- tst_QTextLayout
| 594 |
1272 | | - |
1273 | static inline FT_Matrix QTransformToFTMatrix(const QTransform &matrix) | - |
1274 | { | - |
1275 | FT_Matrix m; | - |
1276 | | - |
1277 | m.xx = FT_Fixed(matrix.m11() * 65536); | - |
1278 | m.xy = FT_Fixed(-matrix.m21() * 65536); | - |
1279 | m.yx = FT_Fixed(-matrix.m12() * 65536); | - |
1280 | m.yy = FT_Fixed(matrix.m22() * 65536); | - |
1281 | | - |
1282 | returnexecuted 311703 times by 76 tests: return m; Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
m;executed 311703 times by 76 tests: return m; Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 311703 |
1283 | } | - |
1284 | | - |
1285 | QFontEngineFT::QGlyphSet *QFontEngineFT::loadGlyphSet(const QTransform &matrix) | - |
1286 | { | - |
1287 | if (matrix.type() > QTransform::TxShearTRUE | never evaluated | FALSE | evaluated 311703 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
|| !cacheEnabledTRUE | never evaluated | FALSE | evaluated 311703 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
) | 0-311703 |
1288 | return never executed: return 0; 0;never executed: return 0; | 0 |
1289 | | - |
1290 | | - |
1291 | if (!( freetype->face->face_flags & ( 1L << 0 ) )TRUE | never evaluated | FALSE | evaluated 311703 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
) | 0-311703 |
1292 | return never executed: return matrix.type() <= QTransform::TxTranslate ? &defaultGlyphSet : nullptr; matrix.type() <= QTransform::TxTranslate ? &defaultGlyphSet : nullptr;never executed: return matrix.type() <= QTransform::TxTranslate ? &defaultGlyphSet : nullptr; | 0 |
1293 | | - |
1294 | FT_Matrix m = QTransformToFTMatrix(matrix); | - |
1295 | | - |
1296 | QGlyphSet *gs = 0; | - |
1297 | | - |
1298 | for (int i = 0; i < transformedGlyphSets.count()TRUE | evaluated 312787 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| FALSE | evaluated 262 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
; ++i) { | 262-312787 |
1299 | const QGlyphSet &g = transformedGlyphSets.at(i); | - |
1300 | if (g.transformationMatrix.xx == m.xxTRUE | evaluated 311483 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| FALSE | evaluated 1304 times by 7 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
|
| 1304-311483 |
1301 | && g.transformationMatrix.xy == m.xyTRUE | evaluated 311441 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| FALSE | evaluated 42 times by 3 testsEvaluated by:- tst_QGraphicsView
- tst_QMdiArea
- tst_QTabWidget
|
| 42-311441 |
1302 | && g.transformationMatrix.yx == m.yxTRUE | evaluated 311441 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| FALSE | never evaluated |
| 0-311441 |
1303 | && g.transformationMatrix.yy == m.yyTRUE | evaluated 311441 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| FALSE | never evaluated |
) { | 0-311441 |
1304 | | - |
1305 | | - |
1306 | transformedGlyphSets.move(i, 0); | - |
1307 | gs = &transformedGlyphSets[0]; | - |
1308 | break;executed 311441 times by 76 tests: break; Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 311441 |
1309 | } | - |
1310 | }executed 1346 times by 7 tests: end of block Executed by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
| 1346 |
1311 | | - |
1312 | if (!gsTRUE | evaluated 262 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| FALSE | evaluated 311441 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
) { | 262-311441 |
1313 | | - |
1314 | if (transformedGlyphSets.count() >= 10TRUE | evaluated 121 times by 2 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsView
| FALSE | evaluated 141 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
) { | 121-141 |
1315 | transformedGlyphSets.move(transformedGlyphSets.size() - 1, 0); | - |
1316 | }executed 121 times by 2 tests: end of block Executed by:- tst_QGraphicsItem
- tst_QGraphicsView
else { | 121 |
1317 | transformedGlyphSets.prepend(QGlyphSet()); | - |
1318 | }executed 141 times by 76 tests: end of block Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 141 |
1319 | gs = &transformedGlyphSets[0]; | - |
1320 | gs->clear(); | - |
1321 | gs->transformationMatrix = m; | - |
1322 | gs->outline_drawing = fontDef.pixelSize * fontDef.pixelSize * qAbs(matrix.det()) >= 64 * 64; | - |
1323 | }executed 262 times by 76 tests: end of block Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 262 |
1324 | ((!(gs != 0)) ? qt_assert("gs != 0",__FILE__,1443) : qt_noop()); | - |
1325 | | - |
1326 | returnexecuted 311703 times by 76 tests: return gs; Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
gs;executed 311703 times by 76 tests: return gs; Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 311703 |
1327 | } | - |
1328 | | - |
1329 | void QFontEngineFT::getUnscaledGlyph(glyph_t glyph, QPainterPath *path, glyph_metrics_t *metrics) | - |
1330 | { | - |
1331 | FT_Face face = lockFace(Unscaled); | - |
1332 | FT_Set_Transform(face, 0, 0); | - |
1333 | FT_Load_Glyph(face, glyph, ( 1L << 3 )); | - |
1334 | | - |
1335 | int left = face->glyph->metrics.horiBearingX; | - |
1336 | int right = face->glyph->metrics.horiBearingX + face->glyph->metrics.width; | - |
1337 | int top = face->glyph->metrics.horiBearingY; | - |
1338 | int bottom = face->glyph->metrics.horiBearingY - face->glyph->metrics.height; | - |
1339 | | - |
1340 | QFixedPoint p; | - |
1341 | p.x = 0; | - |
1342 | p.y = 0; | - |
1343 | | - |
1344 | metrics->width = QFixed::fromFixed(right-left); | - |
1345 | metrics->height = QFixed::fromFixed(top-bottom); | - |
1346 | metrics->x = QFixed::fromFixed(left); | - |
1347 | metrics->y = QFixed::fromFixed(-top); | - |
1348 | metrics->xoff = QFixed::fromFixed(face->glyph->advance.x); | - |
1349 | | - |
1350 | if (!( freetype->face->face_flags & ( 1L << 0 ) )TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1351 | QFreetypeFace::addBitmapToPath(face->glyph, p, path); never executed: QFreetypeFace::addBitmapToPath(face->glyph, p, path); | 0 |
1352 | else | - |
1353 | QFreetypeFace::addGlyphToPath(face, face->glyph, p, path, face->units_per_EM << 6, face->units_per_EM << 6); never executed: QFreetypeFace::addGlyphToPath(face, face->glyph, p, path, face->units_per_EM << 6, face->units_per_EM << 6); | 0 |
1354 | | - |
1355 | FT_Set_Transform(face, &freetype->matrix, 0); | - |
1356 | unlockFace(); | - |
1357 | } never executed: end of block | 0 |
1358 | | - |
1359 | bool QFontEngineFT::supportsTransformation(const QTransform &transform) const | - |
1360 | { | - |
1361 | returnexecuted 43 times by 4 tests: return transform.type() <= QTransform::TxRotate; Executed by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QStaticText
transform.type() <= QTransform::TxRotate;executed 43 times by 4 tests: return transform.type() <= QTransform::TxRotate; Executed by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QStaticText
| 43 |
1362 | } | - |
1363 | | - |
1364 | void QFontEngineFT::addOutlineToPath(qreal x, qreal y, const QGlyphLayout &glyphs, QPainterPath *path, QTextItem::RenderFlags flags) | - |
1365 | { | - |
1366 | if (!glyphs.numGlyphsTRUE | never evaluated | FALSE | evaluated 5 times by 3 testsEvaluated by:- tst_QPicture
- tst_QStaticText
- tst_QTextTable
|
) | 0-5 |
1367 | return; never executed: return; | 0 |
1368 | | - |
1369 | if ((TRUE | evaluated 5 times by 3 testsEvaluated by:- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| FALSE | never evaluated |
freetype->face->face_flags & ( 1L << 0 ) )TRUE | evaluated 5 times by 3 testsEvaluated by:- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| FALSE | never evaluated |
) { | 0-5 |
1370 | QFontEngine::addOutlineToPath(x, y, glyphs, path, flags); | - |
1371 | }executed 5 times by 3 tests: end of block Executed by:- tst_QPicture
- tst_QStaticText
- tst_QTextTable
else { | 5 |
1372 | QVarLengthArray<QFixedPoint> positions; | - |
1373 | QVarLengthArray<glyph_t> positioned_glyphs; | - |
1374 | QTransform matrix; | - |
1375 | matrix.translate(x, y); | - |
1376 | getGlyphPositions(glyphs, matrix, flags, positioned_glyphs, positions); | - |
1377 | | - |
1378 | FT_Face face = lockFace(Unscaled); | - |
1379 | for (int gl = 0; gl < glyphs.numGlyphsTRUE | never evaluated | FALSE | never evaluated |
; gl++) { | 0 |
1380 | FT_UInt glyph = positioned_glyphs[gl]; | - |
1381 | FT_Load_Glyph(face, glyph, ( (FT_Int32)( (FT_RENDER_MODE_MONO) & 15 ) << 16 )); | - |
1382 | QFreetypeFace::addBitmapToPath(face->glyph, positions[gl], path); | - |
1383 | } never executed: end of block | 0 |
1384 | unlockFace(); | - |
1385 | } never executed: end of block | 0 |
1386 | } | - |
1387 | | - |
1388 | void QFontEngineFT::addGlyphsToPath(glyph_t *glyphs, QFixedPoint *positions, int numGlyphs, | - |
1389 | QPainterPath *path, QTextItem::RenderFlags) | - |
1390 | { | - |
1391 | FT_Face face = lockFace(Unscaled); | - |
1392 | | - |
1393 | for (int gl = 0; gl < numGlyphsTRUE | evaluated 163 times by 6 testsEvaluated by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| FALSE | evaluated 21 times by 6 testsEvaluated by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
|
; gl++) { | 21-163 |
1394 | FT_UInt glyph = glyphs[gl]; | - |
1395 | | - |
1396 | FT_Load_Glyph(face, glyph, ( 1L << 3 )); | - |
1397 | | - |
1398 | FT_GlyphSlot g = face->glyph; | - |
1399 | if (g->format != FT_GLYPH_FORMAT_OUTLINETRUE | never evaluated | FALSE | evaluated 163 times by 6 testsEvaluated by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
|
) | 0-163 |
1400 | continue; never executed: continue; | 0 |
1401 | if (emboldenTRUE | never evaluated | FALSE | evaluated 163 times by 6 testsEvaluated by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
|
) | 0-163 |
1402 | FT_GlyphSlot_Embolden(g); never executed: FT_GlyphSlot_Embolden(g); | 0 |
1403 | if (obliquenTRUE | never evaluated | FALSE | evaluated 163 times by 6 testsEvaluated by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
|
) | 0-163 |
1404 | FT_GlyphSlot_Oblique(g); never executed: FT_GlyphSlot_Oblique(g); | 0 |
1405 | QFreetypeFace::addGlyphToPath(face, g, positions[gl], path, xsize, ysize); | - |
1406 | }executed 163 times by 6 tests: end of block Executed by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| 163 |
1407 | unlockFace(); | - |
1408 | }executed 21 times by 6 tests: end of block Executed by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| 21 |
1409 | | - |
1410 | glyph_t QFontEngineFT::glyphIndex(uint ucs4) const | - |
1411 | { | - |
1412 | glyph_t glyph = ucs4 < QFreetypeFace::cmapCacheSizeTRUE | evaluated 5293595 times by 114 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 223310 times by 33 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QColorDialog
- tst_QComplexText
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QItemDelegate
- tst_QLabel
- tst_QLineEdit
- tst_QListView
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QPlainTextEdit
- tst_QRawFont
- tst_QStackedLayout
- tst_QStaticText
- tst_QTableView
- tst_QTextCursor
- tst_QTextDocument
- tst_QTextDocumentLayout
- ...
|
? freetype->cmapCache[ucs4] : 0; | 223310-5293595 |
1413 | if (glyph == 0TRUE | evaluated 224382 times by 69 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QFormLayout
- ...
| FALSE | evaluated 5292523 times by 113 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
- ...
|
) { | 224382-5292523 |
1414 | FT_Face face = freetype->face; | - |
1415 | glyph = FT_Get_Char_Index(face, ucs4); | - |
1416 | if (glyph == 0TRUE | evaluated 207355 times by 8 testsEvaluated by:- tst_QAccessibility
- tst_QComplexText
- tst_QFontDialog
- tst_QGlyphRun
- tst_QLabel
- tst_QRawFont
- tst_QTextLayout
- tst_QTextScriptEngine
| FALSE | evaluated 17027 times by 69 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QFormLayout
- ...
|
) { | 17027-207355 |
1417 | | - |
1418 | | - |
1419 | if (ucs4 == QChar::NbspTRUE | never evaluated | FALSE | evaluated 207355 times by 8 testsEvaluated by:- tst_QAccessibility
- tst_QComplexText
- tst_QFontDialog
- tst_QGlyphRun
- tst_QLabel
- tst_QRawFont
- tst_QTextLayout
- tst_QTextScriptEngine
|
|| ucs4 == QChar::TabulationTRUE | never evaluated | FALSE | evaluated 207355 times by 8 testsEvaluated by:- tst_QAccessibility
- tst_QComplexText
- tst_QFontDialog
- tst_QGlyphRun
- tst_QLabel
- tst_QRawFont
- tst_QTextLayout
- tst_QTextScriptEngine
|
) { | 0-207355 |
1420 | glyph = FT_Get_Char_Index(face, QChar::Space); | - |
1421 | } never executed: end of block else if (freetype->symbol_mapTRUE | evaluated 39 times by 1 test | FALSE | evaluated 207316 times by 8 testsEvaluated by:- tst_QAccessibility
- tst_QComplexText
- tst_QFontDialog
- tst_QGlyphRun
- tst_QLabel
- tst_QRawFont
- tst_QTextLayout
- tst_QTextScriptEngine
|
) { | 0-207316 |
1422 | | - |
1423 | | - |
1424 | | - |
1425 | | - |
1426 | | - |
1427 | | - |
1428 | FT_Set_Charmap(face, freetype->symbol_map); | - |
1429 | glyph = FT_Get_Char_Index(face, ucs4); | - |
1430 | FT_Set_Charmap(face, freetype->unicode_map); | - |
1431 | }executed 39 times by 1 test: end of block | 39 |
1432 | }executed 207355 times by 8 tests: end of block Executed by:- tst_QAccessibility
- tst_QComplexText
- tst_QFontDialog
- tst_QGlyphRun
- tst_QLabel
- tst_QRawFont
- tst_QTextLayout
- tst_QTextScriptEngine
| 207355 |
1433 | if (ucs4 < QFreetypeFace::cmapCacheSizeTRUE | evaluated 1072 times by 56 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| FALSE | evaluated 223310 times by 33 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QColorDialog
- tst_QComplexText
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QItemDelegate
- tst_QLabel
- tst_QLineEdit
- tst_QListView
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QPlainTextEdit
- tst_QRawFont
- tst_QStackedLayout
- tst_QStaticText
- tst_QTableView
- tst_QTextCursor
- tst_QTextDocument
- tst_QTextDocumentLayout
- ...
|
) | 1072-223310 |
1434 | freetype->cmapCache[ucs4] = glyph;executed 1072 times by 56 tests: freetype->cmapCache[ucs4] = glyph; Executed by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFontMetrics
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 1072 |
1435 | }executed 224382 times by 69 tests: end of block Executed by:- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QFormLayout
- ...
| 224382 |
1436 | | - |
1437 | returnexecuted 5516905 times by 114 tests: return glyph; 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
- ...
glyph;executed 5516905 times by 114 tests: return glyph; 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
- ...
| 5516905 |
1438 | } | - |
1439 | | - |
1440 | bool QFontEngineFT::stringToCMap(const QChar *str, int len, QGlyphLayout *glyphs, int *nglyphs, | - |
1441 | QFontEngine::ShaperFlags flags) const | - |
1442 | { | - |
1443 | ((!(glyphs->numGlyphs >= *nglyphs)) ? qt_assert("glyphs->numGlyphs >= *nglyphs",__FILE__,1562) : qt_noop()); | - |
1444 | if (*TRUE | never evaluated | FALSE | evaluated 566630 times by 111 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
nglyphs < lenTRUE | never evaluated | FALSE | evaluated 566630 times by 111 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
) { | 0-566630 |
1445 | *nglyphs = len; | - |
1446 | return never executed: return false; false;never executed: return false; | 0 |
1447 | } | - |
1448 | | - |
1449 | int glyph_pos = 0; | - |
1450 | if (freetype->symbol_mapTRUE | evaluated 1 time by 1 test | FALSE | evaluated 566629 times by 111 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
) { | 1-566629 |
1451 | FT_Face face = freetype->face; | - |
1452 | QStringIterator it(str, str + len); | - |
1453 | while (it.hasNext()TRUE | evaluated 8 times by 1 test | FALSE | evaluated 1 time by 1 test |
) { | 1-8 |
1454 | uint uc = it.next(); | - |
1455 | glyphs->glyphs[glyph_pos] = uc < QFreetypeFace::cmapCacheSizeTRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
? freetype->cmapCache[uc] : 0; | 0-8 |
1456 | if ( !glyphs->glyphs[glyph_pos]TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
) { | 0-8 |
1457 | | - |
1458 | | - |
1459 | | - |
1460 | | - |
1461 | | - |
1462 | | - |
1463 | glyph_t glyph = FT_Get_Char_Index(face, uc); | - |
1464 | | - |
1465 | | - |
1466 | if (!glyphTRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
&& (uc == 0xa0TRUE | never evaluated | FALSE | evaluated 8 times by 1 test |
|| uc == 0x9TRUE | never evaluated | FALSE | evaluated 8 times by 1 test |
)) { | 0-8 |
1467 | uc = 0x20; | - |
1468 | glyph = FT_Get_Char_Index(face, uc); | - |
1469 | } never executed: end of block | 0 |
1470 | if (!glyphTRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
) { | 0-8 |
1471 | FT_Set_Charmap(face, freetype->symbol_map); | - |
1472 | glyph = FT_Get_Char_Index(face, uc); | - |
1473 | FT_Set_Charmap(face, freetype->unicode_map); | - |
1474 | }executed 8 times by 1 test: end of block | 8 |
1475 | glyphs->glyphs[glyph_pos] = glyph; | - |
1476 | if (uc < QFreetypeFace::cmapCacheSizeTRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
) | 0-8 |
1477 | freetype->cmapCache[uc] = glyph;executed 8 times by 1 test: freetype->cmapCache[uc] = glyph; | 8 |
1478 | }executed 8 times by 1 test: end of block | 8 |
1479 | ++glyph_pos; | - |
1480 | }executed 8 times by 1 test: end of block | 8 |
1481 | }executed 1 time by 1 test: end of block else { | 1 |
1482 | FT_Face face = freetype->face; | - |
1483 | QStringIterator it(str, str + len); | - |
1484 | while (it.hasNext()TRUE | evaluated 5510738 times by 111 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| FALSE | evaluated 566629 times by 111 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
) { | 566629-5510738 |
1485 | uint uc = it.next(); | - |
1486 | glyphs->glyphs[glyph_pos] = uc < QFreetypeFace::cmapCacheSizeTRUE | evaluated 5289887 times by 111 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| FALSE | evaluated 220851 times by 31 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QColorDialog
- tst_QComplexText
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDatabase
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QItemDelegate
- tst_QLabel
- tst_QLineEdit
- tst_QListView
- tst_QMdiArea
- tst_QPlainTextEdit
- tst_QRawFont
- tst_QStackedLayout
- tst_QStaticText
- tst_QTableView
- tst_QTextCursor
- tst_QTextDocument
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextLayout
- ...
|
? freetype->cmapCache[uc] : 0; | 220851-5289887 |
1487 | if (!glyphs->glyphs[glyph_pos]TRUE | evaluated 225430 times by 111 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| FALSE | evaluated 5285308 times by 109 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
) { | 225430-5285308 |
1488 | { | - |
1489 | redo: | - |
1490 | glyph_t glyph = FT_Get_Char_Index(face, uc); | - |
1491 | if (!glyphTRUE | evaluated 207352 times by 9 testsEvaluated by:- tst_QAccessibility
- tst_QComplexText
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QLabel
- tst_QRawFont
- tst_QTextLayout
- tst_QTextScriptEngine
| FALSE | evaluated 18078 times by 111 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
&& (uc == 0xa0TRUE | never evaluated | FALSE | evaluated 207352 times by 9 testsEvaluated by:- tst_QAccessibility
- tst_QComplexText
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QLabel
- tst_QRawFont
- tst_QTextLayout
- tst_QTextScriptEngine
|
|| uc == 0x9TRUE | never evaluated | FALSE | evaluated 207352 times by 9 testsEvaluated by:- tst_QAccessibility
- tst_QComplexText
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QLabel
- tst_QRawFont
- tst_QTextLayout
- tst_QTextScriptEngine
|
)) { | 0-207352 |
1492 | uc = 0x20; | - |
1493 | goto never executed: goto redo; redo;never executed: goto redo; | 0 |
1494 | } | - |
1495 | glyphs->glyphs[glyph_pos] = glyph; | - |
1496 | if (uc < QFreetypeFace::cmapCacheSizeTRUE | evaluated 4579 times by 111 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| FALSE | evaluated 220851 times by 31 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QColorDialog
- tst_QComplexText
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDatabase
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QItemDelegate
- tst_QLabel
- tst_QLineEdit
- tst_QListView
- tst_QMdiArea
- tst_QPlainTextEdit
- tst_QRawFont
- tst_QStackedLayout
- tst_QStaticText
- tst_QTableView
- tst_QTextCursor
- tst_QTextDocument
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QTextLayout
- ...
|
) | 4579-220851 |
1497 | freetype->cmapCache[uc] = glyph;executed 4579 times by 111 tests: freetype->cmapCache[uc] = glyph; 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 4579 |
1498 | } | - |
1499 | }executed 225430 times by 111 tests: end of block Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 225430 |
1500 | ++glyph_pos; | - |
1501 | }executed 5510738 times by 111 tests: end of block Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 5510738 |
1502 | }executed 566629 times by 111 tests: end of block Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 566629 |
1503 | | - |
1504 | *nglyphs = glyph_pos; | - |
1505 | glyphs->numGlyphs = glyph_pos; | - |
1506 | | - |
1507 | if (!(flags & GlyphIndicesOnly)TRUE | evaluated 1 time by 1 test | FALSE | evaluated 566629 times by 111 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
) | 1-566629 |
1508 | recalcAdvances(glyphs, flags);executed 1 time by 1 test: recalcAdvances(glyphs, flags); | 1 |
1509 | | - |
1510 | returnexecuted 566630 times by 111 tests: return 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
true;executed 566630 times by 111 tests: return 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 566630 |
1511 | } | - |
1512 | | - |
1513 | bool QFontEngineFT::shouldUseDesignMetrics(QFontEngine::ShaperFlags flags) const | - |
1514 | { | - |
1515 | if (!( freetype->face->face_flags & ( 1L << 0 ) )TRUE | never evaluated | FALSE | evaluated 5515398 times by 113 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
) | 0-5515398 |
1516 | return never executed: return false; false;never executed: return false; | 0 |
1517 | | - |
1518 | returnexecuted 5515398 times by 113 tests: return default_hint_style == HintNone || default_hint_style == HintLight || (flags & DesignMetrics); 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
default_hint_style == HintNone || default_hint_style == HintLight || (flags & DesignMetrics);executed 5515398 times by 113 tests: return default_hint_style == HintNone || default_hint_style == HintLight || (flags & DesignMetrics); 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 5515398 |
1519 | } | - |
1520 | | - |
1521 | QFixed QFontEngineFT::scaledBitmapMetrics(QFixed m) const | - |
1522 | { | - |
1523 | return never executed: return m * scalableBitmapScaleFactor; m * scalableBitmapScaleFactor;never executed: return m * scalableBitmapScaleFactor; | 0 |
1524 | } | - |
1525 | | - |
1526 | glyph_metrics_t QFontEngineFT::scaledBitmapMetrics(const glyph_metrics_t &m) const | - |
1527 | { | - |
1528 | glyph_metrics_t metrics; | - |
1529 | metrics.x = scaledBitmapMetrics(m.x); | - |
1530 | metrics.y = scaledBitmapMetrics(m.y); | - |
1531 | metrics.width = scaledBitmapMetrics(m.width); | - |
1532 | metrics.height = scaledBitmapMetrics(m.height); | - |
1533 | metrics.xoff = scaledBitmapMetrics(m.xoff); | - |
1534 | metrics.yoff = scaledBitmapMetrics(m.yoff); | - |
1535 | return never executed: return metrics; metrics;never executed: return metrics; | 0 |
1536 | } | - |
1537 | | - |
1538 | void QFontEngineFT::recalcAdvances(QGlyphLayout *glyphs, QFontEngine::ShaperFlags flags) const | - |
1539 | { | - |
1540 | FT_Face face = 0; | - |
1541 | bool design = shouldUseDesignMetrics(flags); | - |
1542 | for (int i = 0; i < glyphs->numGlyphsTRUE | evaluated 5515004 times by 113 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| FALSE | evaluated 5514804 times by 113 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
; i++) { | 5514804-5515004 |
1543 | Glyph *g = cacheEnabledTRUE | evaluated 5515004 times by 113 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| FALSE | never evaluated |
? defaultGlyphSet.getGlyph(glyphs->glyphs[i]) : 0; | 0-5515004 |
1544 | | - |
1545 | GlyphFormat acceptableFormat = (TRUE | evaluated 5515004 times by 113 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| FALSE | never evaluated |
defaultFormat != Format_None)TRUE | evaluated 5515004 times by 113 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| FALSE | never evaluated |
? defaultFormat : Format_Mono; | 0-5515004 |
1546 | if (gTRUE | evaluated 5507743 times by 111 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| FALSE | evaluated 7261 times by 113 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
&& g->format == acceptableFormatTRUE | evaluated 5507743 times by 111 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| FALSE | never evaluated |
) { | 0-5507743 |
1547 | glyphs->advances[i] = designTRUE | evaluated 16 times by 1 test | FALSE | evaluated 5507727 times by 111 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
? QFixed::fromFixed(g->linearAdvance) : QFixed(g->advance); | 16-5507727 |
1548 | }executed 5507743 times by 111 tests: end of block Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
else { | 5507743 |
1549 | if (!faceTRUE | evaluated 7189 times by 113 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| FALSE | evaluated 72 times by 3 testsEvaluated by:- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
|
) | 72-7189 |
1550 | face = lockFace();executed 7189 times by 113 tests: face = lockFace(); 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 7189 |
1551 | g = loadGlyph(cacheEnabled ? &defaultGlyphSet : 0, glyphs->glyphs[i], 0, Format_None, true); | - |
1552 | if (gTRUE | evaluated 7247 times by 113 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| FALSE | evaluated 14 times by 1 test |
) | 14-7247 |
1553 | glyphs->advances[i] = designTRUE | evaluated 81 times by 2 tests | FALSE | evaluated 7166 times by 113 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
? QFixed::fromFixed(g->linearAdvance) : QFixed(g->advance);executed 7247 times by 113 tests: glyphs->advances[i] = design ? QFixed::fromFixed(g->linearAdvance) : QFixed(g->advance); 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 81-7247 |
1554 | else | - |
1555 | glyphs->advances[i] = designTRUE | never evaluated | FALSE | evaluated 14 times by 1 test |
? QFixed::fromFixed(face->glyph->linearHoriAdvance >> 10)executed 14 times by 1 test: glyphs->advances[i] = design ? QFixed::fromFixed(face->glyph->linearHoriAdvance >> 10) : QFixed::fromFixed(face->glyph->metrics.horiAdvance).round(); | 0-14 |
1556 | : QFixed::fromFixed(face->glyph->metrics.horiAdvance).round();executed 14 times by 1 test: glyphs->advances[i] = design ? QFixed::fromFixed(face->glyph->linearHoriAdvance >> 10) : QFixed::fromFixed(face->glyph->metrics.horiAdvance).round(); | 14 |
1557 | if (!cacheEnabledTRUE | never evaluated | FALSE | evaluated 7261 times by 113 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
&& g != &emptyGlyphTRUE | never evaluated | FALSE | never evaluated |
) | 0-7261 |
1558 | delete g; never executed: delete g; | 0 |
1559 | }executed 7261 times by 113 tests: end of block Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 7261 |
1560 | | - |
1561 | if (scalableBitmapScaleFactor != 1TRUE | never evaluated | FALSE | evaluated 5515004 times by 113 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
) | 0-5515004 |
1562 | glyphs->advances[i] *= scalableBitmapScaleFactor; never executed: glyphs->advances[i] *= scalableBitmapScaleFactor; | 0 |
1563 | }executed 5515004 times by 113 tests: end of block Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 5515004 |
1564 | if (faceTRUE | evaluated 7189 times by 113 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| FALSE | evaluated 5507615 times by 111 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
) | 7189-5507615 |
1565 | unlockFace();executed 7189 times by 113 tests: unlockFace(); 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 7189 |
1566 | | - |
1567 | if (fontDef.styleStrategy & QFont::ForceIntegerMetricsTRUE | evaluated 156 times by 1 test | FALSE | evaluated 5514648 times by 113 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_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
) { | 156-5514648 |
1568 | for (int i = 0; i < glyphs->numGlyphsTRUE | evaluated 310 times by 1 test | FALSE | evaluated 156 times by 1 test |
; ++i) | 156-310 |
1569 | glyphs->advances[i] = glyphs->advances[i].round();executed 310 times by 1 test: glyphs->advances[i] = glyphs->advances[i].round(); | 310 |
1570 | }executed 156 times by 1 test: end of block | 156 |
1571 | }executed 5514804 times by 113 tests: end of block Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 5514804 |
1572 | | - |
1573 | glyph_metrics_t QFontEngineFT::boundingBox(const QGlyphLayout &glyphs) | - |
1574 | { | - |
1575 | FT_Face face = 0; | - |
1576 | | - |
1577 | glyph_metrics_t overall; | - |
1578 | | - |
1579 | if (!isScalableBitmap()TRUE | evaluated 3606 times by 21 testsEvaluated by:- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGraphicsProxyWidget
- tst_QGridLayout
- tst_QGroupBox
- tst_QInputDialog
- tst_QMdiSubWindow
- tst_QPrinter
- tst_QStyleSheetStyle
- tst_QTextLayout
- tst_QWizard
- tst_languageChange
- tst_qapplication - unknown status
| FALSE | never evaluated |
) { | 0-3606 |
1580 | overall.y = -ascent(); | - |
1581 | overall.height = ascent() + descent(); | - |
1582 | }executed 3606 times by 21 tests: end of block Executed by:- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGraphicsProxyWidget
- tst_QGridLayout
- tst_QGroupBox
- tst_QInputDialog
- tst_QMdiSubWindow
- tst_QPrinter
- tst_QStyleSheetStyle
- tst_QTextLayout
- tst_QWizard
- tst_languageChange
- tst_qapplication - unknown status
else { | 3606 |
1583 | overall.y = QFixed::fromFixed(-metrics.ascender); | - |
1584 | overall.height = QFixed::fromFixed(metrics.ascender - metrics.descender); | - |
1585 | } never executed: end of block | 0 |
1586 | | - |
1587 | QFixed ymax = 0; | - |
1588 | QFixed xmax = 0; | - |
1589 | for (int i = 0; i < glyphs.numGlyphsTRUE | evaluated 56297 times by 21 testsEvaluated by:- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGraphicsProxyWidget
- tst_QGridLayout
- tst_QGroupBox
- tst_QInputDialog
- tst_QMdiSubWindow
- tst_QPrinter
- tst_QStyleSheetStyle
- tst_QTextLayout
- tst_QWizard
- tst_languageChange
- tst_qapplication - unknown status
| FALSE | evaluated 3606 times by 21 testsEvaluated by:- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGraphicsProxyWidget
- tst_QGridLayout
- tst_QGroupBox
- tst_QInputDialog
- tst_QMdiSubWindow
- tst_QPrinter
- tst_QStyleSheetStyle
- tst_QTextLayout
- tst_QWizard
- tst_languageChange
- tst_qapplication - unknown status
|
; i++) { | 3606-56297 |
1590 | Glyph *g = cacheEnabledTRUE | evaluated 56297 times by 21 testsEvaluated by:- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGraphicsProxyWidget
- tst_QGridLayout
- tst_QGroupBox
- tst_QInputDialog
- tst_QMdiSubWindow
- tst_QPrinter
- tst_QStyleSheetStyle
- tst_QTextLayout
- tst_QWizard
- tst_languageChange
- tst_qapplication - unknown status
| FALSE | never evaluated |
? defaultGlyphSet.getGlyph(glyphs.glyphs[i]) : 0; | 0-56297 |
1591 | if (!gTRUE | never evaluated | FALSE | evaluated 56297 times by 21 testsEvaluated by:- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGraphicsProxyWidget
- tst_QGridLayout
- tst_QGroupBox
- tst_QInputDialog
- tst_QMdiSubWindow
- tst_QPrinter
- tst_QStyleSheetStyle
- tst_QTextLayout
- tst_QWizard
- tst_languageChange
- tst_qapplication - unknown status
|
) { | 0-56297 |
1592 | if (!faceTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1593 | face = lockFace(); never executed: face = lockFace(); | 0 |
1594 | g = loadGlyph(cacheEnabled ? &defaultGlyphSet : 0, glyphs.glyphs[i], 0, Format_None, true); | - |
1595 | } never executed: end of block | 0 |
1596 | if (gTRUE | evaluated 56297 times by 21 testsEvaluated by:- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGraphicsProxyWidget
- tst_QGridLayout
- tst_QGroupBox
- tst_QInputDialog
- tst_QMdiSubWindow
- tst_QPrinter
- tst_QStyleSheetStyle
- tst_QTextLayout
- tst_QWizard
- tst_languageChange
- tst_qapplication - unknown status
| FALSE | never evaluated |
) { | 0-56297 |
1597 | QFixed x = overall.xoff + glyphs.offsets[i].x + g->x; | - |
1598 | QFixed y = overall.yoff + glyphs.offsets[i].y - g->y; | - |
1599 | overall.x = qMin(overall.x, x); | - |
1600 | overall.y = qMin(overall.y, y); | - |
1601 | xmax = qMax(xmax, x + g->width); | - |
1602 | ymax = qMax(ymax, y + g->height); | - |
1603 | overall.xoff += g->advance; | - |
1604 | if (!cacheEnabledTRUE | never evaluated | FALSE | evaluated 56297 times by 21 testsEvaluated by:- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGraphicsProxyWidget
- tst_QGridLayout
- tst_QGroupBox
- tst_QInputDialog
- tst_QMdiSubWindow
- tst_QPrinter
- tst_QStyleSheetStyle
- tst_QTextLayout
- tst_QWizard
- tst_languageChange
- tst_qapplication - unknown status
|
&& g != &emptyGlyphTRUE | never evaluated | FALSE | never evaluated |
) | 0-56297 |
1605 | delete g; never executed: delete g; | 0 |
1606 | }executed 56297 times by 21 tests: end of block Executed by:- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGraphicsProxyWidget
- tst_QGridLayout
- tst_QGroupBox
- tst_QInputDialog
- tst_QMdiSubWindow
- tst_QPrinter
- tst_QStyleSheetStyle
- tst_QTextLayout
- tst_QWizard
- tst_languageChange
- tst_qapplication - unknown status
else { | 56297 |
1607 | int left = ((face->glyph->metrics.horiBearingX) & -64); | - |
1608 | int right = (((face->glyph->metrics.horiBearingX + face->glyph->metrics.width)+63) & -64); | - |
1609 | int top = (((face->glyph->metrics.horiBearingY)+63) & -64); | - |
1610 | int bottom = ((face->glyph->metrics.horiBearingY - face->glyph->metrics.height) & -64); | - |
1611 | | - |
1612 | QFixed x = overall.xoff + glyphs.offsets[i].x - (-((left) >> 6)); | - |
1613 | QFixed y = overall.yoff + glyphs.offsets[i].y - ((top) >> 6); | - |
1614 | overall.x = qMin(overall.x, x); | - |
1615 | overall.y = qMin(overall.y, y); | - |
1616 | xmax = qMax(xmax, x + ((right - left) >> 6)); | - |
1617 | ymax = qMax(ymax, y + ((top - bottom) >> 6)); | - |
1618 | overall.xoff += int((((((face->glyph->advance.x)+32) & -64)) >> 6)); | - |
1619 | } never executed: end of block | 0 |
1620 | } | - |
1621 | overall.height = qMax(overall.height, ymax - overall.y); | - |
1622 | overall.width = xmax - overall.x; | - |
1623 | | - |
1624 | if (faceTRUE | never evaluated | FALSE | evaluated 3606 times by 21 testsEvaluated by:- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGraphicsProxyWidget
- tst_QGridLayout
- tst_QGroupBox
- tst_QInputDialog
- tst_QMdiSubWindow
- tst_QPrinter
- tst_QStyleSheetStyle
- tst_QTextLayout
- tst_QWizard
- tst_languageChange
- tst_qapplication - unknown status
|
) | 0-3606 |
1625 | unlockFace(); never executed: unlockFace(); | 0 |
1626 | | - |
1627 | if (isScalableBitmap()TRUE | never evaluated | FALSE | evaluated 3606 times by 21 testsEvaluated by:- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGraphicsProxyWidget
- tst_QGridLayout
- tst_QGroupBox
- tst_QInputDialog
- tst_QMdiSubWindow
- tst_QPrinter
- tst_QStyleSheetStyle
- tst_QTextLayout
- tst_QWizard
- tst_languageChange
- tst_qapplication - unknown status
|
) | 0-3606 |
1628 | overall = scaledBitmapMetrics(overall); never executed: overall = scaledBitmapMetrics(overall); | 0 |
1629 | returnexecuted 3606 times by 21 tests: return overall; Executed by:- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGraphicsProxyWidget
- tst_QGridLayout
- tst_QGroupBox
- tst_QInputDialog
- tst_QMdiSubWindow
- tst_QPrinter
- tst_QStyleSheetStyle
- tst_QTextLayout
- tst_QWizard
- tst_languageChange
- tst_qapplication - unknown status
overall;executed 3606 times by 21 tests: return overall; Executed by:- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGraphicsProxyWidget
- tst_QGridLayout
- tst_QGroupBox
- tst_QInputDialog
- tst_QMdiSubWindow
- tst_QPrinter
- tst_QStyleSheetStyle
- tst_QTextLayout
- tst_QWizard
- tst_languageChange
- tst_qapplication - unknown status
| 3606 |
1630 | } | - |
1631 | | - |
1632 | glyph_metrics_t QFontEngineFT::boundingBox(glyph_t glyph) | - |
1633 | { | - |
1634 | FT_Face face = 0; | - |
1635 | glyph_metrics_t overall; | - |
1636 | Glyph *g = cacheEnabledTRUE | evaluated 288672 times by 110 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 |
? defaultGlyphSet.getGlyph(glyph) : 0; | 0-288672 |
1637 | if (!gTRUE | evaluated 242 times by 7 testsEvaluated by:- tst_QAccessibility
- tst_QCssParser
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QPainter
- tst_QTextLayout
| FALSE | evaluated 288430 times by 110 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
- ...
|
) { | 242-288430 |
1638 | face = lockFace(); | - |
1639 | g = loadGlyph(cacheEnabled ? &defaultGlyphSet : 0, glyph, 0, Format_None, true); | - |
1640 | }executed 242 times by 7 tests: end of block Executed by:- tst_QAccessibility
- tst_QCssParser
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QPainter
- tst_QTextLayout
| 242 |
1641 | if (gTRUE | evaluated 288672 times by 110 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-288672 |
1642 | overall.x = g->x; | - |
1643 | overall.y = -g->y; | - |
1644 | overall.width = g->width; | - |
1645 | overall.height = g->height; | - |
1646 | overall.xoff = g->advance; | - |
1647 | if (fontDef.styleStrategy & QFont::ForceIntegerMetricsTRUE | never evaluated | FALSE | evaluated 288672 times by 110 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-288672 |
1648 | overall.xoff = overall.xoff.round(); never executed: overall.xoff = overall.xoff.round(); | 0 |
1649 | if (!cacheEnabledTRUE | never evaluated | FALSE | evaluated 288672 times by 110 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
- ...
|
&& g != &emptyGlyphTRUE | never evaluated | FALSE | never evaluated |
) | 0-288672 |
1650 | delete g; never executed: delete g; | 0 |
1651 | }executed 288672 times by 110 tests: end of block Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
else { | 288672 |
1652 | int left = ((face->glyph->metrics.horiBearingX) & -64); | - |
1653 | int right = (((face->glyph->metrics.horiBearingX + face->glyph->metrics.width)+63) & -64); | - |
1654 | int top = (((face->glyph->metrics.horiBearingY)+63) & -64); | - |
1655 | int bottom = ((face->glyph->metrics.horiBearingY - face->glyph->metrics.height) & -64); | - |
1656 | | - |
1657 | overall.width = ((right-left) >> 6); | - |
1658 | overall.height = ((top-bottom) >> 6); | - |
1659 | overall.x = ((left) >> 6); | - |
1660 | overall.y = -((top) >> 6); | - |
1661 | overall.xoff = (((((face->glyph->advance.x)+32) & -64)) >> 6); | - |
1662 | } never executed: end of block | 0 |
1663 | if (faceTRUE | evaluated 242 times by 7 testsEvaluated by:- tst_QAccessibility
- tst_QCssParser
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QPainter
- tst_QTextLayout
| FALSE | evaluated 288430 times by 110 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
- ...
|
) | 242-288430 |
1664 | unlockFace();executed 242 times by 7 tests: unlockFace(); Executed by:- tst_QAccessibility
- tst_QCssParser
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QPainter
- tst_QTextLayout
| 242 |
1665 | | - |
1666 | if (isScalableBitmap()TRUE | never evaluated | FALSE | evaluated 288672 times by 110 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-288672 |
1667 | overall = scaledBitmapMetrics(overall); never executed: overall = scaledBitmapMetrics(overall); | 0 |
1668 | returnexecuted 288672 times by 110 tests: return overall; 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
- ...
overall;executed 288672 times by 110 tests: return overall; 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
- ...
| 288672 |
1669 | } | - |
1670 | | - |
1671 | glyph_metrics_t QFontEngineFT::boundingBox(glyph_t glyph, const QTransform &matrix) | - |
1672 | { | - |
1673 | return never executed: return alphaMapBoundingBox(glyph, 0, matrix, QFontEngine::Format_None); alphaMapBoundingBox(glyph, 0, matrix, QFontEngine::Format_None);never executed: return alphaMapBoundingBox(glyph, 0, matrix, QFontEngine::Format_None); | 0 |
1674 | } | - |
1675 | | - |
1676 | glyph_metrics_t QFontEngineFT::alphaMapBoundingBox(glyph_t glyph, QFixed subPixelPosition, const QTransform &matrix, QFontEngine::GlyphFormat format) | - |
1677 | { | - |
1678 | Glyph *g = loadGlyphFor(glyph, subPixelPosition, format, matrix, true); | - |
1679 | | - |
1680 | glyph_metrics_t overall; | - |
1681 | if (gTRUE | evaluated 11 times by 1 test | FALSE | never evaluated |
) { | 0-11 |
1682 | overall.x = g->x; | - |
1683 | overall.y = -g->y; | - |
1684 | overall.width = g->width; | - |
1685 | overall.height = g->height; | - |
1686 | overall.xoff = g->advance; | - |
1687 | if (!cacheEnabledTRUE | never evaluated | FALSE | evaluated 11 times by 1 test |
&& g != &emptyGlyphTRUE | never evaluated | FALSE | never evaluated |
) | 0-11 |
1688 | delete g; never executed: delete g; | 0 |
1689 | }executed 11 times by 1 test: end of block else { | 11 |
1690 | FT_Face face = lockFace(); | - |
1691 | int left = ((face->glyph->metrics.horiBearingX) & -64); | - |
1692 | int right = (((face->glyph->metrics.horiBearingX + face->glyph->metrics.width)+63) & -64); | - |
1693 | int top = (((face->glyph->metrics.horiBearingY)+63) & -64); | - |
1694 | int bottom = ((face->glyph->metrics.horiBearingY - face->glyph->metrics.height) & -64); | - |
1695 | | - |
1696 | overall.width = ((right-left) >> 6); | - |
1697 | overall.height = ((top-bottom) >> 6); | - |
1698 | overall.x = ((left) >> 6); | - |
1699 | overall.y = -((top) >> 6); | - |
1700 | overall.xoff = (((((face->glyph->advance.x)+32) & -64)) >> 6); | - |
1701 | unlockFace(); | - |
1702 | } never executed: end of block | 0 |
1703 | | - |
1704 | if (isScalableBitmap()TRUE | never evaluated | FALSE | evaluated 11 times by 1 test |
) | 0-11 |
1705 | overall = scaledBitmapMetrics(overall); never executed: overall = scaledBitmapMetrics(overall); | 0 |
1706 | returnexecuted 11 times by 1 test: return overall; overall;executed 11 times by 1 test: return overall; | 11 |
1707 | } | - |
1708 | | - |
1709 | static inline QImage alphaMapFromGlyphData(QFontEngineFT::Glyph *glyph, QFontEngine::GlyphFormat glyphFormat) | - |
1710 | { | - |
1711 | if (glyph == nullptrTRUE | never evaluated | FALSE | evaluated 311692 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
|| glyph->height == 0TRUE | evaluated 13851 times by 59 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QHeaderView
- tst_QItemDelegate
- ...
| FALSE | evaluated 297841 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
|| glyph->width == 0TRUE | evaluated 12 times by 1 test | FALSE | evaluated 297829 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
) | 0-311692 |
1712 | returnexecuted 13863 times by 59 tests: return QImage(); Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QHeaderView
- tst_QItemDelegate
- ...
QImage();executed 13863 times by 59 tests: return QImage(); Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QHeaderView
- tst_QItemDelegate
- ...
| 13863 |
1713 | | - |
1714 | QImage::Format format = QImage::Format_Invalid; | - |
1715 | int bytesPerLine = -1; | - |
1716 | switch (glyphFormat) { | - |
1717 | caseexecuted 365 times by 3 tests: case QFontEngine::Format_Mono: Executed by:- tst_QPainter
- tst_QStaticText
- tst_QWizard
QFontEngine::Format_Mono:executed 365 times by 3 tests: case QFontEngine::Format_Mono: Executed by:- tst_QPainter
- tst_QStaticText
- tst_QWizard
| 365 |
1718 | format = QImage::Format_Mono; | - |
1719 | bytesPerLine = ((glyph->width + 31) & ~31) >> 3; | - |
1720 | break;executed 365 times by 3 tests: break; Executed by:- tst_QPainter
- tst_QStaticText
- tst_QWizard
| 365 |
1721 | caseexecuted 297464 times by 76 tests: case QFontEngine::Format_A8: Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
QFontEngine::Format_A8:executed 297464 times by 76 tests: case QFontEngine::Format_A8: Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 297464 |
1722 | format = QImage::Format_Alpha8; | - |
1723 | bytesPerLine = (glyph->width + 3) & ~3; | - |
1724 | break;executed 297464 times by 76 tests: break; Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 297464 |
1725 | case never executed: case QFontEngine::Format_A32: QFontEngine::Format_A32:never executed: case QFontEngine::Format_A32: | 0 |
1726 | format = QImage::Format_ARGB32; | - |
1727 | bytesPerLine = glyph->width * 4; | - |
1728 | break; never executed: break; | 0 |
1729 | default never executed: default: :never executed: default: | 0 |
1730 | do { ((!(false)) ? qt_assert_x("Q_UNREACHABLE()", "Q_UNREACHABLE was reached",__FILE__,1849) : qt_noop()); __builtin_unreachable(); } while (0); | - |
1731 | } never executed: end of block ; | 0 |
1732 | | - |
1733 | QImage img(static_cast<const uchar *>(glyph->data), glyph->width, glyph->height, bytesPerLine, format); | - |
1734 | if (format == QImage::Format_MonoTRUE | evaluated 365 times by 3 testsEvaluated by:- tst_QPainter
- tst_QStaticText
- tst_QWizard
| FALSE | evaluated 297464 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
) | 365-297464 |
1735 | img.setColor(1, QColor(Qt::white).rgba());executed 365 times by 3 tests: img.setColor(1, QColor(Qt::white).rgba()); Executed by:- tst_QPainter
- tst_QStaticText
- tst_QWizard
| 365 |
1736 | returnexecuted 297829 times by 76 tests: return img; Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
img;executed 297829 times by 76 tests: return img; Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 297829 |
1737 | } | - |
1738 | | - |
1739 | QImage *QFontEngineFT::lockedAlphaMapForGlyph(glyph_t glyphIndex, QFixed subPixelPosition, | - |
1740 | QFontEngine::GlyphFormat neededFormat, | - |
1741 | const QTransform &t, QPoint *offset) | - |
1742 | { | - |
1743 | ((!(currentlyLockedAlphaMap.isNull())) ? qt_assert("currentlyLockedAlphaMap.isNull()",__FILE__,1862) : qt_noop()); | - |
1744 | | - |
1745 | if (isBitmapFont()TRUE | evaluated 388 times by 2 testsEvaluated by:- tst_QStaticText
- tst_QWizard
| FALSE | evaluated 311293 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
) | 388-311293 |
1746 | neededFormat = Format_Mono;executed 388 times by 2 tests: neededFormat = Format_Mono; Executed by:- tst_QStaticText
- tst_QWizard
| 388 |
1747 | else if (neededFormat == Format_NoneTRUE | evaluated 299429 times by 72 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- ...
| FALSE | evaluated 11864 times by 9 testsEvaluated by:- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QHeaderView
- tst_QPainter
- tst_QPrinter
- tst_QStaticText
- tst_QTextDocument
- tst_QTreeView
- tst_QTreeWidget
|
&& defaultFormat != Format_NoneTRUE | evaluated 299429 times by 72 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- ...
| FALSE | never evaluated |
) | 0-299429 |
1748 | neededFormat = defaultFormat;executed 299429 times by 72 tests: neededFormat = defaultFormat; Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- ...
| 299429 |
1749 | else if (neededFormat == Format_NoneTRUE | never evaluated | FALSE | evaluated 11864 times by 9 testsEvaluated by:- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QHeaderView
- tst_QPainter
- tst_QPrinter
- tst_QStaticText
- tst_QTextDocument
- tst_QTreeView
- tst_QTreeWidget
|
) | 0-11864 |
1750 | neededFormat = Format_A8; never executed: neededFormat = Format_A8; | 0 |
1751 | | - |
1752 | Glyph *glyph = loadGlyphFor(glyphIndex, subPixelPosition, neededFormat, t); | - |
1753 | | - |
1754 | if (offset != 0TRUE | evaluated 311681 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| FALSE | never evaluated |
&& glyph != 0TRUE | evaluated 311681 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| FALSE | never evaluated |
) | 0-311681 |
1755 | *executed 311681 times by 76 tests: *offset = QPoint(glyph->x, -glyph->y); Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
offset = QPoint(glyph->x, -glyph->y);executed 311681 times by 76 tests: *offset = QPoint(glyph->x, -glyph->y); Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 311681 |
1756 | | - |
1757 | currentlyLockedAlphaMap = alphaMapFromGlyphData(glyph, neededFormat); | - |
1758 | | - |
1759 | const bool glyphHasGeometry = glyph != nullptrTRUE | evaluated 311681 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| FALSE | never evaluated |
&& glyph->height != 0TRUE | evaluated 297830 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| FALSE | evaluated 13851 times by 59 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QHeaderView
- tst_QItemDelegate
- ...
|
&& glyph->width != 0TRUE | evaluated 297818 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| FALSE | evaluated 12 times by 1 test |
; | 0-311681 |
1760 | if (!cacheEnabledTRUE | never evaluated | FALSE | evaluated 311681 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
&& glyph != &emptyGlyphTRUE | never evaluated | FALSE | never evaluated |
) { | 0-311681 |
1761 | currentlyLockedAlphaMap = currentlyLockedAlphaMap.copy(); | - |
1762 | delete glyph; | - |
1763 | } never executed: end of block | 0 |
1764 | | - |
1765 | if (!glyphHasGeometryTRUE | evaluated 13863 times by 59 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QHeaderView
- tst_QItemDelegate
- ...
| FALSE | evaluated 297818 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
) | 13863-297818 |
1766 | returnexecuted 13863 times by 59 tests: return nullptr; Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QHeaderView
- tst_QItemDelegate
- ...
nullptr;executed 13863 times by 59 tests: return nullptr; Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QHeaderView
- tst_QItemDelegate
- ...
| 13863 |
1767 | | - |
1768 | if (currentlyLockedAlphaMap.isNull()TRUE | never evaluated | FALSE | evaluated 297818 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
) | 0-297818 |
1769 | return never executed: return QFontEngine::lockedAlphaMapForGlyph(glyphIndex, subPixelPosition, neededFormat, t, offset); QFontEngine::lockedAlphaMapForGlyph(glyphIndex, subPixelPosition, neededFormat, t, offset);never executed: return QFontEngine::lockedAlphaMapForGlyph(glyphIndex, subPixelPosition, neededFormat, t, offset); | 0 |
1770 | | - |
1771 | QImageData *data = currentlyLockedAlphaMap.data_ptr(); | - |
1772 | data->is_locked = true; | - |
1773 | | - |
1774 | returnexecuted 297818 times by 76 tests: return ¤tlyLockedAlphaMap; Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
¤tlyLockedAlphaMap;executed 297818 times by 76 tests: return ¤tlyLockedAlphaMap; Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 297818 |
1775 | } | - |
1776 | | - |
1777 | void QFontEngineFT::unlockAlphaMapForGlyph() | - |
1778 | { | - |
1779 | QFontEngine::unlockAlphaMapForGlyph(); | - |
1780 | }executed 297818 times by 76 tests: end of block Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 297818 |
1781 | | - |
1782 | static inline bool is2dRotation(const QTransform &t) | - |
1783 | { | - |
1784 | returnexecuted 2498 times by 7 tests: return qFuzzyCompare(t.m11(), t.m22()) && qFuzzyCompare(t.m12(), -t.m21()) && qFuzzyCompare(t.m11()*t.m22() - t.m12()*t.m21(), qreal(1.0)); Executed by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
qFuzzyCompare(t.m11(), t.m22()) && qFuzzyCompare(t.m12(), -t.m21())executed 2498 times by 7 tests: return qFuzzyCompare(t.m11(), t.m22()) && qFuzzyCompare(t.m12(), -t.m21()) && qFuzzyCompare(t.m11()*t.m22() - t.m12()*t.m21(), qreal(1.0)); Executed by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
| 2498 |
1785 | && qFuzzyCompare(t.m11()*t.m22() - t.m12()*t.m21(), qreal(1.0));executed 2498 times by 7 tests: return qFuzzyCompare(t.m11(), t.m22()) && qFuzzyCompare(t.m12(), -t.m21()) && qFuzzyCompare(t.m11()*t.m22() - t.m12()*t.m21(), qreal(1.0)); Executed by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
| 2498 |
1786 | } | - |
1787 | | - |
1788 | QFontEngineFT::Glyph *QFontEngineFT::loadGlyphFor(glyph_t g, | - |
1789 | QFixed subPixelPosition, | - |
1790 | GlyphFormat format, | - |
1791 | const QTransform &t, | - |
1792 | bool fetchBoundingBox) | - |
1793 | { | - |
1794 | QGlyphSet *glyphSet = loadGlyphSet(t); | - |
1795 | if (glyphSet != 0TRUE | evaluated 311703 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| FALSE | never evaluated |
&& glyphSet->outline_drawingTRUE | never evaluated | FALSE | evaluated 311703 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
&& !fetchBoundingBoxTRUE | never evaluated | FALSE | never evaluated |
) | 0-311703 |
1796 | return never executed: return 0; 0;never executed: return 0; | 0 |
1797 | | - |
1798 | Glyph *glyph = glyphSet != 0TRUE | evaluated 311703 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| FALSE | never evaluated |
? glyphSet->getGlyph(g, subPixelPosition) : 0; | 0-311703 |
1799 | if (!glyphTRUE | evaluated 4756 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| FALSE | evaluated 306947 times by 75 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- ...
|
|| glyph->format != formatTRUE | evaluated 1 time by 1 test | FALSE | evaluated 306946 times by 75 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- ...
|
|| (!fetchBoundingBoxTRUE | evaluated 306935 times by 75 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- ...
| FALSE | evaluated 11 times by 1 test |
&& !glyph->dataTRUE | evaluated 13664 times by 56 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QHeaderView
- tst_QItemDelegate
- tst_QLabel
- ...
| FALSE | evaluated 293271 times by 75 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- ...
|
)) { | 1-306947 |
1800 | QScopedValueRollback<HintStyle> saved_default_hint_style(default_hint_style); | - |
1801 | if (t.type() >= QTransform::TxScaleTRUE | evaluated 2498 times by 7 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
| FALSE | evaluated 15923 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
|
&& !is2dRotation(t)TRUE | evaluated 936 times by 5 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QPrinter
- tst_QStaticText
| FALSE | evaluated 1562 times by 4 testsEvaluated by:- tst_QGraphicsView
- tst_QMdiArea
- tst_QStaticText
- tst_QTabWidget
|
) | 936-15923 |
1802 | default_hint_style = HintNone;executed 936 times by 5 tests: default_hint_style = HintNone; Executed by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QPrinter
- tst_QStaticText
| 936 |
1803 | | - |
1804 | lockFace(); | - |
1805 | FT_Matrix m = this->matrix; | - |
1806 | FT_Matrix ftMatrix = glyphSet != 0TRUE | evaluated 18421 times by 76 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| FALSE | never evaluated |
? glyphSet->transformationMatrix : QTransformToFTMatrix(t); | 0-18421 |
1807 | FT_Matrix_Multiply(&ftMatrix, &m); | - |
1808 | freetype->matrix = m; | - |
1809 | glyph = loadGlyph(glyphSet, g, subPixelPosition, format, false); | - |
1810 | unlockFace(); | - |
1811 | }executed 18421 times by 76 tests: end of block Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 18421 |
1812 | | - |
1813 | returnexecuted 311703 times by 76 tests: return glyph; Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
glyph;executed 311703 times by 76 tests: return glyph; Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 311703 |
1814 | } | - |
1815 | | - |
1816 | QImage QFontEngineFT::alphaMapForGlyph(glyph_t g, QFixed subPixelPosition) | - |
1817 | { | - |
1818 | return never executed: return alphaMapForGlyph(g, subPixelPosition, QTransform()); alphaMapForGlyph(g, subPixelPosition, QTransform());never executed: return alphaMapForGlyph(g, subPixelPosition, QTransform()); | 0 |
1819 | } | - |
1820 | | - |
1821 | QImage QFontEngineFT::alphaMapForGlyph(glyph_t g, QFixed subPixelPosition, const QTransform &t) | - |
1822 | { | - |
1823 | const GlyphFormat neededFormat = antialiasTRUE | evaluated 11 times by 1 test | FALSE | never evaluated |
? Format_A8 : Format_Mono; | 0-11 |
1824 | | - |
1825 | Glyph *glyph = loadGlyphFor(g, subPixelPosition, neededFormat, t); | - |
1826 | | - |
1827 | QImage img = alphaMapFromGlyphData(glyph, neededFormat); | - |
1828 | img = img.copy(); | - |
1829 | | - |
1830 | if (!cacheEnabledTRUE | never evaluated | FALSE | evaluated 11 times by 1 test |
&& glyph != &emptyGlyphTRUE | never evaluated | FALSE | never evaluated |
) | 0-11 |
1831 | delete glyph; never executed: delete glyph; | 0 |
1832 | | - |
1833 | if (!img.isNull()TRUE | evaluated 11 times by 1 test | FALSE | never evaluated |
) | 0-11 |
1834 | returnexecuted 11 times by 1 test: return img; img;executed 11 times by 1 test: return img; | 11 |
1835 | | - |
1836 | return never executed: return QFontEngine::alphaMapForGlyph(g); QFontEngine::alphaMapForGlyph(g);never executed: return QFontEngine::alphaMapForGlyph(g); | 0 |
1837 | } | - |
1838 | | - |
1839 | QImage QFontEngineFT::alphaRGBMapForGlyph(glyph_t g, QFixed subPixelPosition, const QTransform &t) | - |
1840 | { | - |
1841 | if (t.type() > QTransform::TxRotateTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1842 | return never executed: return QFontEngine::alphaRGBMapForGlyph(g, subPixelPosition, t); QFontEngine::alphaRGBMapForGlyph(g, subPixelPosition, t);never executed: return QFontEngine::alphaRGBMapForGlyph(g, subPixelPosition, t); | 0 |
1843 | | - |
1844 | const GlyphFormat neededFormat = Format_A32; | - |
1845 | | - |
1846 | Glyph *glyph = loadGlyphFor(g, subPixelPosition, neededFormat, t); | - |
1847 | | - |
1848 | QImage img = alphaMapFromGlyphData(glyph, neededFormat); | - |
1849 | img = img.copy(); | - |
1850 | | - |
1851 | if (!cacheEnabledTRUE | never evaluated | FALSE | never evaluated |
&& glyph != &emptyGlyphTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1852 | delete glyph; never executed: delete glyph; | 0 |
1853 | | - |
1854 | if (!img.isNull()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1855 | return never executed: return img; img;never executed: return img; | 0 |
1856 | | - |
1857 | return never executed: return QFontEngine::alphaRGBMapForGlyph(g, subPixelPosition, t); QFontEngine::alphaRGBMapForGlyph(g, subPixelPosition, t);never executed: return QFontEngine::alphaRGBMapForGlyph(g, subPixelPosition, t); | 0 |
1858 | } | - |
1859 | | - |
1860 | QImage QFontEngineFT::bitmapForGlyph(glyph_t g, QFixed subPixelPosition, const QTransform &t) | - |
1861 | { | - |
1862 | Glyph *glyph = loadGlyphFor(g, subPixelPosition, defaultFormat, t); | - |
1863 | if (glyph == nullptrTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1864 | return never executed: return QImage(); QImage();never executed: return QImage(); | 0 |
1865 | | - |
1866 | QImage img; | - |
1867 | if (defaultFormat == GlyphFormat::Format_ARGBTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1868 | img = QImage(glyph->data, glyph->width, glyph->height, QImage::Format_ARGB32_Premultiplied).copy(); never executed: img = QImage(glyph->data, glyph->width, glyph->height, QImage::Format_ARGB32_Premultiplied).copy(); | 0 |
1869 | else if (defaultFormat == GlyphFormat::Format_MonoTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1870 | img = QImage(glyph->data, glyph->width, glyph->height, QImage::Format_Mono).copy(); never executed: img = QImage(glyph->data, glyph->width, glyph->height, QImage::Format_Mono).copy(); | 0 |
1871 | | - |
1872 | if (!img.isNull()TRUE | never evaluated | FALSE | never evaluated |
&& (!t.isIdentity()TRUE | never evaluated | FALSE | never evaluated |
|| scalableBitmapScaleFactor != 1TRUE | never evaluated | FALSE | never evaluated |
)) { | 0 |
1873 | QTransform trans(t); | - |
1874 | const qreal scaleFactor = scalableBitmapScaleFactor.toReal(); | - |
1875 | trans.scale(scaleFactor, scaleFactor); | - |
1876 | img = img.transformed(trans, Qt::SmoothTransformation); | - |
1877 | } never executed: end of block | 0 |
1878 | | - |
1879 | if (!cacheEnabledTRUE | never evaluated | FALSE | never evaluated |
&& glyph != &emptyGlyphTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1880 | delete glyph; never executed: delete glyph; | 0 |
1881 | | - |
1882 | return never executed: return img; img;never executed: return img; | 0 |
1883 | } | - |
1884 | | - |
1885 | void QFontEngineFT::removeGlyphFromCache(glyph_t glyph) | - |
1886 | { | - |
1887 | defaultGlyphSet.removeGlyphFromCache(glyph, 0); | - |
1888 | } never executed: end of block | 0 |
1889 | | - |
1890 | int QFontEngineFT::glyphCount() const | - |
1891 | { | - |
1892 | int count = 0; | - |
1893 | FT_Face face = lockFace(); | - |
1894 | if (faceTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
1895 | count = face->num_glyphs; | - |
1896 | unlockFace(); | - |
1897 | } never executed: end of block | 0 |
1898 | return never executed: return count; count;never executed: return count; | 0 |
1899 | } | - |
1900 | | - |
1901 | FT_Face QFontEngineFT::lockFace(Scaling scale) const | - |
1902 | { | - |
1903 | freetype->lock(); | - |
1904 | FT_Face face = freetype->face; | - |
1905 | if (scale == UnscaledTRUE | evaluated 21 times by 6 testsEvaluated by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| FALSE | evaluated 28130 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
- ...
|
) { | 21-28130 |
1906 | if (FT_Set_Char_Size(face, face->units_per_EM << 6, face->units_per_EM << 6, 0, 0) == 0TRUE | evaluated 21 times by 6 testsEvaluated by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| FALSE | never evaluated |
) { | 0-21 |
1907 | freetype->xsize = face->units_per_EM << 6; | - |
1908 | freetype->ysize = face->units_per_EM << 6; | - |
1909 | }executed 21 times by 6 tests: end of block Executed by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
| 21 |
1910 | }executed 21 times by 6 tests: end of block Executed by:- tst_QFontDialog
- tst_QGraphicsView
- tst_QPainter
- tst_QPicture
- tst_QStaticText
- tst_QTextTable
else if (freetype->xsize != xsizeTRUE | evaluated 2053 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 26077 times by 115 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
- ...
|
|| freetype->ysize != ysizeTRUE | never evaluated | FALSE | evaluated 26077 times by 115 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-26077 |
1911 | FT_Set_Char_Size(face, xsize, ysize, 0, 0); | - |
1912 | freetype->xsize = xsize; | - |
1913 | freetype->ysize = ysize; | - |
1914 | }executed 2053 times by 123 tests: end of block Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 2053 |
1915 | if (freetype->matrix.xx != matrix.xxTRUE | evaluated 2496 times by 7 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
| FALSE | evaluated 25655 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
- ...
|
|| | 2496-25655 |
1916 | freetype->matrix.yy != matrix.yyTRUE | never evaluated | FALSE | evaluated 25655 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-25655 |
1917 | freetype->matrix.xy != matrix.xyTRUE | never evaluated | FALSE | evaluated 25655 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-25655 |
1918 | freetype->matrix.yx != matrix.yxTRUE | never evaluated | FALSE | evaluated 25655 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-25655 |
1919 | freetype->matrix = matrix; | - |
1920 | FT_Set_Transform(face, &freetype->matrix, 0); | - |
1921 | }executed 2496 times by 7 tests: end of block Executed by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QMdiArea
- tst_QPrinter
- tst_QStaticText
- tst_QTabWidget
| 2496 |
1922 | | - |
1923 | returnexecuted 28151 times by 123 tests: return face; 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
- ...
face;executed 28151 times by 123 tests: return face; 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
- ...
| 28151 |
1924 | } | - |
1925 | | - |
1926 | void QFontEngineFT::unlockFace() const | - |
1927 | { | - |
1928 | freetype->unlock(); | - |
1929 | }executed 28151 times by 123 tests: end of block Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 28151 |
1930 | | - |
1931 | FT_Face QFontEngineFT::non_locked_face() const | - |
1932 | { | - |
1933 | return never executed: return freetype->face; freetype->face;never executed: return freetype->face; | 0 |
1934 | } | - |
1935 | | - |
1936 | | - |
1937 | QFontEngineFT::QGlyphSet::QGlyphSet() | - |
1938 | : outline_drawing(false) | - |
1939 | { | - |
1940 | transformationMatrix.xx = 0x10000; | - |
1941 | transformationMatrix.yy = 0x10000; | - |
1942 | transformationMatrix.xy = 0; | - |
1943 | transformationMatrix.yx = 0; | - |
1944 | memset(fast_glyph_data, 0, sizeof(fast_glyph_data)); | - |
1945 | fast_glyph_count = 0; | - |
1946 | }executed 2180 times by 123 tests: end of block Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 2180 |
1947 | | - |
1948 | QFontEngineFT::QGlyphSet::~QGlyphSet() | - |
1949 | { | - |
1950 | clear(); | - |
1951 | }executed 2309 times by 199 tests: end of block Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontCache
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QFormLayout
- ...
| 2309 |
1952 | | - |
1953 | void QFontEngineFT::QGlyphSet::clear() | - |
1954 | { | - |
1955 | if (fast_glyph_count > 0TRUE | evaluated 682 times by 120 testsEvaluated by:- tst_QApplication
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsView
- tst_QPainter
- tst_QRawFont
- tst_QTextLayout
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- ...
| FALSE | evaluated 1889 times by 99 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontCache
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QFormLayout
- ...
|
) { | 682-1889 |
1956 | for (int i = 0; i < 256TRUE | evaluated 174592 times by 120 testsEvaluated by:- tst_QApplication
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsView
- tst_QPainter
- tst_QRawFont
- tst_QTextLayout
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- ...
| FALSE | evaluated 682 times by 120 testsEvaluated by:- tst_QApplication
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsView
- tst_QPainter
- tst_QRawFont
- tst_QTextLayout
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- ...
|
; ++i) { | 682-174592 |
1957 | if (fast_glyph_data[i]TRUE | evaluated 11455 times by 120 testsEvaluated by:- tst_QApplication
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsView
- tst_QPainter
- tst_QRawFont
- tst_QTextLayout
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- ...
| FALSE | evaluated 163137 times by 120 testsEvaluated by:- tst_QApplication
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsView
- tst_QPainter
- tst_QRawFont
- tst_QTextLayout
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- ...
|
) { | 11455-163137 |
1958 | delete fast_glyph_data[i]; | - |
1959 | fast_glyph_data[i] = 0; | - |
1960 | }executed 11455 times by 120 tests: end of block Executed by:- tst_QApplication
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsView
- tst_QPainter
- tst_QRawFont
- tst_QTextLayout
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- ...
| 11455 |
1961 | }executed 174592 times by 120 tests: end of block Executed by:- tst_QApplication
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsView
- tst_QPainter
- tst_QRawFont
- tst_QTextLayout
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- ...
| 174592 |
1962 | fast_glyph_count = 0; | - |
1963 | }executed 682 times by 120 tests: end of block Executed by:- tst_QApplication
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QGraphicsItem
- tst_QGraphicsView
- tst_QPainter
- tst_QRawFont
- tst_QTextLayout
- tst_languagechange - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qapplication - unknown status
- tst_qboxlayout - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- tst_qcolordialog - unknown status
- tst_qcolumnview - unknown status
- tst_qcombobox - unknown status
- tst_qcommandlinkbutton - unknown status
- ...
| 682 |
1964 | qDeleteAll(glyph_data); | - |
1965 | glyph_data.clear(); | - |
1966 | }executed 2571 times by 199 tests: end of block Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontCache
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QFormLayout
- ...
| 2571 |
1967 | | - |
1968 | void QFontEngineFT::QGlyphSet::removeGlyphFromCache(glyph_t index, QFixed subPixelPosition) | - |
1969 | { | - |
1970 | if (useFastGlyphData(index, subPixelPosition)TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
1971 | if (fast_glyph_data[index]TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
1972 | delete fast_glyph_data[index]; | - |
1973 | fast_glyph_data[index] = 0; | - |
1974 | if (fast_glyph_count > 0TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1975 | -- never executed: --fast_glyph_count; fast_glyph_count;never executed: --fast_glyph_count; | 0 |
1976 | } never executed: end of block | 0 |
1977 | } never executed: end of block else { | 0 |
1978 | delete glyph_data.take(GlyphAndSubPixelPosition(index, subPixelPosition)); | - |
1979 | } never executed: end of block | 0 |
1980 | } | - |
1981 | | - |
1982 | void QFontEngineFT::QGlyphSet::setGlyph(glyph_t index, QFixed subPixelPosition, Glyph *glyph) | - |
1983 | { | - |
1984 | if (useFastGlyphData(index, subPixelPosition)TRUE | evaluated 25565 times by 114 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 343 times by 34 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QColorDialog
- tst_QComplexText
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QItemDelegate
- tst_QLabel
- tst_QLineEdit
- tst_QListView
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QPainter
- tst_QPlainTextEdit
- tst_QRawFont
- tst_QStackedLayout
- tst_QStaticText
- tst_QTableView
- tst_QTextCursor
- tst_QTextDocument
- ...
|
) { | 343-25565 |
1985 | if (!fast_glyph_data[index]TRUE | evaluated 11900 times by 114 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 13665 times by 57 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QHeaderView
- tst_QItemDelegate
- tst_QLabel
- ...
|
) | 11900-13665 |
1986 | ++executed 11900 times by 114 tests: ++fast_glyph_count; 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
- ...
fast_glyph_count;executed 11900 times by 114 tests: ++fast_glyph_count; 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
- ...
| 11900 |
1987 | fast_glyph_data[index] = glyph; | - |
1988 | }executed 25565 times by 114 tests: end of block Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
else { | 25565 |
1989 | glyph_data.insert(GlyphAndSubPixelPosition(index, subPixelPosition), glyph); | - |
1990 | }executed 343 times by 34 tests: end of block Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QColorDialog
- tst_QComplexText
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDatabase
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QItemDelegate
- tst_QLabel
- tst_QLineEdit
- tst_QListView
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QPainter
- tst_QPlainTextEdit
- tst_QRawFont
- tst_QStackedLayout
- tst_QStaticText
- tst_QTableView
- tst_QTextCursor
- tst_QTextDocument
- ...
| 343 |
1991 | } | - |
1992 | | - |
1993 | int QFontEngineFT::getPointInOutline(glyph_t glyph, int flags, quint32 point, QFixed *xpos, QFixed *ypos, quint32 *nPoints) | - |
1994 | { | - |
1995 | lockFace(); | - |
1996 | bool hsubpixel = true; | - |
1997 | int vfactor = 1; | - |
1998 | int load_flags = loadFlags(0, Format_A8, flags, hsubpixel, vfactor); | - |
1999 | int result = freetype->getPointInOutline(glyph, load_flags, point, xpos, ypos, nPoints); | - |
2000 | unlockFace(); | - |
2001 | return never executed: return result; result;never executed: return result; | 0 |
2002 | } | - |
2003 | | - |
2004 | bool QFontEngineFT::initFromFontEngine(const QFontEngineFT *fe) | - |
2005 | { | - |
2006 | if (!init(fe->faceId(), fe->antialias, fe->defaultFormat, fe->freetype)TRUE | never evaluated | FALSE | evaluated 4 times by 1 test |
) | 0-4 |
2007 | return never executed: return false; false;never executed: return false; | 0 |
2008 | | - |
2009 | | - |
2010 | | - |
2011 | freetype->ref.ref(); | - |
2012 | | - |
2013 | default_load_flags = fe->default_load_flags; | - |
2014 | default_hint_style = fe->default_hint_style; | - |
2015 | antialias = fe->antialias; | - |
2016 | transform = fe->transform; | - |
2017 | embolden = fe->embolden; | - |
2018 | obliquen = fe->obliquen; | - |
2019 | subpixelType = fe->subpixelType; | - |
2020 | lcdFilterType = fe->lcdFilterType; | - |
2021 | embeddedbitmap = fe->embeddedbitmap; | - |
2022 | | - |
2023 | returnexecuted 4 times by 1 test: return true; true;executed 4 times by 1 test: return true; | 4 |
2024 | } | - |
2025 | | - |
2026 | QFontEngine *QFontEngineFT::cloneWithSize(qreal pixelSize) const | - |
2027 | { | - |
2028 | QFontDef fontDef(this->fontDef); | - |
2029 | fontDef.pixelSize = pixelSize; | - |
2030 | QFontEngineFT *fe = new QFontEngineFT(fontDef); | - |
2031 | if (!fe->initFromFontEngine(this)TRUE | never evaluated | FALSE | evaluated 4 times by 1 test |
) { | 0-4 |
2032 | delete fe; | - |
2033 | return never executed: return 0; 0;never executed: return 0; | 0 |
2034 | } else { | - |
2035 | returnexecuted 4 times by 1 test: return fe; fe;executed 4 times by 1 test: return fe; | 4 |
2036 | } | - |
2037 | } | - |
2038 | | - |
2039 | Qt::HANDLE QFontEngineFT::handle() const | - |
2040 | { | - |
2041 | return never executed: return non_locked_face(); non_locked_face();never executed: return non_locked_face(); | 0 |
2042 | } | - |
2043 | | - |
2044 | | - |
| | |