mozilla/pdf.js — Issue #894: Knitpro error
Author: Antonius-git
Created: 2011-12-06 20:05:10+00:00
State: open

Here's an interesting one.

Went to Knitpro http://www.microrevolt.org/knitPro/ in firefox, on ubuntu 11.10. This site takes an image and adds a grid to it so as to make any picture you submit into a knitting pattern grid, the result is a PDF.
I tried opening the resulting pdf with pdf.js but the following error crops up and you see no image:

PDF.JS Build: 759e839
Message: Illegal character in hex string: h
Stack: error("Illegal character in hex string: h")@chrome://pdf.js/content/build/pdf.js:702 lexerGetHexString("h")@chrome://pdf.js/content/build/pdf.js:23809
lexerGetObj()@chrome://pdf.js/content/build/pdf.js:23863
parserRefill()@chrome://pdf.js/content/build/pdf.js:23378
constructor([object Object],false)@chrome://pdf.js/content/build/pdf.js:23373
constructor([object Object])@chrome://pdf.js/content/build/pdf.js:23921
()@chrome://pdf.js/content/build/pdf.js:389
()@chrome://pdf.js/content/build/pdf.js:399
pdfDocSetup()@chrome://pdf.js/content/build/pdf.js:453
init([object Object])@chrome://pdf.js/content/build/pdf.js:365
constructor([object Object])@chrome://pdf.js/content/build/pdf.js:355
constructor([object ArrayBuffer])@chrome://pdf.js/content/build/pdf.js:488
pdfViewLoad([object ArrayBuffer],1.5)@chrome://pdf.js/content/web/viewer.js:270
getPdfLoad([object ArrayBuffer])@chrome://pdf.js/content/web/viewer.js:143
getPdfOnreadystatechange([object Event])@chrome://pdf.js/content/build/pdf.js:60

So i have to let evince handle it for now.