Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No coordinates when using PDFOPT_DEBUG_SHOW_COORDINATES #25

Open
TeisybeLT opened this issue Feb 11, 2018 · 2 comments
Open

No coordinates when using PDFOPT_DEBUG_SHOW_COORDINATES #25

TeisybeLT opened this issue Feb 11, 2018 · 2 comments

Comments

@TeisybeLT
Copy link

Hey,
I'm trying to do a text area capture on one of my pdf files, using the provided example, but on sample-reports.txt, I'm not getting any coordinate data, just plain text. By using PDFOPT_DEBUG_SHOW_COORDINATES I'm also seeing lots of PHP "non-numeric value encountered" warnings. They appear in "PdfToText.phpclass" on lines 1719, 1735, 1739, 1743, 1790, 1799, 2831, 2013, etc..

I have also applied the fix discussed in issue #20, to get text output.
I'm running PHP version 7.1.7

Please help me solve this issue.
Thank you

@J-Design
Copy link

Could you display your full function code, would help with support.

@TeisybeLT
Copy link
Author

`

include("PdfToText/PdfToText.phpclass");
$pdf = new PdfToText ('test.pdf', PDFOPT_DEBUG_SHOW_COORDINATES) ;
echo $pdf -> Text;
`
Here you go

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants