On Sun, Feb 22, 2009 at 11:42:21AM +1300, bazz bazz wrote: > Here's a PDF that pdfedit 0.4.1 breaks.
Do you see the same problem also with the current 0.4.2 version? If yes, could you report this as a new bug in our bug tracking system (http://pdfedit.petricek.net/bt/main_page.php). I believe that this issue has been fixed shortly after 0.4.1 was released, though. > > Grab the file from here and try to ignore the ads - > http://www.sendspace.com/file/mi6yqm > > Some of the values in that PDF are illegally converted to scientific > notation when edits are made. > > ie "-0.00005" is converted to "-5e-05". AFAIK the latter is not recognized > as part of the PDF spec. > > Open the file (above) in pdfedit, click in one of the lines of large text, > move or delete it, then save. The saved file is all messed up. If you open > the edited file in evince on a command line you'll see errors "Unknown > operator 'e-05'" and "Too few (1) args to 'TD' operator" > > Should be an easy fix? Thanks! Check the following commit: http://pdfedit.cvs.sourceforge.net/viewvc/pdfedit/pdfedit/src/kernel/cobject2string.cc?view=patch&r1=1.5&r2=1.6&pathrev=MAIN -- Michal Hocko ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Pdfedit-support mailing list Pdfedit-support@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pdfedit-support