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!
Square images in render |
Post Reply |
Author | |
Adz
Beginner Joined: 28 Apr 16 Status: Offline Points: 8 |
Post Options
Thanks(0)
Posted: 28 Apr 16 at 2:10PM |
Hi,
I am working on a project using Delphi and QuickPDF0911 and came across a problem wherein the rendered document contains square images instead of texts, numbers or parentheses. Here is what it looks like: And this is what it's supposed to be: What causes this and how can I render it properly? Any help is greatly appreciated. Thank you. |
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi Adz,
12.12 is the actual version and the renderer is always a main area for enhancements. So i can only advice to check the new (test-)version regarding your issue. You've posted the sample and so i can only say that the renderer from 9.11 won't render your sample in a proper way. Try the extraction with all font data... will all text content be extracted? ...any specialities regarding the strange letter rendering? If you can upload your sample anywhere online i can check version 12.11 to see if rendering is better. Cheers and welcome here, Ingo |
|
Cheers,
Ingo |
|
Adz
Beginner Joined: 28 Apr 16 Status: Offline Points: 8 |
Post Options
Thanks(0)
|
Hi Ingo,
I haven't tried extracting data from it but I think it's ok as I can see the whole correct content of the pdf file using different viewers (Adobe, Foxit). As for any specialties with the letters, I see none of it. Can you also check in your 9.11 if we have the same rendering problem? I may have overlooked something. Thank you for your help. Edited by Adz - 02 May 16 at 9:12AM |
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi Adz,
seems to me that 9.11 has probs but i don't want to proof it... With my preview function i've taken your pdf and had a look on the relevant page 29 - it's absolutely okay. My code is made with QuickPDF 10.14. If you like the library you should buy the update... Here's a code snippet from the routine (Delphi XE): QP.LoadFromFile(Edit1.Text, ''); //fneu); If ( QP.EncryptionStatus > 0 ) Then QP.Decrypt; pmax := QP.PageCount; if gv_lang = 'E' then Form4.Label1.Caption := '1 from ' + IntToStr(pmax) else Form4.Label1.Caption := '1 von ' + IntToStr(pmax); QP.CombineContentStreams; // QP.RenderDocumentToFile(72,1,1,1,tpath + ExtractFileName(Edit1.Text) + '.jpg',1,0); test_stream := TMemoryStream.Create; if ( zoom = 0 ) then zoom := 72; QP.RenderPageToStream(zoom,1,1,test_stream); |
|
Cheers,
Ingo |
|
Adz
Beginner Joined: 28 Apr 16 Status: Offline Points: 8 |
Post Options
Thanks(0)
|
Hi Ingo,
Actually the problem persist on all of the pages in my sample pdf file. Thank you for your help. |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store