#1 2014-11-01 08:39:06

kirchfritz
Member
Registered: 2014-11-01
Posts: 1

PDF Engine with Freepascal/Lazarus?

Can I use PDF Engine with Freepascal/Lazarus?

Offline

#2 2014-11-01 16:51:23

RalfS
Member
Registered: 2011-07-11
Posts: 57

Re: PDF Engine with Freepascal/Lazarus?

In Win32/64, but not in Linux etc.

Offline

#3 2014-11-02 08:34:12

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,659
Website

Re: PDF Engine with Freepascal/Lazarus?

Under Lazarus, we may let TPdfDocument compiles, using the LCL instead of VCL.
But we would have to get rid of a lot of "Windowisms", e.g. for font embedding and so on.

TPdfDocumentGdi would need the ability to create an enhanced metafile - and I was not able to find a TMetaFile/TMetaFileCanvas emulation in LCL.
Even the component documented at  http://wiki.lazarus.freepascal.org/TMet … fileCanvas seems to have been removed.

So a lot of works may be needed...

A better alternative under Linux may be to use a third party library, like http://libharu.org/
Encapsulating it may be easier than rewriting all the low level graphical stuff in cross-platform pascal.

Offline

Board footer

Powered by FluxBB