1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 15:18:08 +02:00

Make xObjForm use raw format

This commit is contained in:
Julian Viereck 2011-09-05 19:47:16 -07:00
parent 67f745443e
commit 2fcc93c751
2 changed files with 6 additions and 4 deletions

View file

@ -152,7 +152,8 @@ var PDFView = {
while (container.hasChildNodes())
container.removeChild(container.lastChild);
var pdf = new WorkerPDFDoc(data);
// var pdf = new WorkerPDFDoc(data);
var pdf = new PDFDoc(new Stream(data));
var pagesCount = pdf.numPages;
document.getElementById('numPages').innerHTML = pagesCount;