Re: Re: How would you do this?
"Mr. Shawn H. Corey" <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.pdfapi2 |
|---|---|
| Message-ID | <[email protected]> |
spinningwebz2002 wrote: > Yeah, definately going to have to go with the original source and > make a single pdf. Probably better anyways. With all the individual > chapters I would end up with multiple instances of the fonts being > embedded, wouldn't I? Oops, I was wrong. The method is called 'importpage', not 'openpage'. I didn't realize you were using embedded fonts. From what I understand, importpage calls importPageIntoForm, which copies the fonts' resources. That means an embedded font will only be embedded once, at the beginning of the document. And like I said, importpage will only copy. If you want to change font, or change colour, or re-arrange things, you can only do that from the original source. PDF::API2 cannot extract content from a page; so you cannot change it, only copy it. -- Just my 0.00000002 million dollars worth, Shawn "For the things we have to learn before we can do them, we learn by doing them." Aristotle