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 _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal