addressing reviewer comments, bug fix

This commit is contained in:
Artur Adib 2012-01-30 09:24:49 -05:00
parent b34c55cc3c
commit 30a01c5da6
2 changed files with 3 additions and 3 deletions

View File

@ -783,8 +783,8 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
dict: baseDict, dict: baseDict,
properties: properties properties: properties
}; };
} // if (type.name == 'Type3') }
} // if (!descriptor) }
// According to the spec if 'FontDescriptor' is declared, 'FirstChar', // According to the spec if 'FontDescriptor' is declared, 'FirstChar',
// 'LastChar' and 'Widths' should exist too, but some PDF encoders seem // 'LastChar' and 'Widths' should exist too, but some PDF encoders seem

View File

@ -358,7 +358,7 @@ var PDFView = {
} else { } else {
if (moreInfo.filename) if (moreInfo.filename)
errorMoreInfo.value += '\n' + 'File: ' + moreInfo.filename; errorMoreInfo.value += '\n' + 'File: ' + moreInfo.filename;
if (moreInfo.filename) if (moreInfo.lineNumber)
errorMoreInfo.value += '\n' + 'Line: ' + moreInfo.lineNumber; errorMoreInfo.value += '\n' + 'Line: ' + moreInfo.lineNumber;
} }
} }