ADi-FontEngine  1.1
C++ Font Library
PostScript::TFontCodeMap Struct Reference

the CMap storage struct keep all possible CMap data More...

#include <PostScriptCMapData.h>

Public Types

enum  ERetType { ertUnknown, ertSingle, ertRange }
 
typedef std::pair< TCCode, ERetTypeTBFCCodeRet
 
typedef std::pair< TCID, ERetTypeTCIDCCodeRet
 

Public Member Functions

 TFontCodeMap ()
 
TBFCCodeRet getBFValueCode (const TCCode &charcode, bool fromVoid) const
 
TBFCCodeRet getBFKeyCode (const TCCode &uni) const
 
void clear ()
 

Public Attributes

TCodeRangeSet _codespacerangeset
 the "Code Space Range" data; key: char code; value: char code; used in Encoding and ToUnicode CMap's More...
 
TCCodeUNiBank _bfcharbank
 the "BF Char"; key: char code; value: unicode; data with unicode as value; used in ToUnicode CMap's More...
 
TRangeCCodeBank _bfrangebank
 the "BF Range"; key: char code range; value: unicode code range; used in ToUnicode CMap's More...
 
TCCodeNameBank _bfcharnamebank
 the "BF Char"; key: char code; value: PostScript glyph name; used in ToUnicode CMap's More...
 
TCCodeCIDBank _cidcharbank
 the "CID code" data; key: char code; value: cid; used in Encoding CMap's More...
 
TRangeCIDBank _cidrangebank
 the "CID code Range" data; key: char code range; value: cid range; used in Encoding CMap's More...
 
TCCodeCIDBank _notdefcharbank
 the ".notdef Char" data; key: char code; value: cid; used in Encoding CMap's More...
 
TRangeCIDBank _notdefrangebank
 the ".notdef Range" data; key: char code range; value: cid range; used in Encoding CMap's More...
 
unsigned int _maxCID
 the greatest cid defined in CMap file More...
 
TCCodeUNiBank _bfvoidbank
 the "BF Char"; key: char code; value: unicode; key is already defined and therfore unused More...
 
TCCodeNameBank _bfvoidnamebank
 the "BF Char"; key: char code; value: PostScript glyph name; key is already defined and therfore unused More...
 
TCCodeCIDBank _cidvoidbank
 the "CID code" data; key: char code; value: cid; key is already defined and therfore unused More...
 
TCCodeCIDBank _notdefvoidbank
 the ".notdef Char" data; key: char code; value: cid; key is already defined and therfore unused More...
 
unsigned int _numIn_codespacer
 number of code space range sections More...
 
unsigned int _numIn_bfchar
 number of bf char entries More...
 
unsigned int _numIn_bfrange
 number of bf range entries More...
 
unsigned int _numIn_bfrangepoint
 number of bf range code points entries More...
 
unsigned int _numIn_bfname
 number of bf names entries More...
 
unsigned int _numIn_cidchar
 number of cid char entries More...
 
unsigned int _numIn_cidrange
 number of cid range entries More...
 
unsigned int _numIn_cidrangepoint
 number of cid range code points entries More...
 
unsigned int _numIn_ndefchar
 number of notdef char entries More...
 
unsigned int _numIn_ndefrange
 number of notdef range entries More...
 
unsigned int _numIn_ndefrangepoint
 number of notdef range code points entries More...
 

Detailed Description

the CMap storage struct keep all possible CMap data

Member Typedef Documentation

◆ TBFCCodeRet

◆ TCIDCCodeRet

Member Enumeration Documentation

◆ ERetType

Enumerator
ertUnknown 
ertSingle 
ertRange 

Constructor & Destructor Documentation

◆ TFontCodeMap()

PostScript::TFontCodeMap::TFontCodeMap ( )
inline

Member Function Documentation

◆ clear()

void PostScript::TFontCodeMap::clear ( )
inline

◆ getBFKeyCode()

TBFCCodeRet PostScript::TFontCodeMap::getBFKeyCode ( const TCCode uni) const
inline

◆ getBFValueCode()

TBFCCodeRet PostScript::TFontCodeMap::getBFValueCode ( const TCCode charcode,
bool  fromVoid 
) const
inline

Member Data Documentation

◆ _bfcharbank

TCCodeUNiBank PostScript::TFontCodeMap::_bfcharbank

the "BF Char"; key: char code; value: unicode; data with unicode as value; used in ToUnicode CMap's

◆ _bfcharnamebank

TCCodeNameBank PostScript::TFontCodeMap::_bfcharnamebank

the "BF Char"; key: char code; value: PostScript glyph name; used in ToUnicode CMap's

◆ _bfrangebank

TRangeCCodeBank PostScript::TFontCodeMap::_bfrangebank

the "BF Range"; key: char code range; value: unicode code range; used in ToUnicode CMap's

◆ _bfvoidbank

TCCodeUNiBank PostScript::TFontCodeMap::_bfvoidbank

the "BF Char"; key: char code; value: unicode; key is already defined and therfore unused

◆ _bfvoidnamebank

TCCodeNameBank PostScript::TFontCodeMap::_bfvoidnamebank

the "BF Char"; key: char code; value: PostScript glyph name; key is already defined and therfore unused

◆ _cidcharbank

TCCodeCIDBank PostScript::TFontCodeMap::_cidcharbank

the "CID code" data; key: char code; value: cid; used in Encoding CMap's

◆ _cidrangebank

TRangeCIDBank PostScript::TFontCodeMap::_cidrangebank

the "CID code Range" data; key: char code range; value: cid range; used in Encoding CMap's

◆ _cidvoidbank

TCCodeCIDBank PostScript::TFontCodeMap::_cidvoidbank

the "CID code" data; key: char code; value: cid; key is already defined and therfore unused

◆ _codespacerangeset

TCodeRangeSet PostScript::TFontCodeMap::_codespacerangeset

the "Code Space Range" data; key: char code; value: char code; used in Encoding and ToUnicode CMap's

◆ _maxCID

unsigned int PostScript::TFontCodeMap::_maxCID

the greatest cid defined in CMap file

◆ _notdefcharbank

TCCodeCIDBank PostScript::TFontCodeMap::_notdefcharbank

the ".notdef Char" data; key: char code; value: cid; used in Encoding CMap's

◆ _notdefrangebank

TRangeCIDBank PostScript::TFontCodeMap::_notdefrangebank

the ".notdef Range" data; key: char code range; value: cid range; used in Encoding CMap's

◆ _notdefvoidbank

TCCodeCIDBank PostScript::TFontCodeMap::_notdefvoidbank

the ".notdef Char" data; key: char code; value: cid; key is already defined and therfore unused

◆ _numIn_bfchar

unsigned int PostScript::TFontCodeMap::_numIn_bfchar

number of bf char entries

◆ _numIn_bfname

unsigned int PostScript::TFontCodeMap::_numIn_bfname

number of bf names entries

◆ _numIn_bfrange

unsigned int PostScript::TFontCodeMap::_numIn_bfrange

number of bf range entries

◆ _numIn_bfrangepoint

unsigned int PostScript::TFontCodeMap::_numIn_bfrangepoint

number of bf range code points entries

◆ _numIn_cidchar

unsigned int PostScript::TFontCodeMap::_numIn_cidchar

number of cid char entries

◆ _numIn_cidrange

unsigned int PostScript::TFontCodeMap::_numIn_cidrange

number of cid range entries

◆ _numIn_cidrangepoint

unsigned int PostScript::TFontCodeMap::_numIn_cidrangepoint

number of cid range code points entries

◆ _numIn_codespacer

unsigned int PostScript::TFontCodeMap::_numIn_codespacer

number of code space range sections

◆ _numIn_ndefchar

unsigned int PostScript::TFontCodeMap::_numIn_ndefchar

number of notdef char entries

◆ _numIn_ndefrange

unsigned int PostScript::TFontCodeMap::_numIn_ndefrange

number of notdef range entries

◆ _numIn_ndefrangepoint

unsigned int PostScript::TFontCodeMap::_numIn_ndefrangepoint

number of notdef range code points entries


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