Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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
23
25{
26public:
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
35 QFont::StyleHint styleHint,
36 QChar::Script script) const override;
37
38 QString fontDir() const override;
39 QFont defaultFont() const override;
40
41 bool m_hasPopulatedAliases = false;
42};
43
45
46#endif // QWINDOWSFONTDATABASEFT_H
\inmodule QtCore
Definition qbytearray.h:57
\reentrant
Definition qfont.h:22
StyleHint
Style hints are used by the \l{QFont}{font matching} algorithm to find an appropriate default family ...
Definition qfont.h:25
HintingPreference
Definition qfont.h:55
Style
This enum describes the different styles of glyphs that are used to display text.
Definition qfont.h:76
\inmodule QtCore
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
Combined button and popup list for selecting options.
static QStringList fallbacksForFamily(const QString &family, QFont::Style style, QFont::StyleHint styleHint, QChar::Script script)
GLuint64 GLenum void * handle
GLenum GLsizeiptr const void * fontData
double qreal
Definition qtypes.h:187