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:
parent
43d6c6f1ab
commit
724add2ffd
3 changed files with 5 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue