Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - GetPageText(4) returns cryptic characters
  FAQ FAQ  Forum Search   Register Register  Login Login

GetPageText(4) returns cryptic characters

 Post Reply Post Reply
Author
Message
christoph81 View Drop Down
Beginner
Beginner
Avatar

Joined: 08 Aug 11
Location: Germany
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote christoph81 Quote  Post ReplyReply Direct Link To This Post Topic: GetPageText(4) returns cryptic characters
    Posted: 08 Aug 11 at 11:14AM
Hello everybody,
im trying your sdk and with most of my pdf file i get good result. Now i tried another pdf file with embedded text and i get cryptic results for the words.

After that i tried to copy the text out of the pdf with the foxit pdf viewer. And i also get the same strange results. 
A customer of us said it could be related to the fonts used in the pdf file.

Best regards
Christoph 

Back to Top
Rowan View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 10 Jan 09
Status: Offline
Points: 398
Post Options Post Options   Thanks (0) Thanks(0)   Quote Rowan Quote  Post ReplyReply Direct Link To This Post Posted: 08 Aug 11 at 2:38PM
Hi Christoph,

There's a small chance that the text that you're trying to extract text from contains Unicode characters and these aren't being decoded when you get the results? 

The result is encoded using UTF-8 in the Delphi and DLL editions of the library.

However, if you cannot copy the text out of the PDF using Foxit PDF Viewer either, then that means that there's probably an issue with the cmap, character lookup map, which means that the PDF is somewhat corrupt and you won't be able to extract text from it until it is repaired (using Acrobat or a similar tool which can repair PDFs).

Cheers,
- Rowan.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store