Hi Leonard, PaperPad runs against Quartz2D limitations at two points:
- You can render all PDFs on screen but trying to render PDFs into PDF contexts results in all kinds of unpredictable font errors, since then Quartz2D tries to render with system fonts instead of pulling the embedded fonts from the original file. - While rendering to a PDF context, Quartz2D has to keep all the associated data for the context in memory. This quickly eats up the available memory on memory limited devices like the iPad, resulting in ugly crashes if you're working with large files. As a matter of fact, the incremental update functionality would solve both problems elegantly, but I can't find any LGPL or similarly licensed code, which can handle this. It seems like will have to write it myself eventually. :) Best, Engin. On 30.05.2010, at 23:06, Leonard Rosenthol wrote: > The Mac font implementation was still born - I had it working but never > checked it in prior to my (re)joining Adobe. One of these days I need to > find that code. > > HOWEVER, the code still used a few Carbon APIs from the ATS system - which I > suspect aren't available on the iPhone. > > Bottom line - You'll need to clean up the Mac font code :(. Happy to offer > suggestions if you need, as well as the product in general (as I'm spending > lots of time evaluating PDF apps on the iDevices). > > Leonard > > -----Original Message----- > From: Engin Kurutepe [mailto:[email protected]] > Sent: Sunday, May 30, 2010 4:14 PM > To: Dominik Seichter > Cc: [email protected] > Subject: Re: [Podofo-users] iPhone build > > Hi Dominik, > > Thanks for your reply. I am developing PaperPad > (www.fifteenjugglers.com/products/paperpad) which allows you to take > handwritten notes on PDF files. However there are lots of limitations and > bugs in the way Apple's Quartz2D library handles more complex PDF operations. > I am looking for different options... > > Was apparently caused inside PdfFont* PdfFontCache::GetDuplicateFontType1( > PdfFont * pFont, const char* pszSuffix ) due to std::string id, because id is > a reserved word for apple gcc variant. Changed it from id to fontID. Seems to > be resolved now. > > Now, I started getting a compilation error about CloseResFile() not being > defined inside PdfFontMetrics.cpp > > Best, > Engin. > > > > > > On 30.05.2010, at 19:41, Dominik Seichter wrote: > >> Hi, >> >> I do not know of anyone having tried to build PoDoFo on the iPhone. I do not >> have one, so I cannot assist you. >> >> Out of couriosity, why are you trying to build PoDoFo on the iPhone? Does >> the >> error only occur if you enable libjpeg in the build? >> >> Regards, >> Dom >> >> Am Freitag 28 Mai 2010 schrieb Engin Kurutepe: >>> Hi all, >>> >>> Has anybody succeeded in building PoDoFo as a static lib for the iPhone? >>> >>> When I try to cross-compile with libjpeg, I get the following error: >>> lipo: can't open input file: >>> /var/folders/rd/rd3xD13eF1yNewGeM2yt3E+++TM/-Tmp-//ccsGptTB.out (No such >>> file or directory) make[2]: *** >>> [src/CMakeFiles/podofo_static.dir/PdfFontCache.cpp.obj] Error 1 make[1]: >>> *** [src/CMakeFiles/podofo_static.dir/all] Error 2 >>> make: *** [all] Error 2 >>> >>> I can't make sense of this. Any help appreciated. >>> >>> Best, >>> Engin Kurutepe. >>> >>> >>> >>> >>> --------------------------------------------------------------------------- >>> --- >>> >>> _______________________________________________ >>> Podofo-users mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/podofo-users >>> >> >> >> -- >> ********************************************************************** >> Dominik Seichter - [email protected] >> KRename - http://www.krename.net - Powerful batch renamer for KDE >> KBarcode - http://www.kbarcode.net - Barcode and label printing >> PoDoFo - http://podofo.sf.net - PDF generation and parsing library >> SchafKopf - http://schafkopf.berlios.de - Schafkopf, a card game, for KDE >> Alan - http://alan.sf.net - A Turing Machine in Java >> ********************************************************************** > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Podofo-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/podofo-users ------------------------------------------------------------------------------ _______________________________________________ Podofo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/podofo-users
