1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 07:08:08 +02:00
This commit is contained in:
sbarman 2011-07-11 09:23:30 -07:00
parent d38a5488d4
commit 07f8145165

4
pdf.js
View file

@ -4,7 +4,7 @@
'use strict';
var ERRORS = 0, WARNINGS = 1, TODOS = 5;
var verbosity = TODOS;
var verbosity = WARNINGS;
function log(msg) {
if (console && console.log)
@ -4194,7 +4194,7 @@ var CanvasGraphics = (function() {
// TODO: hack to avoid OOM, remove then pattern code is fixed
if (Math.abs(width) > 8192 || Math.abs(height) > 8192)
return false;
return this.makeCssRgb(0, 0, 0);
var tmpCanvas = new this.ScratchCanvas(width, height);