Mapper  0.9.0
API documentation
Classes | Macros | Typedefs | Enumerations | Functions
qfontsubset.cpp File Reference

(d906cdb on 15 Aug 2019)

#include "qfontsubset_p.h"
#include <qdebug.h>
#include <qendian.h>
#include <qpainterpath.h>
#include "advanced_pdf_p.h"
#include "qfontsubset_agl.cpp"
#include <algorithm>
Include dependency graph for qfontsubset.cpp:

Classes

class  QTtfStream
 
struct  QTtfTable
 
struct  qttf_head_table
 
struct  qttf_hhea_table
 
struct  qttf_maxp_table
 
struct  qttf_name_table
 
struct  qttf_font_tables
 
struct  QTtfGlyph
 
struct  QTtfNameRecord
 
struct  TTF_POINT
 

Macros

#define TAG(x)   char(t.tag >> 24) << char((t.tag >> 16) & 0xff) << char((t.tag >> 8) & 0xff) << char(t.tag & 0xff)
 
#define TO_TTF(x)   qRound(x * 2048. / ppem)
 

Typedefs

typedef qint16 F2DOT14
 
typedef quint32 Tag
 
typedef quint16 GlyphID
 
typedef quint16 Offset
 

Enumerations

enum  Flags {
  OffCurve = 0, OnCurve = (1 << 0), XShortVector = (1 << 1), YShortVector = (1 << 2),
  Repeat = (1 << 3), XSame = (1 << 4), XShortPositive = (1 << 4), YSame = (1 << 5),
  YShortPositive = (1 << 5), OffCurve = 0, OnCurve = (1 << 0), XShortVector = (1 << 1),
  YShortVector = (1 << 2), Repeat = (1 << 3), XSame = (1 << 4), XShortPositive = (1 << 4),
  YSame = (1 << 5), YShortPositive = (1 << 5)
}
 

Functions

 Q_DECLARE_TYPEINFO (QTtfTable, Q_MOVABLE_TYPE)
 
 Q_DECLARE_TYPEINFO (qttf_head_table, Q_PRIMITIVE_TYPE)
 
 Q_DECLARE_TYPEINFO (qttf_hhea_table, Q_PRIMITIVE_TYPE)
 
 Q_DECLARE_TYPEINFO (qttf_maxp_table, Q_PRIMITIVE_TYPE)
 
 Q_DECLARE_TYPEINFO (qttf_name_table, Q_MOVABLE_TYPE)
 
 Q_DECLARE_TYPEINFO (QTtfGlyph, Q_MOVABLE_TYPE)
 
 Q_DECLARE_TYPEINFO (QTtfNameRecord, Q_MOVABLE_TYPE)
 
 Q_DECLARE_TYPEINFO (TTF_POINT, Q_PRIMITIVE_TYPE)
 

Macro Definition Documentation

◆ TAG

#define TAG (   x)    char(t.tag >> 24) << char((t.tag >> 16) & 0xff) << char((t.tag >> 8) & 0xff) << char(t.tag & 0xff)

◆ TO_TTF

#define TO_TTF (   x)    qRound(x * 2048. / ppem)

Typedef Documentation

◆ F2DOT14

typedef qint16 F2DOT14

◆ GlyphID

typedef quint16 GlyphID

◆ Offset

typedef quint16 Offset

◆ Tag

typedef quint32 Tag

Enumeration Type Documentation

◆ Flags

enum Flags
Enumerator
OffCurve 
OnCurve 
XShortVector 
YShortVector 
Repeat 
XSame 
XShortPositive 
YSame 
YShortPositive 
OffCurve 
OnCurve 
XShortVector 
YShortVector 
Repeat 
XSame 
XShortPositive 
YSame 
YShortPositive 

Function Documentation

◆ Q_DECLARE_TYPEINFO() [1/8]

Q_DECLARE_TYPEINFO ( QTtfTable  ,
Q_MOVABLE_TYPE   
)

◆ Q_DECLARE_TYPEINFO() [2/8]

Q_DECLARE_TYPEINFO ( qttf_head_table  ,
Q_PRIMITIVE_TYPE   
)

◆ Q_DECLARE_TYPEINFO() [3/8]

Q_DECLARE_TYPEINFO ( qttf_hhea_table  ,
Q_PRIMITIVE_TYPE   
)

◆ Q_DECLARE_TYPEINFO() [4/8]

Q_DECLARE_TYPEINFO ( qttf_maxp_table  ,
Q_PRIMITIVE_TYPE   
)

◆ Q_DECLARE_TYPEINFO() [5/8]

Q_DECLARE_TYPEINFO ( qttf_name_table  ,
Q_MOVABLE_TYPE   
)

◆ Q_DECLARE_TYPEINFO() [6/8]

Q_DECLARE_TYPEINFO ( QTtfGlyph  ,
Q_MOVABLE_TYPE   
)

◆ Q_DECLARE_TYPEINFO() [7/8]

Q_DECLARE_TYPEINFO ( QTtfNameRecord  ,
Q_MOVABLE_TYPE   
)

◆ Q_DECLARE_TYPEINFO() [8/8]

Q_DECLARE_TYPEINFO ( TTF_POINT  ,
Q_PRIMITIVE_TYPE   
)