SynPDF
SynPDF copied to clipboard
SynPDF.pas is not cross-platform
I was under the impression that SynPDF is cross-platform, seeing as it supports FPC. Trying to compile it on Linux or FreeBSD and I get an error in the SynPDF.pas unit.
I commented out the two units in the uses clause, which are Windows specific....
Windows, WinSpool,
...but due to the other bug I report (missing unit), I can't see if there are any other issues before it is cross-platform.
No, SynPDF is not cross-platform. It relies on the VCL and Windows specific features, e.g. for fonts, or drawing, or event the whole EMF/TCanvas mechanism.
Arnaud Bouchez http://synopse.info
Le 2015-07-01 18:31, Graeme Geldenhuys a écrit :
I was under the impression that SynPDF is cross-platform, seeing as it supports FPC. Trying to compile it on Linux or FreeBSD and I get an error in the SynPDF.pas unit.
I commented out the two units in the uses clause, which are Windows specific....
Windows, WinSpool,
...but due to the other bug I report (missing unit), I can't see if there are any other issues before it is cross-platform.
Reply to this email directly or view it on GitHub [1].
Links:
[1] https://github.com/synopse/SynPDF/issues/3
You should consider support for CrossVCL; the Linux platform is currently rejected at compile time