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

abstract class interface from CID to Unicode converter. CID's are Character Collection for CID-Keyed fonts from Adobe saved in CMap files More...

#include <FontEngineEncoding.h>

Public Types

typedef unsigned short TCID
 
typedef std::vector< TCharCodeTCharCodeVec
 

Public Member Functions

virtual ~TCIDToUNiCode ()
 virtual dtor More...
 
virtual TCharCode getUNiCode (TCID cid) const =0
 get a Unicode from given CID More...
 
virtual TCharCodeVec getUNiCodes (TCID cid) const =0
 get a Unicodes from given CID, if more than one Unicode are available More...
 
virtual TCID getCID (const TCharCode &uni) const =0
 get a CID from given Unicode More...
 

Detailed Description

abstract class interface from CID to Unicode converter. CID's are Character Collection for CID-Keyed fonts from Adobe saved in CMap files

Member Typedef Documentation

typedef unsigned short FontEngine::TCIDToUNiCode::TCID

Constructor & Destructor Documentation

virtual FontEngine::TCIDToUNiCode::~TCIDToUNiCode ( )
inlinevirtual

virtual dtor

Member Function Documentation

virtual TCID FontEngine::TCIDToUNiCode::getCID ( const TCharCode uni) const
pure virtual

get a CID from given Unicode

Parameters
unithe given Unicode to get CID
Returns
the CID if 0 no CID will be available, this is .notdef
virtual TCharCode FontEngine::TCIDToUNiCode::getUNiCode ( TCID  cid) const
pure virtual

get a Unicode from given CID

Parameters
cidthe given CID to get Unicode
Returns
the Unicode if empty no Unicode will be available
virtual TCharCodeVec FontEngine::TCIDToUNiCode::getUNiCodes ( TCID  cid) const
pure virtual

get a Unicodes from given CID, if more than one Unicode are available

Parameters
cidthe given CID to get Unicode
Returns
the Unicodes if empty no Unicode will be available

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