Fix regression #372

This commit is contained in:
Vivien Nicolas 2011-08-25 02:38:19 +02:00
parent 3f16be334e
commit 528e89693b

1
pdf.js
View File

@ -4288,6 +4288,7 @@ var PartialEvaluator = (function() {
}
if (fontDict.has('ToUnicode')) {
encodingMap['empty'] = true;
var cmapObj = xref.fetchIfRef(fontDict.get('ToUnicode'));
if (IsName(cmapObj)) {
error('ToUnicode file cmap translation not implemented');