poor outcome function ExtractText in PDF ver <> 1.7

This Forum is for the use of Software Developers requiring help and assistance for Tracker Software's PDF-Tools SDK of Library DLL functions(only) - Please use the PDF-XChange Drivers API SDK Forum for assistance with all PDF Print Driver related topics or PDF-XChange Viewer SDK if appropriate.

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan

miromr
User
Posts: 59
Joined: Sat May 09, 2009 3:05 pm

poor outcome function ExtractText in PDF ver <> 1.7

Post by miromr »

Good day
I using SDK version 1.4, WinXP Proff. CZ, Delphi 2009.

When using function ExtractText pdf file with version 1.4 mi function returns the wrong text characters. ActiveX viever dtto.
When using function ExtractText pdf file with version 1.7 is allright;
PDFPrinter.Option['Save.SaveType'] := 'Save';
PDFPrinter.Option['Save.ShowSaveDialog'] := 'No';
PDFPrinter.Option['Save.WhenExists'] := 'AutoNumber';
PDFPrinter.Option['Compression.Graphics'] := 'Yes';
PDFPrinter.Option['Compression.Text'] := 'Yes';
PDFPrinter.Option['Compression.ASCII'] := 'Yes';
PDFPrinter.Option['Compression.Color.Enabled'] := 'Yes';
PDFPrinter.Option['Compression.Color.Method'] := 'Auto';
PDFPrinter.Option['Compression.Indexed.Enabled'] := 'Yes';
PDFPrinter.Option['Compression.Indexed.Method'] := 'Auto';
PDFPrinter.Option['Compression.Mono.Enabled'] := 'Yes';
PDFPrinter.Option['Compression.Mono.Method'] := 'Auto';
PDFPrinter.Option['General.Specification'] := -1; // <> 7 is bad
PDFPrinter.Option['Fonts.EmbedAll'] := False; //True is bad
PDFPrinter.Option['Fonts.WriteToUniCode'] := True; //False is bad
My code page is Win1250
Sample files is attached.

Thank you
Miro
You do not have the required permissions to view the files attached to this post.
User avatar
Lzcat - Tracker Supp
Site Admin
Posts: 677
Joined: Thu Jun 28, 2007 8:42 am

Re: poor outcome function ExtractText in PDF ver <> 1.7

Post by Lzcat - Tracker Supp »

The Problem is in the source file (pdf-aversion.pdf), not with the text extraction.

The creation of such files will be fixed in the next build, due shortly.

thanks for your patience.
Victor
Tracker Software
Project manager

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.