Print Page | Close Window

Can't get text from pdf

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=1212
Printed Date: 16 Jun 25 at 3:44PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Can't get text from pdf
Posted By: jimmys
Subject: Can't get text from pdf
Date Posted: 09 Sep 09 at 4:46PM
Greetings,
 
I'm using ver 7.15 and can't get the text from a PDF.  It was created with ISS PDF Writer Engine Version 1.0b.  It displays in AReader & Foxit, but fails to load using the loadfromfile- return = 0.
 
Any way to attach files?
 
Any help would be appreciated.  I can't control the producer but need to read the pdf text.
 
TIA,
 
Jim



Replies:
Posted By: Ingo
Date Posted: 09 Sep 09 at 9:33PM
Hi Jim!

You can upload the file on any freespace provider and post the link here.
Or you can send the file directly to me at ingo  -dot-  schmoekel  -at-  ewetel  -dot-  net.
I think QuickPDF would show the document, too.
Show means rendering ... extracting is a little bit different.
I'll check the file ... then we'll know why.

Cheers, Ingo


Posted By: jimmys
Date Posted: 09 Sep 09 at 10:47PM
Sent file to your email.  LastErrorCode returns: 409 Invalid file structure, file is damaged. 
But other readers can display it.
 
Jim


Posted By: Ingo
Date Posted: 10 Sep 09 at 6:42AM
Hi Jim!

The document has no color model and no compression type.
The content of the document was written with font "TaxDing, Bold".
This font is embedded and i think while creating the document (embedding) an error raised.
QuickPDF search the content and look for the matching standard- or embedded font. QuickPDF see that the embedded font "TaxDing, Bold" is the matching font and want to use it for decoding... with no success.

My app tells me that there's an error while reading the stream. LoadFromFile is still okay but preview and textextraction won't work.

You're right... Foxit and Adobe Reader can show the document but see what Adobe Reader is telling you while opening the document: "The embedded font TaxDing, Bold couldn't be used - so some characters won't be displayed well"! The Adobe Reader has a 100-mb-installation with many, many dlls - so the reader can manage this faulty document with some similar replacements fonts but the small QuickPDF can't offer this.
BTW: The small "SumatraPDF" tells me "error while opening the file" ;-)
Perhaps you should send this file directly to Debenu, too.
With the QuickPDF-bug-report you can send the file attached in a second step from here:
http://www.quickpdflibrary.com/support/report-bug.php

Cheers, Ingo



Posted By: jimmys
Date Posted: 10 Sep 09 at 2:11PM
Ingo,
 
I did as you suggested and submitted a bug report.  I'll report back to the forum on the resolution.  Thanks for your research and help.
 
Jim



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk