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 - CopyPageRanges creates copies of Fonts each time
  FAQ FAQ  Forum Search   Register Register  Login Login

CopyPageRanges creates copies of Fonts each time

 Post Reply Post Reply
Author
Message
chandy21 View Drop Down
Team Player
Team Player
Avatar

Joined: 23 Sep 09
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote chandy21 Quote  Post ReplyReply Direct Link To This Post Topic: CopyPageRanges creates copies of Fonts each time
    Posted: 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.

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

Joined: 29 Oct 05
Status: Offline
Points: 3530
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
chandy21 View Drop Down
Team Player
Team Player
Avatar

Joined: 23 Sep 09
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote chandy21 Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
chandy21 View Drop Down
Team Player
Team Player
Avatar

Joined: 23 Sep 09
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote chandy21 Quote  Post ReplyReply Direct Link To This Post 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.

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

Joined: 29 Oct 05
Status: Offline
Points: 3530
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
chandy21 View Drop Down
Team Player
Team Player
Avatar

Joined: 23 Sep 09
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote chandy21 Quote  Post ReplyReply Direct Link To This Post 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

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

Joined: 29 Oct 05
Status: Offline
Points: 3530
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post 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

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