-
Notifications
You must be signed in to change notification settings - Fork 94
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
Can't read PDF-file #30
Comments
Hi, stream |
Hi, |
I'm happy to take a look at it if you can send it over. |
Hi,
Thank you :).
Here is the file.
Regards,
/Fredrik.
…On Thu, 23 Aug 2018 at 11:38, Matt Blacker ***@***.***> wrote:
I'm happy to take a look at it if you can send it over.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#30 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AeSevlZ-DvaTyHXGSg1Lj-NO-EWnXLUiks5uTngfgaJpZM4WD-gO>
.
--
Med vänlig hälsning,
/Fredrik.
|
Thanks, the problem is the CID IDENTITY_H fonts. With just using the unicode map on the font object you get around a third of the text out but the rest isn't mapped to characters properly. I'm working on a change that will read CID font's CMAP which will hopefully make reading international PDF's much better. |
Hi, This is not working either. |
Hi, This file is not possible to read at all. I use this syntax.
Otherwise the tool is great. Regards, |
Hi, |
Hi, Do I also need the CIDTables-directory like class/CIDTables/.? Btw: |
Hey Fredrik, We are still working out the best way to resolve the issues with CID fonts. We've made a few changes to the fork on our github if you check that out you should get some information out of the PDF from the unicode map we process even with CID fonts. No time-frame currently as this is very much a side project |
Hi and thanks alot, I actually only needs 2 parameters from the PDF-files. Yes, this is solving my problems for now. |
Hi again, The dropzone will respond with: Can this be fixed? Here is the invoice. |
Hi,
I have a PDF-file (version 1.7) which is working correctly.
I have another PDF-file (version 1.3 from Producer Amyuni PDF Converter version 5.0.0.3) which is not read at all (error code with: Error, this is not a valid PDF: ...) which is in fact a readable PDF-file.
What seems to be the problem?
I am using this call:
// Check the PDF-file for information
$uri = $dir.'/'.$fileName;
$pdf = new Pdf();
$pdfdata = $pdf->getPdfInfo($uri);
In my class:
...
public function getPdfInfo($uri = "") {
(calling class/PdfToText.phpclass).
The error log will show:
[Text] => �����
�������
...
Please, can you help me out?
It is working with other PDF-files.
The text was updated successfully, but these errors were encountered: