ADi-FontEngine  1.0
PDF Optimized FontEngine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PostScript Namespace Reference

Classes

struct  TCIDData
 TCIDData is the cmap data template struct, used to keep cmap data bank class, the data are always simple key/value pairs. More...
 
struct  TFontCodeMap
 the CMap storage struct keep all possible CMap data More...
 
struct  TCMapDict
 CMap dict information. More...
 
struct  TPostScriptError
 PostScript C++ exception type. More...
 
struct  TPSFunction
 < class to support PostScript function objects defined in PDF Documents More...
 

Typedefs

typedef FontEngine::TCharCode TCCode
 
typedef FontEngine::TRange
< TCCode
TCCodeRange
 
typedef FontEngine::TRange
< unsigned short > 
TCIDRange
 
typedef
FontEngine::EDBCompActionRes 
EDBCompActionRes
 
typedef std::multiset
< TCCodeRange
TCodeRangeSet
 
typedef unsigned int TPSNameObjID
 the CMap data bank type definitions More...
 
typedef TCIDData< TCCode,
TPSNameObjID
TCCodeName
 
typedef FontEngine::TDBank
< TCCodeName,
TCCodeName::ESelector,
TCCodeName::eValue+1,
TCCodeName
TCCodeNameBank
 
typedef TCIDData< TCCode, TCCodeTCCodeUNi
 
typedef FontEngine::TDBank
< TCCodeUNi,
TCCodeUNi::ESelector,
TCCodeUNi::eValue+1, TCCodeUNi
TCCodeUNiBank
 
typedef TCIDData< TCCode,
unsigned short > 
TCCodeCID
 
typedef FontEngine::TDBank
< TCCodeCID,
TCCodeCID::ESelector,
TCCodeCID::eValue+1, TCCodeCID
TCCodeCIDBank
 
typedef TCIDData< TCCodeRange,
TCCodeRange
TRangeCCode
 
typedef FontEngine::TDBank
< TRangeCCode,
TRangeCCode::ESelector,
TRangeCCode::eValue+1,
TRangeCCode
TRangeCCodeBank
 
typedef TCIDData< TCCodeRange,
TCIDRange
TRangeCID
 
typedef FontEngine::TDBank
< TRangeCID,
TRangeCID::ESelector,
TRangeCID::eValue+1, TRangeCID
TRangeCIDBank
 
typedef std::vector< int > TXUID
 

Enumerations

enum  EErrorCodes {
  eNoError = 0, eUnknown = 6000, eConfigurationError, eDictFull,
  eDictStackOverflow, eDictStackUnderflow, eExecStackOverflow, eHandleError,
  eInterrupt, eInvalidAccess, eInvalidExit, eInvalidFileAccess,
  eInvalidFont, eInvalidRestore, eIOError, eLimitCheck,
  eNoCurrentPoint, eRangeCheck, eStackOverflow, eStackUnderflow,
  eSyntaxError, eTimeout, eTypeCheck, eUndefined,
  eUndefinedFilename, eUndefinedResource, eUndefinedResult, eUnmatchedMark,
  eUnregistered, eVMError
}
 PostScript error codes. More...
 

Functions

void ThrowPostScriptException (bool expr, EErrorCodes errcode, bool dbg_break=true)
 function to raise PostScript exception More...
 
void PostScript_Assert (bool expr)
 function to check program process no excption raise More...
 

Typedef Documentation

typedef TCIDData< TCCode, unsigned short > PostScript::TCCodeCID
typedef FontEngine::TRange< unsigned short > PostScript::TCIDRange
typedef std::multiset< TCCodeRange > PostScript::TCodeRangeSet
typedef unsigned int PostScript::TPSNameObjID

the CMap data bank type definitions

typedef std::vector<int> PostScript::TXUID

Enumeration Type Documentation

PostScript error codes.

Enumerator
eNoError 
eUnknown 

(6000) ps - Unknown error

eConfigurationError 

(6001) ps - setpagedevice or setdevparams request cannot be satisfied

eDictFull 

(6002) ps - No more room in dictionary

eDictStackOverflow 

(6003) ps - Too many begin operators

eDictStackUnderflow 

(6004) ps - Too many end operators

eExecStackOverflow 

(6005) ps - Executive stack nesting too deep

eHandleError 

(6006) ps - Called to report error information

eInterrupt 

(6007) ps - External interrupt request (for example, control-C)

eInvalidAccess 

(6008) ps - Attempt to violate access attribute

eInvalidExit 

(6009) ps - exit not in loop

eInvalidFileAccess 

(6010) ps - Unacceptable access string

eInvalidFont 

(6011) ps - Invalid Font resource name or font or CIDFont dictionary

eInvalidRestore 

(6012) ps - Improper restore

eIOError 

(6013) ps - Input/output error

eLimitCheck 

(6014) ps - Implementation limit exceeded

eNoCurrentPoint 

(6015) ps - Current point undefined

eRangeCheck 

(6016) ps - Operand out of bounds

eStackOverflow 

(6017) ps - Operand stack overflow

eStackUnderflow 

(6018) ps - Operand stack underflow

eSyntaxError 

(6019) ps - PostScript language syntax error

eTimeout 

(6020) ps - Time limit exceeded

eTypeCheck 

(6021) ps - Operand of wrong type

eUndefined 

(6022) ps - Name not known

eUndefinedFilename 

(6023) ps - File not found

eUndefinedResource 

(6024) ps - Resource instance not found

eUndefinedResult 

(6025) ps - Overflow, underflow, or meaningless result

eUnmatchedMark 

(6026) ps - Expected mark not on stack

eUnregistered 

(6027) ps - Internal error

eVMError 

(6028) ps - Virtual memory exhausted

Function Documentation

void PostScript::PostScript_Assert ( bool  expr)
inline

function to check program process no excption raise

Parameters
exprif false the program will stop if a debugger is present
void PostScript::ThrowPostScriptException ( bool  expr,
EErrorCodes  errcode,
bool  dbg_break = true 
)
inline

function to raise PostScript exception

Parameters
exprif false a exception with error code will be raised
errcodePostScript error codes
dbg_breakif true the program will stop if a debugger is present
InsideFont and ADI-FontEngine : Andreas Dippe, © 2013
http://www.insidefont.de