Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qandroidplatformfontdatabase.h
Go to the documentation of this file.
1// Copyright (C) 2012 BogDan Vatra <bogdan@kde.org>
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 QANDROIDPLATFORMFONTDATABASE_H
5#define QANDROIDPLATFORMFONTDATABASE_H
6
7#include <QtGui/private/qfreetypefontdatabase_p.h>
8
9QT_BEGIN_NAMESPACE
10
11class QAndroidPlatformFontDatabase: public QFreeTypeFontDatabase
12{
13public:
14 QString fontDir() const override;
15 void populateFontDatabase() override;
16 QFont defaultFont() const override;
17 QStringList fallbacksForFamily(const QString &family,
18 QFont::Style style,
19 QFont::StyleHint styleHint,
20 QFontDatabasePrivate::ExtendedScript script) const override;
21};
22
24
25#endif // QANDROIDPLATFORMFONTDATABASE_H