Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qwindowsfontdatabase_ft_p.h
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4
#
ifndef
QWINDOWSFONTDATABASEFT_H
5
#
define
QWINDOWSFONTDATABASEFT_H
6
7
//
8
// W A R N I N G
9
// -------------
10
//
11
// This file is not part of the Qt API. It exists purely as an
12
// implementation detail. This header file may change from version to
13
// version without notice, or even be removed.
14
//
15
// We mean it.
16
//
17
18
#
include
<
QtGui
/
private
/
qfreetypefontdatabase_p
.
h
>
19
#
include
<
QtCore
/
QSharedPointer
>
20
#
include
<
QtCore
/
qt_windows
.
h
>
21
22
QT_BEGIN_NAMESPACE
23
24
class
Q_GUI_EXPORT
QWindowsFontDatabaseFT
:
public
QFreeTypeFontDatabase
25
{
26
public
:
27
void
populateFontDatabase() override;
28
bool
populateFamilyAliases(
const
QString &familyName) override;
29
void
populateFamily(
const
QString &familyName) override;
30
QFontEngine *fontEngine(
const
QFontDef &fontDef,
void
*handle) override;
31
QFontEngine *fontEngine(
const
QByteArray &fontData, qreal pixelSize,
32
QFont::HintingPreference hintingPreference) override;
33
34
QStringList fallbacksForFamily(
const
QString &family, QFont::Style style,
35
QFont::StyleHint styleHint,
36
QFontDatabasePrivate::ExtendedScript script)
const
override;
37
38
QString fontDir()
const
override;
39
QFont defaultFont()
const
override;
40
41
bool
m_hasPopulatedAliases =
false
;
42
};
43
44
QT_END_NAMESPACE
45
46
#
endif
// QWINDOWSFONTDATABASEFT_H
QWindowsFontDatabaseFT
Definition
qwindowsfontdatabase_ft_p.h:25
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
std
[33]
Definition
src_corelib_tools_qhash.cpp:421
getTrueTypeFontOffsets
static QList< quint32 > getTrueTypeFontOffsets(const uchar *fontData, const uchar *fileEndSentinel)
Definition
qwindowsfontdatabase.cpp:857
getFontTable
static void getFontTable(const uchar *fileBegin, const uchar *fileEndSentinel, const uchar *data, quint32 tag, const uchar **table, quint32 *length)
Definition
qwindowsfontdatabase.cpp:894
writingSystemFromCharSet
static QFontDatabase::WritingSystem writingSystemFromCharSet(uchar charSet)
Definition
qwindowsfontdatabase.cpp:158
addFontToDatabase
static bool addFontToDatabase(QString familyName, QString styleName, const LOGFONT &logFont, const TEXTMETRIC *textmetric, const FONTSIGNATURE *signature, int type, StoreFontPayload *sfp)
Definition
qwindowsfontdatabase.cpp:451
getFamiliesAndSignatures
static void getFamiliesAndSignatures(const QByteArray &fontData, QList< QFontNames > *families, QList< FONTSIGNATURE > *signatures, QList< QFontValues > *values)
Definition
qwindowsfontdatabase.cpp:927
qt_getCanonicalFontNames
QFontNames qt_getCanonicalFontNames(const LOGFONT &lf)
Definition
qwindowsfontdatabase.cpp:406
qt_getEnglishName
QString qt_getEnglishName(const QString &familyName, bool includeStyle=false)
Definition
qwindowsfontdatabase.cpp:351
qt_localizedName
bool qt_localizedName(const QString &name)
Definition
qwindowsfontdatabase.cpp:195
QFontNames
Definition
qwindowsfontdatabase_p.h:129
QFontValues
Definition
qwindowsfontdatabase_p.h:137
QFontValues::isItalic
bool isItalic
Definition
qwindowsfontdatabase_p.h:139
QFontValues::isOverstruck
bool isOverstruck
Definition
qwindowsfontdatabase_p.h:140
QFontValues::isUnderlined
bool isUnderlined
Definition
qwindowsfontdatabase_p.h:141
qtbase
src
gui
text
windows
qwindowsfontdatabase_ft_p.h
Generated on
for Qt by
1.18.0