You are not logged in.
Pages: 1
Hi,
i'd like to know if i can use SynPDF with XE2 and FireMonket platform. Is it compliant with cross compilation, because i want to generate an application that will run under both Win32 and MAC OSX and générate native PDF files. I mean is there a version that is not built over VCL (as VCL is not part of FMX framework).
If so, where can i find it ?
Thanks.
Offline
SynPDF is not cross-platform yet.
The first main issue is that FireMonkey lack of a TMetaFile-like class, and an associated TMetaFileCanvas.
Without it, you'd have to use only TPDFCanvas, which is not easy to work with (it uses another paradigm than VCL and FireMonkey).
In Mac OSX, you have native PDF generation embedded, within Quartz.
And FireMonkey bypass Quartz, to use its own rendering engine.
So you won't be able to use the native PDF generation offered by Mac OS X.
Another drawback of FireMonkey.
What you could do is use low-level rasterization of FireMonkey, then print the bitmap into the Mac OS X PDF printer.
It will be far from optimized (creating a pdf from bitmap is ugly and create huge files), but it will work.
Offline
Pages: 1