Hi Dom, I had a problem to get the first page of [1]. I’ve worked around without really understanding the problem with this change (which is not a fix, it returned page 0 for page 1 as well as far as I understood):
Index: src/PdfPagesTree.cpp =================================================================== --- src/PdfPagesTree.cpp (révision 1056) +++ src/PdfPagesTree.cpp (copie de travail) @@ -300,7 +300,8 @@ else // Type == Page { // Skip a normal page - nPageNum--; + if(nPageNum > 0 ) + nPageNum--; if( 0 == nPageNum ) { rLstParents.push_back( pParent ); Prevent requested page number to go below 0 at this point is certainly a bit too late in the process but I’ve been unable to spot where it was wrong before. Hope you’ll be smarter than me :) [1] <http://partners.adobe.com/public/developer/en/font/T1_SPEC.PDF> -- Pierre Marchand ------------------------------------------------------------------------------ _______________________________________________ Podofo-users mailing list Podofo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/podofo-users