freetype
[Top][All Lists]
Advanced

[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

Hi,

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,
by add -DDARWIN_NO_CARBON.

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.

Regards,
mpsuzuki

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


--- orig/builds/unix/configure.raw
+++ mod/builds/unix/configure.raw
@@ -150,6 +150,14 @@
     [AC_MSG_RESULT([not found])
      LDFLAGS="${orig_LDFLAGS}"
      CFLAGS="$CFLAGS -DDARWIN_NO_CARBON"])
+else
+  case x$target_os in
+  xdarwin*)
+    dnl AC_MSG_WARN([target system is MacOS but configured to build without 
Carbon])
+    CFLAGS="$CFLAGS -DDARWIN_NO_CARBON"
+    ;;
+  *) ;;
+  esac
 fi

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

>Hi,
>
>Now I'm writing patch to fix the bug in configure.
>Please give me 2 hours to test.
>
>Regards,
>mpsuzuki
>
>On Fri, 19 May 2006 13:35:46 +0900
>address@hidden wrote:
>
>>Hi,
>>
>>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.
>>
>>Regards,
>>mpsuzuki
>>
>>
>>_______________________________________________
>>Freetype mailing list
>>address@hidden
>>http://lists.nongnu.org/mailman/listinfo/freetype
>
>
>_______________________________________________
>Freetype mailing list
>address@hidden
>http://lists.nongnu.org/mailman/listinfo/freetype




reply via email to

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