Hi Lidia, Thanks for your bug report and the very good test case. I am able to reproduce this problem but I still have no solution. The problem is really strange, because the double values are already wrong before the PdfTokenizer reads them and converts them to double .... and this simply can't be.
Well, I will need a bit more time to find a solution.
Best regards,
Dom
Am Montag 23 November 2009 schrieb Lidia Kalinovsky:
> Hello,
>
> I suspect there is some problem with parsing BBox arrays in Form object as
> well as with another arrays.
> I run the following code for attached file mono_orig.pdf and get output
> file "mono.pdf".
> You can see differences in BBoxes values inside Form objects ( for example
> object 34 0 ).
> Please advice.
>
> Thanks in advance.
>
>
> PdfVecObjects objects;
>
> PdfParser parser;
>
> const PdfVecObjects* pdfObjects;
>
> char* mFilename = "mono_orig.pdf";
>
> char *mOutFilename = "mono.pdf";
>
> objects.SetAutoDelete( true );
>
> parser.ParseFile( mFilename, false);
>
> pdfObjects = parser.GetObjects();
>
> PdfWriter writer( &parser );
>
> writer.SetPdfVersion( ePdfVersion_1_6 );
>
> writer.Write( mOutFilename );
>
--
**********************************************************************
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.
------------------------------------------------------------------------------ Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________ Podofo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/podofo-users
