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>.
|
#include "qwindowsdirectwritefontdatabase_p.h"
#include "qwindowsfontenginedirectwrite_p.h"
#include "qwindowsfontdatabase_p.h"
#include <QtCore/qendian.h>
#include <QtCore/qfile.h>
#include <QtCore/qstringbuilder.h>
#include <QtCore/qvarlengtharray.h>
#include <dwrite_3.h>
#include <d2d1.h>
Go to the source code of this file.
Classes | |
struct | DirectWriteScope< T > |
Functions | |
QT_BEGIN_NAMESPACE Q_GUI_EXPORT QFontDatabase::WritingSystem | qt_writing_system_for_script (int script) |
static QFont::Stretch | fromDirectWriteStretch (DWRITE_FONT_STRETCH stretch) |
static QFont::Weight | fromDirectWriteWeight (DWRITE_FONT_WEIGHT weight) |
static QFont::Style | fromDirectWriteStyle (DWRITE_FONT_STYLE style) |
static int QT_WIN_CALLBACK | populateBitmapFonts (const LOGFONT *logFont, const TEXTMETRIC *textmetric, DWORD type, LPARAM lparam) |
|
static |
Definition at line 75 of file qwindowsdirectwritefontdatabase.cpp.
References QFont::AnyStretch, QFont::Condensed, QFont::Expanded, QFont::ExtraCondensed, QFont::ExtraExpanded, QFont::SemiCondensed, QFont::SemiExpanded, QFont::UltraCondensed, QFont::UltraExpanded, and QFont::Unstretched.
Referenced by QWindowsDirectWriteFontDatabase::addApplicationFont(), QWindowsDirectWriteFontDatabase::populateFamily(), and QWindowsDirectWriteFontDatabase::populateFamilyAliases().
|
static |
Definition at line 96 of file qwindowsdirectwritefontdatabase.cpp.
References QFont::StyleItalic, QFont::StyleNormal, and QFont::StyleOblique.
Referenced by QWindowsDirectWriteFontDatabase::addApplicationFont(), QWindowsDirectWriteFontDatabase::populateFamily(), and QWindowsDirectWriteFontDatabase::populateFamilyAliases().
|
static |
Definition at line 91 of file qwindowsdirectwritefontdatabase.cpp.
Referenced by QWindowsDirectWriteFontDatabase::addApplicationFont(), QWindowsDirectWriteFontDatabase::populateFamily(), and QWindowsDirectWriteFontDatabase::populateFamilyAliases().
|
static |
Definition at line 693 of file qwindowsdirectwritefontdatabase.cpp.
References db, QString::fromWCharArray(), and Q_UNUSED.
Referenced by QWindowsDirectWriteFontDatabase::populateFontDatabase().
QT_BEGIN_NAMESPACE Q_GUI_EXPORT QFontDatabase::WritingSystem qt_writing_system_for_script | ( | int | script | ) |
Definition at line 414 of file qfontdatabase.cpp.
References scriptForWritingSystem, and QFontDatabase::WritingSystemsCount.
Referenced by QPlatformFontDatabase::fallbacksForFamily(), and qt_sort_families_by_writing_system().