Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qwindowsdirectwritefontdatabase.cpp File Reference
#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>
+ Include dependency graph for qwindowsdirectwritefontdatabase.cpp:

Go to the source code of this file.

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)
 

Function Documentation

◆ fromDirectWriteStretch()

static QFont::Stretch fromDirectWriteStretch ( DWRITE_FONT_STRETCH  stretch)
static

Definition at line 49 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(), and QWindowsDirectWriteFontDatabase::populateFamily().

+ Here is the caller graph for this function:

◆ fromDirectWriteStyle()

static QFont::Style fromDirectWriteStyle ( DWRITE_FONT_STYLE  style)
static

Definition at line 70 of file qwindowsdirectwritefontdatabase.cpp.

References QFont::StyleItalic, QFont::StyleNormal, and QFont::StyleOblique.

Referenced by QWindowsDirectWriteFontDatabase::addApplicationFont(), and QWindowsDirectWriteFontDatabase::populateFamily().

+ Here is the caller graph for this function:

◆ fromDirectWriteWeight()

static QFont::Weight fromDirectWriteWeight ( DWRITE_FONT_WEIGHT  weight)
static

Definition at line 65 of file qwindowsdirectwritefontdatabase.cpp.

Referenced by QWindowsDirectWriteFontDatabase::addApplicationFont(), and QWindowsDirectWriteFontDatabase::populateFamily().

+ Here is the caller graph for this function:

◆ qt_writing_system_for_script()

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(), QWindowsDirectWriteFontDatabase::populateFamily(), and qt_sort_families_by_writing_system().

+ Here is the caller graph for this function: