1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-25 17:48:07 +02:00

Make an effort to adhere the spec 7.6.3.2

This commit is contained in:
vyv03354 2013-02-02 02:09:12 +09:00
parent 43d6c6f1ab
commit 724add2ffd
3 changed files with 5 additions and 2 deletions

View file

@ -295,7 +295,7 @@ var PDFPageProxy = (function PDFPageProxyClosure() {
}
var gfx = new CanvasGraphics(params.canvasContext, this.commonObjs,
this.objs, params.textLayer);
this.objs, !this.pageInfo.disableTextLayer && params.textLayer);
try {
this.display(gfx, params.viewport, complete, continueCallback);
} catch (e) {