SynPDF icon indicating copy to clipboard operation
SynPDF copied to clipboard

SynPDF.pas is not cross-platform

Open graemeg opened this issue 9 years ago • 2 comments

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.

graemeg avatar Jul 01 '15 16:07 graemeg

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

synopse avatar Jul 02 '15 16:07 synopse

You should consider support for CrossVCL; the Linux platform is currently rejected at compile time

tothpaul avatar Dec 06 '19 08:12 tothpaul