Fix regression #372
This commit is contained in:
parent
3f16be334e
commit
528e89693b
1
pdf.js
1
pdf.js
@ -4288,6 +4288,7 @@ var PartialEvaluator = (function() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (fontDict.has('ToUnicode')) {
|
if (fontDict.has('ToUnicode')) {
|
||||||
|
encodingMap['empty'] = true;
|
||||||
var cmapObj = xref.fetchIfRef(fontDict.get('ToUnicode'));
|
var cmapObj = xref.fetchIfRef(fontDict.get('ToUnicode'));
|
||||||
if (IsName(cmapObj)) {
|
if (IsName(cmapObj)) {
|
||||||
error('ToUnicode file cmap translation not implemented');
|
error('ToUnicode file cmap translation not implemented');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user