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;
},
applyStencilMask: function fillUsingStencilMask(buffer,
inverseDecode) {
applyStencilMask: function applyStencilMask(buffer, inverseDecode) {
var width = this.width, height = this.height;
var bitStrideLength = (width + 7) >> 3;
var imgArray = this.image.getBytes(bitStrideLength * height);