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:
parent
8a24a967c3
commit
bf835f7aa5
2 changed files with 28 additions and 23 deletions
2
pdf.js
2
pdf.js
|
@ -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"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue