Enhance the converter code by filling Format 6 dense array gaps

This commit is contained in:
Vivien Nicolas 2011-06-22 10:56:31 +02:00
parent e9ed96d97c
commit 4f7fb7539b
2 changed files with 27 additions and 6 deletions

2
pdf.js
View file

@ -2234,7 +2234,7 @@ var CanvasGraphics = (function() {
// The encoding mapping table will be filled
// later during the building phase
//encodingMap[k] = GlyphsUnicode[encoding[code]];
charset.push(encoding[code++]);
charset.push(encoding[code++] || ".notdef");
}
}
break;