1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-28 23:28:16 +02:00

Really pass the sanitizer (encoding is broken)

This commit is contained in:
Vivien Nicolas 2011-06-19 11:07:03 +02:00
parent 8a24a967c3
commit bf835f7aa5
2 changed files with 28 additions and 23 deletions

2
pdf.js
View file

@ -1928,7 +1928,7 @@ var CanvasGraphics = (function() {
var index = 0;
for (var j = 0; j < encoding.length; j++) {
encodingMap[firstChar + index++] = GlyphsUnicode[encoding[j]];
encodingMap[index++] = GlyphsUnicode[encoding[j]];
}
var widths = xref.fetchIfRef(fontDict.get("Widths"));