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
QWindowsFontDatabaseBase::EmbeddedFont Class Reference

#include <qwindowsfontdatabasebase_p.h>

+ Collaboration diagram for QWindowsFontDatabaseBase::EmbeddedFont:

Public Member Functions

 EmbeddedFont (const QByteArray &fontData)
 
QString changeFamilyName (const QString &newFamilyName)
 
QByteArray data () const
 
void updateFromOS2Table (QFontEngine *fontEngine)
 
FontTabletableDirectoryEntry (const QByteArray &tagName)
 
QString familyName (FontTable *nameTableDirectory=nullptr)
 

Detailed Description

Definition at line 80 of file qwindowsfontdatabasebase_p.h.

Constructor & Destructor Documentation

◆ EmbeddedFont()

QWindowsFontDatabaseBase::EmbeddedFont::EmbeddedFont ( const QByteArray & fontData)
inline

Definition at line 83 of file qwindowsfontdatabasebase_p.h.

Member Function Documentation

◆ changeFamilyName()

QString QWindowsFontDatabaseBase::EmbeddedFont::changeFamilyName ( const QString & newFamilyName)

Definition at line 198 of file qwindowsfontdatabasebase.cpp.

References ch, QString::fromLatin1(), and i.

+ Here is the call graph for this function:

◆ data()

QByteArray QWindowsFontDatabaseBase::EmbeddedFont::data ( ) const
inline

Definition at line 86 of file qwindowsfontdatabasebase_p.h.

◆ familyName()

QString QWindowsFontDatabaseBase::EmbeddedFont::familyName ( QWindowsFontDatabaseBase::FontTable * directoryEntry = nullptr)

Definition at line 129 of file qwindowsfontdatabasebase.cpp.

References i, ptr(), and Q_UNLIKELY.

+ Here is the call graph for this function:

◆ tableDirectoryEntry()

QWindowsFontDatabaseBase::FontTable * QWindowsFontDatabaseBase::EmbeddedFont::tableDirectoryEntry ( const QByteArray & tagName)

Definition at line 105 of file qwindowsfontdatabasebase.cpp.

References QByteArray::constData(), QByteArray::data(), Q_ASSERT, Q_UNLIKELY, and QByteArray::size().

+ Here is the call graph for this function:

◆ updateFromOS2Table()

void QWindowsFontDatabaseBase::EmbeddedFont::updateFromOS2Table ( QFontEngine * fontEngine)

Definition at line 176 of file qwindowsfontdatabasebase.cpp.

References QFontEngine::fontDef, QWindowsFontDatabaseBase::fontEngine(), QFontDef::style, QFont::StyleItalic, QFont::StyleNormal, QFont::StyleOblique, and QFontDef::weight.

+ Here is the call graph for this function:

The documentation for this class was generated from the following files: