Speeding up pdf:api2
"spinningwebz2002" <spinningwebz2002-/[email protected]> Thu, 04 Sep 2008 11:23:36 -0000
| Newsgroups | gmane.comp.lang.perl.modules.pdfapi2 |
|---|---|
| Message-ID | <[email protected]> |
I looking for ways of speeding up how long it takes PDF::API2 to get started (once it gets going it is very spiffy). One of the things I noticed while profiling it that it loads the uniglyph.txt file. Can this be trimmed down if you know you are not using all the unicode characters? Would this increase the startup time? If not, are there other ways of speeding it up? I have some basic caveats that I will be using with the PDF:API2, maybe there are things that could be done to make it quicker: 1. I will not be using any internal fonts. 2. I will always be using specific fonts that I load with ttfont. 3. I will always be using the english character set. 4. All images inserted into the pdf will always be jpg. Bill H