Konrad Abicht
Konrad Abicht
@RitzenthalerF please try, if @f-wehrhausen's code change helps. If so, we could add a switch as suggested. CC @j0k3r @izabala @Connum Is that switch-idea silly or could it work? This...
Would it help if we extend our `Config` class with a Mac-mode (default = off) and use functions, which work better with Mac related PDFs?
> The PDF Parser doesn't return readable text anymore Did it work in the past? If so, which version was it?
Not to my knowledge, sorry.
> I dont' know if there is already this function. Not to my knowledge. You could try the following though: * load PDF in the parser * go through each...
Can you provide us the PDF?
The most helpful would be PHP exploit code which triggers the error. In the following (untested) a rough example. Please have a look. ```php /* * $elements must contain faulty...
@benlongstaff Ignore my last comment. I realized it is more a basement for a unit test to first trigger the error and after fixing it, make sure it doesn't happen...
> The key thing is, what do we want PdfParser to do in this case? Return zero (0)? I suggest `-1` or `null` because it is an invalid width which...
Thanks for reporting. What program did you use to generate the PDF? To be sure the error still exist, please try again with latest master branch.