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/

-- 
Bluewater Systems Ltd - ARM Technology Solution Centre

Simon Glass
Technical Sales Manager, Europe

  Ph:  +44 1892 704 066                 Bluewater Systems Ltd
  Fax: +44 1892 704 001                 Calverley House, 55 Calverley Rd
  Mob: +44 7951 645 521                 Tunbridge Wells, Kent, TN1 2TU
  Web: http://www.bluewatersys.com      United Kingdom
  Freecall Australia  1800 148 751      USA 1800 261 2934



------------------------------------------------------------------------------
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to