Hi Pierre,

In fact PoDoFo has also a mechanism to decide during runtime if it is on a big 
or little endian system. But this mechanism is in my opinion definitly the 
wrong way to go (sure 'cause it was my idea), so it should be replaced by the 
PODOFO_IS_LITTLE_ENDIAN or PODOFO_IS_BIG_ENDIAN defines.

Regarding these defines. You are right these are set during configure time. 
The reason is: I do not know a way to set these correctly during compile 
time. If we can include some code in PdfDefines.h to set these  correct on 
_all_ compilers and plattforms we can of course remove the check from CMake.

best regards,
        Dom

Am Montag, 27. April 2009 schrieb Pierre Marchand:
> Hi,
>
> I had some issues with the universal variant of the PoDoFo version (0.7.0)
> provided by MacPorts when building both Fontmatrix and Scribus. I must say
> I can’t make up my mind concerning the best  way to fix it. I’ve filed a
> bug report on their tracker <http://trac.macports.org/ticket/19418>  It led
> to the observation that there was a mechanism to detect endianess at
> configure time --as opposed to compile time-- which prevents to build a
> true universal version of the library.
>
> Ideas? Is this even a issue from your point of view?



-- 
**********************************************************************
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
**********************************************************************

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
Crystal Reports &#45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty&#45;free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to