pdf2json icon indicating copy to clipboard operation
pdf2json copied to clipboard

converts binary PDF to JSON and text, for server-side PDF processing and command-line use.

Results 108 pdf2json issues
Sort by recently updated
recently updated
newest added

I've run out of things to try with this. The sterling values in the attached file will not come through to the output json. I can get them ok using...

I may have just missed the docs on this (if so apologies) but is it possible to extract the links when these only appear on hovering over / clicking the...

Hello! First of all, congratulations for the good work. However, I found a boring little issue: sometimes the parser does not handle the space between words. This happens when two...

![image](https://user-images.githubusercontent.com/15138718/155040553-f13f00df-ab85-4c32-b421-a5a36f8e3749.png) If a field is set to initially hidden (even though can be changed visibility with custom calculation script: ``` if (this.getField("needsWeight").value == "Yes") { event.target.display = display.visible; } else...

I'm trying to load a single PDF from a remote server. Here is my approach: (I can confirm that if I just pipe the request into a write stream it...

I'm getting this error when I want to load this PDF: [https://gd.lu/rcsl/4hXzVq](https://gd.lu/rcsl/4hXzVq) ```js { message: 'params.get is not a function', stack: 'TypeError: params.get is not a function\n' + ' at...

Hello! I'm getting an error when trying to parse a document containing emojis ![image](https://user-images.githubusercontent.com/11478307/144620804-601ac420-a761-4dc8-8412-9a6e9a649c86.png) This is the file that i'm trying to parse: [emojis.pdf](https://github.com/modesty/pdf2json/files/7650319/emojis.pdf) And here is a minimal sandbox...

PDF it fails on: [http://www.novasoftware.se/ImgGen/schedulegenerator.aspx?format=pdf&schoolid=60410/nb-no&type=-1&id=2eda&period=&week=21&mode=0&printer=0&colors=32&head=0&clock=0&foot=0&day=0&width=1880&height=371&maxwidth=1880&maxheight=371](http://www.novasoftware.se/ImgGen/schedulegenerator.aspx?format=pdf&schoolid=60410/nb-no&type=-1&id=2eda&period=&week=21&mode=0&printer=0&colors=32&head=0&clock=0&foot=0&day=0&width=1880&height=371&maxwidth=1880&maxheight=371) Stack trace: ``` (while reading XRef): TypeError: Cannot read property '0' of undefined XRefParseException at XRefParseExceptionClosure (eval at (/home/petterroea/Dropbox/div-projects/bot/node_modules/pdf2json/lib/pdf.js:64:6), :379:34) at eval (eval at (/home/petterroea/Dropbox/div-projects/bot/node_modules/pdf2json/lib/pdf.js:64:6),...

Hello, PDFs can have embedded fonts in some objects. In the "Texts" fields produced by pdf2json, would you please include information about what font is used? (not the actual font,...

Parsing this pdf: [test.pdf](https://github.com/modesty/pdf2json/files/4266654/test.pdf) I notice "pdfParser_dataError" doesn't fire so, for this pdf, is impossible to handling error. Any suggest?