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!
![]() |
CopyPageRanges creates copies of Fonts each time |
Post Reply
|
| Author | |
chandy21
Team Player
Joined: 23 Sep 09 Status: Offline Points: 20 |
Post Options
Thanks(0)
Quote Reply
Topic: CopyPageRanges creates copies of Fonts each timePosted: 13 Dec 09 at 4:27AM |
|
Hi, I am using CopyPageRanges several times in a Document, and each time it creates copies of the Fonts in the Destination document, and depending on the number of times I call CopyPageRanges, sometimes a lot because of large documents, I get many copies of the Fonts. I have copied all the fonts to the destination document at the beginning of the operation, is there a way to use these fonts? Thanks in advance, Ando. |
|
![]() |
|
Ingo
Moderator Group
Joined: 29 Oct 05 Status: Offline Points: 3530 |
Post Options
Thanks(0)
Quote Reply
Posted: 13 Dec 09 at 6:33PM |
|
Hi Ando!
The function works like designed and i think it's okay. If you want to copy a page you should be sure that the textcontent can be displayed well - so the font should be copied, too. Perhaps in your case the ClonePage-function is better. There isn't a function to remove an embedded font. Cheers, Ingo |
|
![]() |
|
chandy21
Team Player
Joined: 23 Sep 09 Status: Offline Points: 20 |
Post Options
Thanks(0)
Quote Reply
Posted: 13 Dec 09 at 10:14PM |
|
Thanks for the speedy reply Ingo! That makes sense, you want to be sure the correct Fonts are available. The problem I have with ClonePages is that I am creating a new Document. I may be cloning every second or third page in some instances, which could mean lots of copies of the Fonts in some docs with large page numbers. What I can do to get around this is to keep a list of all pages to Copy, and do it all at once in one go at the end like "1,4,6-9,18-20,.....", then re-order the pages as necessary. Cheers, Thanks for the suggestion, Ando. |
|
![]() |
|
chandy21
Team Player
Joined: 23 Sep 09 Status: Offline Points: 20 |
Post Options
Thanks(0)
Quote Reply
Posted: 13 Jan 10 at 1:13PM |
|
Related to this, it appears the CopyPageRanges function is copying EVERY image EVERY time. If I am using CopyPageRanges to just copy Page 3 to a new Document from a source document with 10 pages, I seem to get all the images from all 10 pages. If I do this operation 20 times in a document, I appear to get 20 copies of EVERY image in the document. First, can anyone confirm this is what is happening, and second, is there a way around this? I would imagine the function can tell what image/s are on the page/s it is taking across and only take them. Thanks in advance, Ando. |
|
![]() |
|
Ingo
Moderator Group
Joined: 29 Oct 05 Status: Offline Points: 3530 |
Post Options
Thanks(0)
Quote Reply
Posted: 13 Jan 10 at 2:12PM |
|
Hi!
Have a look at the first four functions and the description: http://www.quickpdflibrary.com/help/quickpdf/PageManipulation.php Cheers, Ingo
|
|
![]() |
|
chandy21
Team Player
Joined: 23 Sep 09 Status: Offline Points: 20 |
Post Options
Thanks(0)
Quote Reply
Posted: 14 Jan 10 at 5:15AM |
|
Thanks Ingo. Only CopyPageRanges appears to copy from one document to another?? Is that correct? Is not quite clear from the documentation. Thanks, Ando |
|
![]() |
|
Ingo
Moderator Group
Joined: 29 Oct 05 Status: Offline Points: 3530 |
Post Options
Thanks(0)
Quote Reply
Posted: 14 Jan 10 at 6:14AM |
|
Hi!
I've read it like you ... ;-) So perhaps you should think over the complete procedure of your pdf-creation? Perhaps using the compress-functionality can help? Cheers, Ingo |
|
![]() |
|
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