mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
Merge remote-tracking branch 'agal/master'
Conflicts: pdf.js test.html
This commit is contained in:
commit
78493db421
2 changed files with 17 additions and 3 deletions
2
pdf.js
2
pdf.js
|
@ -368,6 +368,7 @@ var FlateStream = (function() {
|
|||
var bufferLength = this.bufferLength;
|
||||
var bufferPos = this.bufferPos;
|
||||
var n = 0;
|
||||
|
||||
// entire front of stream needs to be copied over since flate
|
||||
// looksback when decoding
|
||||
while (0 < bufferLength)
|
||||
|
@ -2141,7 +2142,6 @@ var CanvasGraphics = (function() {
|
|||
error("unhandled amount of components per pixel: " + numComps);
|
||||
}
|
||||
}
|
||||
>>>>>>> 496a6374c1ac04e
|
||||
}
|
||||
tmpCtx.putImageData(imgData, 0, 0);
|
||||
this.ctx.drawImage(tmpCanvas, 0, 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue