Bug 7376

Summary: fontconfig / freetype configuration is borked
Product: cairo Reporter: Andreas Vox <avox>
Component: freetype font backendAssignee: Owen Taylor <otaylor>
Status: RESOLVED INVALID QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: high    
Version: 1.1.9   
Hardware: PowerPC   
OS: Mac OS X (All)   
Whiteboard:
i915 platform: i915 features:

Description Andreas Vox 2006-06-30 09:49:03 UTC
Linking of the test library and utilities fails on OSX because they use indirectly linked
symbols. On OSX you need to link both fontconfig and freetype, even if fontconfig is
already linked with freetype, and you need to link both cairo and fontconfig into the testlib
if you want to use symbols from fontconfig.

Another issue is that configure disables freetype if you specify FONTCONFIG_LIBS etc.
but not FREETYPE_LIBS etc.

Btw:
On OSX one needs to have exact control over this, since Tiger still ships with freetype 2.1.1
and fontconfig 1.0.1 (in /usr/X11R6). If the X11 includes come before the freetype/fontconfig 
ones, the configuration will fail.
Comment 1 Behdad Esfahbod 2006-07-06 18:36:28 UTC
Please attach the exact error logs.
Comment 2 Behdad Esfahbod 2007-08-21 19:41:29 UTC
Fixed already.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.