ADi-FontEngine  1.1
C++ Font Library
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  TCMapDict
 CMap dict information. More...
 
struct  TFontCodeMap
 the CMap storage struct keep all possible CMap data More...
 
struct  TPostScriptError
 PostScript C++ exception type. More...
 
struct  TPSFunction
 < class to support PostScript function objects defined in PDF Documents More...
 

Typedefs

typedef unsigned int TCID
 
typedef FontEngine::TCharCode TCCode
 
typedef FontEngine::TRange< TCCodeTCCodeRange
 
typedef FontEngine::TRange< TCIDTCIDRange
 
typedef FontEngine::EDBCompActionRes EDBCompActionRes
 
typedef std::multiset< TCCodeRangeTCodeRangeSet
 
typedef std::set< TCCode, FontEngine::TUNiDataEvalTUnicodeSet
 
typedef std::set< FontEngine::TCIDTCIDSet
 
typedef unsigned int TPSNameObjID
 the CMap data bank type definitions More...
 
typedef TCIDData< TCCode, TPSNameObjIDTCCodeName
 
typedef FontEngine::TDBank< TCCodeName, TCCodeName::ESelector, TCCodeName::eValue+1, TCCodeNameTCCodeNameBank
 
typedef TCIDData< TCCode, TCCodeTCCodeUNi
 
typedef FontEngine::TDBank< TCCodeUNi, TCCodeUNi::ESelector, TCCodeUNi::eValue+1, TCCodeUNiTCCodeUNiBank
 
typedef TCIDData< TCCode, TCIDTCCodeCID
 
typedef FontEngine::TDBank< TCCodeCID, TCCodeCID::ESelector, TCCodeCID::eValue+1, TCCodeCIDTCCodeCIDBank
 
typedef TCIDData< TCCodeRange, TCCodeRangeTRangeCCode
 
typedef FontEngine::TDBank< TRangeCCode, TRangeCCode::ESelector, TRangeCCode::eValue+1, TRangeCCodeTRangeCCodeBank
 
typedef TCIDData< TCCodeRange, TCIDRangeTRangeCID
 
typedef FontEngine::TDBank< TRangeCID, TRangeCID::ESelector, TRangeCID::eValue+1, TRangeCIDTRangeCIDBank
 
typedef std::vector< TFontCodeMapTFontCodeMapVec
 
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

◆ EDBCompActionRes

◆ TCCode

◆ TCCodeCID

◆ TCCodeCIDBank

◆ TCCodeName

◆ TCCodeNameBank

◆ TCCodeRange

◆ TCCodeUNi

◆ TCCodeUNiBank

◆ TCID

typedef unsigned int PostScript::TCID

◆ TCIDRange

◆ TCIDSet

◆ TCodeRangeSet

typedef std::multiset< TCCodeRange > PostScript::TCodeRangeSet

◆ TFontCodeMapVec

◆ TPSNameObjID

typedef unsigned int PostScript::TPSNameObjID

the CMap data bank type definitions

◆ TRangeCCode

◆ TRangeCCodeBank

◆ TRangeCID

◆ TRangeCIDBank

◆ TUnicodeSet

◆ TXUID

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

Enumeration Type Documentation

◆ EErrorCodes

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

◆ PostScript_Assert()

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

◆ ThrowPostScriptException()

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