[cairo] fontconfig compile error

Behdad Esfahbod behdad at behdad.org
Mon Sep 28 15:39:15 PDT 2009

On 09/28/2009 06:02 PM, Jonathan Kew wrote:

> Also, you might want to consider linking with the system's fontconfig
> library, even though you're compiling your own Cairo; if you're
> prepared to assume that all Linux distros you're targeting will have
> (some version of) fontconfig in a standard place, this may be more
> reliable than using a private, static-linked copy which may be
> incompatible with the configuration and font cache files belonging to
> the system's fontconfig. Your users will not thank you if your app
> stomps all over their system's font caches because you're shipping a
> different fontconfig version; nor will they appreciate it if you avoid
> this by using an entirely separate configuration, thereby forcing them
> to "install" fonts twice.

+1.  IIRC we don't require a very recent fontconfig, so this should be 
possible and would be better than trying to get fontconfig work relocatably.


> JK

More information about the cairo mailing list