Mapper  0.9.0
API documentation
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
QFontSubset Class Reference

Copyright 2015 Kai Pastor. More...

#include <qfontsubset_p.h>

Collaboration diagram for QFontSubset:
Collaboration graph
[legend]

Public Member Functions

 QFontSubset (QFontEngine *fe, int obj_id=0)
 
 ~QFontSubset ()
 
QByteArray toTruetype () const
 
QByteArray widthArray () const
 
QByteArray createToUnicodeMap () const
 
QVector< int > getReverseMap () const
 
QByteArray glyphName (unsigned int glyph, const QVector< int > &reverseMap) const
 
int addGlyph (int index)
 
int nGlyphs () const
 
 QFontSubset (QFontEngine *fe, int obj_id=0)
 
 ~QFontSubset ()
 
QByteArray toTruetype () const
 
QByteArray widthArray () const
 
QByteArray createToUnicodeMap () const
 
QVector< int > getReverseMap () const
 
QByteArray glyphName (unsigned int glyph, const QVector< int > &reverseMap) const
 
int addGlyph (int index)
 
int nGlyphs () const
 

Static Public Member Functions

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

Public Attributes

const int object_id
 
bool noEmbed
 
QFontEngine * fontEngine
 
QVector< int > glyph_indices
 
int downloaded_glyphs
 
bool standard_font
 
QFixed emSquare
 
QVector< QFixed > widths
 
QList< int > glyph_indices
 

Detailed Description

Copyright 2015 Kai Pastor.

This file is part of OpenOrienteering.

This file is part of OpenOrienteering.

This is a modified version of a file from the Qt Toolkit. You can redistribute it and/or modify it under the terms of the GNU General Public License, version 3, as published by the Free Software Foundation, or any later version approved by the KDE Free Qt Foundation

OpenOrienteering is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with OpenOrienteering. If not, see http://www.gnu.org/licenses/

This is a modified version of a file from the Qt Toolkit. You can redistribute it and/or modify it under the terms of the GNU General Public License, version 3, as published by the Free Software Foundation.

OpenOrienteering is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with OpenOrienteering. If not, see http://www.gnu.org/licenses/

Changes: 2015-10-18 Kai Pastor dg0yt.nosp@m.@dar.nosp@m.c.de

Constructor & Destructor Documentation

◆ QFontSubset() [1/2]

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

◆ ~QFontSubset() [1/2]

QFontSubset::~QFontSubset ( )
inline

◆ QFontSubset() [2/2]

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

◆ ~QFontSubset() [2/2]

QFontSubset::~QFontSubset ( )
inline

Member Function Documentation

◆ addGlyph() [1/2]

int QFontSubset::addGlyph ( int  index)

◆ addGlyph() [2/2]

int QFontSubset::addGlyph ( int  index)

◆ createToUnicodeMap() [1/2]

QByteArray QFontSubset::createToUnicodeMap ( ) const

◆ createToUnicodeMap() [2/2]

QByteArray QFontSubset::createToUnicodeMap ( ) const

◆ getReverseMap() [1/2]

QVector< int > QFontSubset::getReverseMap ( ) const

◆ getReverseMap() [2/2]

QVector<int> QFontSubset::getReverseMap ( ) const

◆ glyphName() [1/4]

QByteArray QFontSubset::glyphName ( unsigned int  glyph,
const QVector< int > &  reverseMap 
) const

◆ glyphName() [2/4]

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

◆ glyphName() [3/4]

QByteArray QFontSubset::glyphName ( unsigned int  glyph,
const QVector< int > &  reverseMap 
) const

◆ glyphName() [4/4]

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

◆ nGlyphs() [1/2]

int QFontSubset::nGlyphs ( ) const
inline

◆ nGlyphs() [2/2]

int QFontSubset::nGlyphs ( ) const
inline

◆ toTruetype() [1/2]

QByteArray QFontSubset::toTruetype ( ) const

◆ toTruetype() [2/2]

QByteArray QFontSubset::toTruetype ( ) const

◆ widthArray() [1/2]

QByteArray QFontSubset::widthArray ( ) const

◆ widthArray() [2/2]

QByteArray QFontSubset::widthArray ( ) const

Member Data Documentation

◆ downloaded_glyphs

int QFontSubset::downloaded_glyphs
mutable

◆ emSquare

QFixed QFontSubset::emSquare
mutable

◆ fontEngine

QFontEngine * QFontSubset::fontEngine

◆ glyph_indices [1/2]

QVector<int> QFontSubset::glyph_indices

◆ glyph_indices [2/2]

QList<int> QFontSubset::glyph_indices

◆ noEmbed

bool QFontSubset::noEmbed

◆ object_id

const int QFontSubset::object_id

◆ standard_font

bool QFontSubset::standard_font
mutable

◆ widths

QVector< QFixed > QFontSubset::widths
mutable

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