[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft] FMDisposeFontFamilyIterator

From: mpsuzuki
Subject: Re: [ft] FMDisposeFontFamilyIterator
Date: Fri, 19 May 2006 14:52:02 +0900


Following is a patch to add a fallback for MacOS X configuration.
If no option is added to configure, e.g. no --with-old-mac-fonts,
the fallback removes MacOS-specific Carbon dependency completely,

This was my mistake. In freetype-2.1.10, if configured without
any options for MacOS, configure adds -DDARWIN_NO_CARBON
automatically. By this patch, the behaviour is fixed to be same
with freetype-2.1.10.

BTW, this flag should be stored in freetype2.pc and freetype-config?
freetype-2.1.10 does not store this option in these files.


# Dave, please apply this patch to build/unix/configure.raw,
# as
#       cd freetype-2.2.1
#       patch -p1 < [this mail]
#       sh ./
#       ./configure [your own option, now you can ignore my first post about 
#       make

--- orig/builds/unix/configure.raw
+++ mod/builds/unix/configure.raw
@@ -150,6 +150,14 @@
     [AC_MSG_RESULT([not found])
+  case x$target_os in
+  xdarwin*)
+    dnl AC_MSG_WARN([target system is MacOS but configured to build without 
+    ;;
+  *) ;;
+  esac

On Fri, 19 May 2006 14:09:41 +0900
address@hidden wrote:

>Now I'm writing patch to fix the bug in configure.
>Please give me 2 hours to test.
>On Fri, 19 May 2006 13:35:46 +0900
>address@hidden wrote:
>>On Thu, 18 May 2006 16:01:56 -0700
>>Dave Viner <address@hidden> wrote:
>>>Altho the problem is generated from using GD, it appears to be an  
>>>unresolved symbl in libfreetype.  I downloaded freetype-2.2.1 and  
>>>compiled from source.  I am on a mac 10.4.6, gcc 4.0.1.
>>Oops, could you send me build/unix/config.log, if you build
>>manually. If you used something like Xcode, please send me
>>whole of freetype2 build directory.
>>>Any ideas on what causes this problem? and how i can fix it?
>>_FMDisposeFontFamilyIterator() is legacy FontManager API in
>>classic MacOS QuickDraw. To disable QuickDraw dependency,
>>you can use the option for configure:
>>      --with-quickdraw-carbon=no
>>I've ever written build/unix/configure to detect the availability
>>of such legacy API, but it seems that now it does not work well.
>>Freetype mailing list
>Freetype mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]