Kaydet (Commit) 2e43d238 authored tarafından David Tardon's avatar David Tardon

skip reserved operators

üst bdf13d15
......@@ -611,15 +611,19 @@ void CffSubsetterContext::readDictOp( void)
const U8 c = *mpReadPtr;
if( c <= 21 ) {
int nOpId = *(mpReadPtr++);
const char* pCmdName;
const char* pCmdName = 0;
if( nOpId != 12)
pCmdName = pDictOps[ nOpId];
pCmdName = pDictOps[nOpId];
else {
const U8 nExtId = *(mpReadPtr++);
pCmdName = pDictEscs[ nExtId];
if (nExtId < 39)
pCmdName = pDictEscs[nExtId];
nOpId = 900 + nExtId;
}
if (!pCmdName) // skip reserved operators
return;
//TODO: if( nStackIdx > 0)
switch( *pCmdName) {
default: fprintf( stderr, "unsupported DictOp.type=\'%c\'\n", *pCmdName); break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment