Hi Simon, Please try to use current SVN trunk as it contains many many more bug fixes compared to version 0.7.0. Especially a rewritten and fixed implementation of the pages tree.
Please report also back, if svn trunk does not resolve your problem (but I am
pretty sure it will).
Best regards,
Dom
Am Freitag, 3. Juli 2009 schrieb Simon Glass:
> Hi,
>
> I am enhancing maxview [1] to support PDF better and have decided on
> PoDoFo as it seems to be the only open source C/C++ library which
> supports both creating PDF and modifying existing ones. Well I might be
> wrong.
>
> So far so good, but I have found what looks like a bug:
>
> diff -ur podofo-0.7.0.orig/src/PdfPagesTree.cpp
> podofo-0.7.0/src/PdfPagesTree.cpp
> --- podofo-0.7.0.orig/src/PdfPagesTree.cpp 2008-12-16
> 08:52:09.000000000 +0000
> +++ podofo-0.7.0/src/PdfPagesTree.cpp 2009-07-03 11:20:00.000000000
> +0100 @@ -388,7 +388,9 @@
> // to make this easier
> // and a few tests to verify
> // its correctness.
> - m_deqPageObjs.push_back( pPage );
> + //Simon: this appears to break the library as the same push_back is
> done
> + // at the end of InsertPages() above
> +// m_deqPageObjs.push_back( pPage );
> InsertPage( last, pPage );
>
> return pPage;
>
>
> Any thoughts? Should I be using CVS or the 0.7.0 release for this project?
>
> Regards,
> Simon
>
> [1] http://sourceforge.net/projects/maxview/
--
**********************************************************************
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
**********************************************************************
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------
_______________________________________________ Podofo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/podofo-users
