[Fontconfig] problem with fontconfig

Keith Packard keithp at keithp.com
Sun Jul 20 11:15:33 PDT 2003


Around 18 o'clock on Jul 20, Tomasz Grobelny wrote:

> .libs/kfont.o(.text+0x422): In function `KFont::run()':
> : undefined reference to `FcPatternGetFTFace(_FcPattern const*, char const*,

Looks like fcfreetype.h doesn't have extern "C" around the functions.

I committed a fix to fontconfig/fontconfig/fcfreettype.h to add
_FCFUNCPROTOBEGIN/_FCFUNCPROTOEND to the header files.  Should work now.

-keith







More information about the Fontconfig mailing list