freetype
[Top][All Lists]
Advanced

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

Re: [Freetype] Mac OS X Project Builder


From: Henry Maddocks
Subject: Re: [Freetype] Mac OS X Project Builder
Date: Fri, 11 Apr 2003 11:22:28 +1200

On Friday, April 11, 2003, at 10:54  AM, Wenlin Institute wrote:

At 4:29 PM +1200 4/10/03, Henry Maddocks wrote:
On Thursday, April 10, 2003, at 03:46  AM, Wenlin Institute wrote:

First, it was necessary to add "/Developer/Headers/FlatCarbon" to the search path.

Or...

#ifdef __APPLE_CC__
#include <Carbon/Carbon.h>
...

That's better; it's only needed in ftmac.c, right? Is __APPLE_CC__ equivalent to TARGET_API_MAC_CARBON?

Yeah, it's only needed in ftmac.c. __APPLE_CC__ is defined by the compiler. I think TARGET_API_MAC_CARBON is only define if you include carbon.h




Still can't get dfonts to work. Getting everything from 0x01, 0x02 to 0x55 error codes. Though not sure whether I can believe these because in certain circumstances ftmac returns different error codes to ftobjs for the same situation.

Calling FT_New_Face() with the fullpath of one of the dfonts that came with OS X, such as "/Library/Fonts/GillSans.dfont", seems to work fine for me.

weird




reply via email to

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