Merge branch 'stancil-pattern' of git://github.com/notmasteryet/pdf.js.git

This commit is contained in:
notmasteryet 2011-08-24 23:01:42 -05:00
commit aac97cd4cd

3
pdf.js
View File

@ -6003,8 +6003,7 @@ var PDFImage = (function() {
} }
return buf; return buf;
}, },
applyStencilMask: function fillUsingStencilMask(buffer, applyStencilMask: function applyStencilMask(buffer, inverseDecode) {
inverseDecode) {
var width = this.width, height = this.height; var width = this.width, height = this.height;
var bitStrideLength = (width + 7) >> 3; var bitStrideLength = (width + 7) >> 3;
var imgArray = this.image.getBytes(bitStrideLength * height); var imgArray = this.image.getBytes(bitStrideLength * height);