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
QFontSubset Class Reference

#include <qfontsubset_p.h>

Collaboration diagram for QFontSubset:

Public Member Functions

 QFontSubset (QFontEngine *fe, uint obj_id=0)
 ~QFontSubset ()
QByteArray toTruetype () const
QByteArray widthArray () const
QByteArray createToUnicodeMap () const
QList< int > getReverseMap () const
qsizetype addGlyph (uint index)
qsizetype nGlyphs () const

Static Public Member Functions

static QByteArray glyphName (unsigned short unicode, bool symbol)

Public Attributes

const uint object_id
bool noEmbed
QFontEnginefontEngine
QList< uintglyph_indices
int downloaded_glyphs
bool standard_font
QFixed emSquare
QList< QFixedwidths

Detailed Description

Definition at line 23 of file qfontsubset_p.h.

Constructor & Destructor Documentation

◆ QFontSubset()

QFontSubset::QFontSubset ( QFontEngine * fe,
uint obj_id = 0 )
inlineexplicit

Definition at line 26 of file qfontsubset_p.h.

◆ ~QFontSubset()

QFontSubset::~QFontSubset ( )
inline

Definition at line 34 of file qfontsubset_p.h.

Member Function Documentation

◆ addGlyph()

qsizetype QFontSubset::addGlyph ( uint index)

Definition at line 252 of file qfontsubset.cpp.

◆ createToUnicodeMap()

QByteArray QFontSubset::createToUnicodeMap ( ) const

Definition at line 160 of file qfontsubset.cpp.

◆ getReverseMap()

QList< int > QFontSubset::getReverseMap ( ) const

Definition at line 149 of file qfontsubset.cpp.

◆ glyphName()

QByteArray QFontSubset::glyphName ( unsigned short unicode,
bool symbol )
static

Definition at line 64 of file qfontsubset.cpp.

References symbol_map.

◆ nGlyphs()

qsizetype QFontSubset::nGlyphs ( ) const
inline

Definition at line 55 of file qfontsubset_p.h.

◆ toTruetype()

QByteArray QFontSubset::toTruetype ( ) const

Definition at line 1110 of file qfontsubset.cpp.

References generateName().

Here is the call graph for this function:

◆ widthArray()

QByteArray QFontSubset::widthArray ( ) const

Definition at line 82 of file qfontsubset.cpp.

Member Data Documentation

◆ downloaded_glyphs

int QFontSubset::downloaded_glyphs
mutable

Definition at line 53 of file qfontsubset_p.h.

◆ emSquare

QFixed QFontSubset::emSquare
mutable

Definition at line 56 of file qfontsubset_p.h.

◆ fontEngine

QFontEngine* QFontSubset::fontEngine

Definition at line 51 of file qfontsubset_p.h.

◆ glyph_indices

QList<uint> QFontSubset::glyph_indices

Definition at line 52 of file qfontsubset_p.h.

◆ noEmbed

bool QFontSubset::noEmbed

Definition at line 50 of file qfontsubset_p.h.

◆ object_id

const uint QFontSubset::object_id

Definition at line 49 of file qfontsubset_p.h.

◆ standard_font

bool QFontSubset::standard_font
mutable

Definition at line 54 of file qfontsubset_p.h.

◆ widths

QList<QFixed> QFontSubset::widths
mutable

Definition at line 57 of file qfontsubset_p.h.


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