ADi-FontEngine  1.0
PDF Optimized FontEngine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FontEngine::TEmbFontData Struct Reference

struct to define glyph decriptions inclusive outline data for input or modify new or existing glyphs More...

#include <FontEngineTypes.h>

Inheritance diagram for FontEngine::TEmbFontData:
FontEngine::TGlyph

Public Member Functions

 TEmbFontData (const TCharCode &unicode, const TCharCode &charcode, double gwidth, const std::string &psname, unsigned int gid, unsigned short cid)
 ctor More...
 
 TEmbFontData (const TGlyph &glyph)
 ctor More...
 
- Public Member Functions inherited from FontEngine::TGlyph
 TGlyph ()
 default ctor More...
 
 TGlyph (const TCharCode &ccode, const TCharCode &unicode, unsigned int gid, const std::string &psname, unsigned short cid)
 ctor More...
 
bool operator() (const TGlyph &g1, const TGlyph &g2, EGSelector sel) const
 callback comparison function to sort TGlyph items into the data bank class, see struct TDBComp More...
 
EDBCompActionRes operator() (const TGlyph &g, EGSelector sel) const
 callback function called by data bank class before insert an TGlyph item, see struct TDBComp. More...
 

Public Attributes

TGOutline _goutline
 [in] the glyph outline can be empty if font should be subset and font type doesn't change More...
 
unsigned int _newgid
 [out] [0 - 65535] valid range, if glyph must be moved to a new gid More...
 
- Public Attributes inherited from FontEngine::TGlyph
TValidBS _vmask
 the valid mask see EGSelector More...
 
unsigned int _gid
 [0 - 65535] valid range, to mark it as unknown glyph use any number greater as number of glyphs in current font More...
 
TCharCode _charcode
 character code used by this glyph is depends from encoding More...
 
std::string _psname
 PostScript name of glyph if present or needed. More...
 
TCharCode _unicode
 the unicode derived from internal font encoding or PostScript More...
 
unsigned short _cid
 [in] the cid (character collection id) in cid fonts More...
 

Additional Inherited Members

- Public Types inherited from FontEngine::TGlyph
enum  EGSelector {
  egsGID, egsCharCode, egsPSName, egsUnicode,
  egsCID
}
 enum to define the comparison selectors More...
 
enum  EGValid {
  egvGID, egvCharCode, egvPSName, egvUnicode,
  egvCID, egvTTEmpty
}
 < enum to get info about valid member or not More...
 
typedef std::bitset< egvTTEmpty+1 > TValidBS
 

Detailed Description

struct to define glyph decriptions inclusive outline data for input or modify new or existing glyphs

Constructor & Destructor Documentation

FontEngine::TEmbFontData::TEmbFontData ( const TCharCode unicode,
const TCharCode charcode,
double  gwidth,
const std::string &  psname,
unsigned int  gid,
unsigned short  cid 
)
inline

ctor

Parameters
unicodea unicode
charcodea character code
gwidththe glyph width
psnamea glyph PostScript name
gida glyph index
cida character collection id
FontEngine::TEmbFontData::TEmbFontData ( const TGlyph glyph)
inline

ctor

Parameters
glyphthe glyph traits to copy

Member Data Documentation

TGOutline FontEngine::TEmbFontData::_goutline

[in] the glyph outline can be empty if font should be subset and font type doesn't change

unsigned int FontEngine::TEmbFontData::_newgid

[out] [0 - 65535] valid range, if glyph must be moved to a new gid


The documentation for this struct was generated from the following file:
InsideFont and ADI-FontEngine : Andreas Dippe, © 2013
http://www.insidefont.de