[fpc-pascal] Using Cairo lib on Linux without X
Ewald
ewald at yellowcouch.org
Tue Apr 7 21:33:38 CEST 2015
On 04/07/2015 09:13 PM, Juha Manninen wrote:
> FPC has the API wrapper for Cairo lib. I am studying its dependencies
> and maybe use it in a Linux server with no X Window installed, for
> generating PDFs.
>
> Cairo is advertized to support multiple output devices, including X
> Window, image buffers, PostScript, PDF, and SVG file output.
> I understand it means that X Window is required only for the X Window backend.
> PDF or SVG backends should not require X Window.
>
> However on my Linux Mint 17 libcairo has a dependency for libX11.so.6.
Maybe libcairo always links to it, but does not use X11 functionality
when XOpenDisplay fails?
Just an idea... I'm no expert on the matter.
--
Ewald
More information about the fpc-pascal
mailing list