Print Page | Close Window

QuickPDF ... new beta 6.01 online

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: General Discussion
Forum Description: Discussion board for Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=856
Printed Date: 22 Nov 24 at 11:51PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: QuickPDF ... new beta 6.01 online
Posted By: Ingo
Subject: QuickPDF ... new beta 6.01 online
Date Posted: 17 Jan 08 at 1:25AM
Hello!
 
For all owners of a source license we've uploaded a new beta version 6.00 here:
http://www.quickpdf.org/forum/forum_posts.asp?TID=855 - http://www.quickpdf.org/forum/forum_posts.asp?TID=855
 
Please keep in mind that it's a beta version ... obviously few of us already use it in production environments ;-)
 
First checks in own (test-)environments with own "problem-pdf-files" would be greatly appreciated. Please post your experiences with the new version.
 
If you have own bugfixes or functions still not found in the sources please post it here or send it to Michel or me... We'll put it together, make a first test and a new upload.
 
If the new version seems to work in a stable manner we'll begin compiling new versions for the owners of the compiled-licenses, too. 
 
This new version is enhanced with bugfixes (mainly for rendering) from pschott and HarryS. They didn't have to do it but they did it and spent a lot of time with testing and put together. I hope here are a lot wanting the same... Keep in mind: One for all and all for one ;-)
 
We're planning further enhancements for the forum:
A section for reference-files (so each new version first must work properly with this critical pdf-files before release).
A section for source posting (bugfixes and new functions).
 
Again: The new QuickPDF-version needs in the project-settings of a delphi-ide the definition "PMAPP" and a second search-path "...\GdiPlus".
 
Have fun with the new version!
 
Thanks to HarryS, pschott for pushing this new version and for Michel offering this forum and infra structure for us!
 
Best regards,
Ingo
 



Replies:
Posted By: lcarrere
Date Posted: 17 Jan 08 at 9:32AM
Hi Ingo.

Great  !! Tongue

Is there a plan for the dll owners ?

I would be very happy to do many tests with the rendering methods. I have a lot of pdf which can't be rendered with the 5.11 & 5.23 editions.

Best regards,

Loïc Carrère


Posted By: Ingo
Date Posted: 17 Jan 08 at 10:35AM
Hi!

Please be a bit patient ...
This moment i've got already further enhancements from source-owners ...
I think a week and i've a dll, too ;-)

Best regards,
Ingo



Posted By: lcarrere
Date Posted: 17 Jan 08 at 10:42AM
"Please be a bit patient ..."
 
It will be hard ! Wink 
 
 
Thanks again to all  contributors.
 
Best regards,
 
Loïc


Posted By: Ingo
Date Posted: 18 Jan 08 at 1:18AM
Hello!
 
It goes on and on ...
The next beta version 6.01 is out now at:
http://www.quickpdf.org/forum/forum_posts.asp?TID=857 - http://www.quickpdf.org/forum/forum_posts.asp?TID=857
 
Please try...
In the section "Change request" you can post your experiences with this new version. We call it beta but it's already very stable. There're members here working with this version in very large productive environments! So don't hesitate and try it.
 
Thanks a lot to Harald, Percy, Uli, Oliver and Michel!
 
Best regards,
Ingo
 


Posted By: Ingo
Date Posted: 18 Jan 08 at 1:27AM
'Cause the owners of a compiled license should know what they'll get soon:
 
Here the changes for version 6.00:

From member: HarryS

uiSEDQuickPDF.pas

New Parameter CaseSensitive for GetCatalogInformation
According to older Versions, KeySearch must be set CaseSensitive=True by default!
Depending Units uPDFDocument and UPDFStructure

uPDFGDIPlus.pas is no more used for Rendering, exchanged with
complete Mozilla Opensource Api-Wrapper, due to missing functions in uPDFGDIPlus.pas.
Api-Wrapper is Object-Based.

Render-Bug for embedded monochrome Bitmaps. Were drawn reversed.

Implementing basic functions for Patterns. Renderer had no functionality for
Pdf-documents with patterns. Now it has and is rendering at least the documents of my customers.

uPDFPNG.Pas  Renderexception in MakeIDATChunk corrected. ScanLine -
Bytearray is zerobased, but transfer started from 1! Pictures with odd width chrashed
with memory-acces-Error at the last pixel.

uPDFDocument.pas

New Parameter CaseSensitive
According to older Versions, KeySearch must be CaseSensitive=True by default!

uPDFImageDecoder.pas

Let Monochrome Bitmaps always use mtStencil because
then it is drawn with recognicing the Decode_Entry for reverse.

Adding +1 to only one corner (TopRightY) stretches the Image. I dont
think that this effect was wanted. One of my reference documents has
3 pieces of Images which should be positioned as one complete picture.
But in the picture are small lines between the images. So I think
something still goes wrong here. In standard images you wont see this
one pixel ...

Updfpng.pas

Original-Code ... crashed if there's an odd pixel-count ....
I think we can asume that counting begins with zero for three bytes for each
pixel my variant should be the better one ;-)

uPDFRenderer.pas

Actual PatternObjectName when FillColorSpace = 'Pattern'
Actual PatternObject when FillColorSpace = 'Pattern'

New Procedure FillPattern 2007:
written by HSD Harald Seidlein Datentechnik / HarryS
Creates a clipregion for the actual Picasso.Path and
repeats the pattern into this region as often as
nessesary. Restores the state before, so the initial
rendering can continue.

uPDFStructure.pas

New Paramater CaseSensitive for FindIndexByKeyName
According to older Versions, KeySearch must be set CaseSensitive=True by default!
added Windows-Reference in Uses - List!!!

New Paramater CaseSensitive
According to older Versions, KeySearch must be CaseSensitive by default!


From member: pschott

uPDFExtractor.pas

function TPDFExtractor.ExtractText
function NextToken

uPDFFontRasterizer.pas

function TPDFFontCollection.ConvertCMap
function TPDFFontCollection.ProcessCMap


Changes for version 6.01:

From members: ukobsa / grahl

[+] Two new functions to read/check Page-Labels:
function GetPageLabelDefinition(const Index: Integer;
var Start, Style, Offset: Integer;
var Prefix: string): Integer;

Index: 0 up to GetCountPageLabelDefinition-1
Start: Pagenumber, where this Pagelabeldefinition start working
Style: D - Decimal-number
R - Roman Characters (Upper Case)
r - Roman Characters (Lower Case)
A - A..Z for page 1..26, AA..ZZ for page 27..52, ...
a - Like A but lower case characters
Offset: To move the starting point for labels.
e.g. Page 1, Offset 3, Style R will be III
Prefix: fix String standing before the Labelstring if you want


function GetCountPageLabelDefinition: integer;

Returns with the Page-Label-count

[+] Destinations: Reading the Destinations was standardized
and enhanced for a better handling with
the different types: GetDestArrayByID

[+] Annotations: Enhanced with new types.

[+] TPDFDocument: TPDFIndObjList. Improve overall performance
by using a sorted index list. This avoids linear
probing to find items.
This replaces FIndObjList of TPDFDocument and
removes duplicated code

TPDFStructure.SmartDecode: Better performance now:
Copy-compares replaced by direct string-compares.
Now there's no need anymore copying into the memory.

TPDFString.Output: Better performance (like TPDFStructure.SmartDecode)
[-] There were problems with documents having an xref-section with only
one Cross-Reference-Stream. If you open these ones with QuickPDF and
save them without showing all pages (or for example only call
RemoveSharedLayer) you can get a wrong xref-section and informations
would be lost. To avoid this there's a new Property CheckXREFMode on
TPDFDocument to handle these documents. For this you can use SetCheckXREFMode.
Because this needs performance and memory the default setting is without/no.

[-] small Bugfixes in case of memory-usage with formfields

[-] TPDFIndObj.PopText: An error in the analyze-/reporting-function was fixed.

[-} TPDFDocument.FirstPageFrom: Ensure cancel-options!

[-] TPDFStructure.SmartDecode: BugFix for Unicode characters

 
Best regards,
Ingo
 


Posted By: Michel_K17
Date Posted: 20 Jan 08 at 9:15AM
The Compiled DLL is now available in the download area.



-------------
Michel


Posted By: lcarrere
Date Posted: 21 Jan 08 at 10:35AM
Hi all,


I made a battery of tests with this new version.

First, I suggest to the team to change the dll version information:

Into the file properties we can see 5.21.0.1 to the file version.

 6.0.0.0 sould be better Wink



I've tested only the rendering function iSEDRenderDocumentToFile with 110 DPI rendering.

My first results:

- This file: http://www.gdpicture.com/noindex/quickpdf/reversed.pdf

iSEDQuickPDF.dll 5.21  : No problem

iSEDQuickPDF.dll 5.22 (from Marian) : No problem

iSEDQuickPDF.dll 6.0b : Negative rendering


- This file: http://filer.briljant.se/gdpicturepro-test.pdf


iSEDQuickPDF.dll 5.21  : blank image

iSEDQuickPDF.dll 5.22 (from Marian) : blank image

iSEDQuickPDF.dll 6.0b : blank image




I get a lot of other PDF files which give blank image using this function (with all iSEDQuickPDF.dll edition)  but I need the authorization of my customers to upload these files.

I will post other result later.

Best regards and thanks for all.

Loïc Carrère


Posted By: art76
Date Posted: 21 Jan 08 at 10:45AM
Hi all,

After dowloading and compiling the DLL, I encountered that QuickPDF is still unable to do "DAExtractPageText" from certain PDF files.
The function fails while decompressing the content stream with "Buffer error". Previous versions of QuickPDF (4.42 & 5.11) failed with "Out of memory"-error.
Where can I upload an example file?

Best regards

Arthur Drews
 



Posted By: lcarrere
Date Posted: 21 Jan 08 at 10:57AM
Hi again !


There is a new critical bug.

The dll process are not detached.

To illustrate this problem:

1- Start a new vb6 project and pastle this code into the fom1:



Private Declare Function iSEDUnlockKey Lib "iSEDQuickPDF.dll" (ByVal sRegKey As String) As Long


Private Sub Form_Load()
   iSEDUnlockKey ("")
   End
End Sub

2 - Compil

3 - Run the compiled exe -> all the process are staying into the process list of windows.


Best regards,

Loïc



Posted By: HarryS
Date Posted: 21 Jan 08 at 5:50PM
Hi to all,

@ member_profile.asp?PF=404&FID=11 - lcarrere : I debugged yor files:

member_profile.asp?PF=404&FID=11 - 1. http://www.gdpicture.com/noindex/quickpdf/reversed.pdf :

I think the problem can be fixed. I'll send Ingo a mail with a code snippet.

2. http://filer.briljant.se/gdpicturepro-test.pdf

This document uses the 'JBIG2Decode' - Concept for raster images, which is not fully implemented in QuickPdf at all. So this problem will continue to exist.  (A workaround would be to tell your customer to change the scanner setup to embedded tifs :-).  Traget Scanner : WIA-Lexmark 5400 Series)

@ member_profile.asp?PF=576&FID=11 - art76 : Send the document to Ingo (somewhere here I've seen his Mailaddress) he will build with me the "render test case pool" which should be used for QM for future releases to prevent troubles with changes that cause the next problems.

with best regards
HarryS



Posted By: Ingo
Date Posted: 22 Jan 08 at 7:46AM
Hi!
 
I'm out of office 'till thursday and cannot do anything in this case now but anyway ...
take ingo[dot]schmoekel[at]ewetel[dot]net
 
Best regards,
Ingo
 


Posted By: lcarrere
Date Posted: 23 Jan 08 at 9:03AM
Harrys,

Thank you very much !


Loïc



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