diff --git a/pdf.js b/pdf.js index acb7c9282..0f0bfe397 100644 --- a/pdf.js +++ b/pdf.js @@ -735,6 +735,7 @@ var FlateStream = (function() { function constructor(stream) { this.stream = stream; + this.dict = stream.dict; this.eof = true; var cmf = stream.getByte(); var flg = stream.getByte(); diff --git a/test.html b/test.html index 10a35e163..8513529fe 100644 --- a/test.html +++ b/test.html @@ -40,7 +40,7 @@ function load() { canvas.mozOpaque = true; pageDisplay = document.getElementById("pageNumber"); infoDisplay = document.getElementById("info"); - open("uncompressed.tracemonkey-pldi-09.pdf"); + open("compressed.tracemonkey-pldi-09.pdf"); } function open(url) {