freetype-devel
[Top][All Lists]
Advanced

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

Re: [Devel] Re: Another approach to mac fonts...


From: Dan Williams
Subject: Re: [Devel] Re: Another approach to mac fonts...
Date: Sun, 18 May 2003 21:39:20 -0500

George,

Actually, the code is needed :) This should allow other platforms to, as you say, open up Mac .dfont files. I'm not so sure it should be special cased for Mac only; it probably should be made available to all platforms, such that if you pass in a font file with a .dfont extension, now Freetype can read it. So you could conceivable copy a Mac .dfont file to a PC or other Unix box and use it with Freetype. Hence its utility.

Also, this code would allow those users of pure Darwin systems, which will behave like Mac OS X during build time, to use Mac .dfont files as well. Pure Darwin does not include the Carbon/ApplicationServices frameworks that contain the Resource Manager calls of course.

Dan

On Sunday, May 18, 2003, at 06:51  PM, George Williams wrote:

Thanks, I've applied your patch with minor corrections.  Please test.
Er, I'm getting on an airplane tomorrow. I doubt I'll be able to test things for a fortnight.

One minor thing:  There is a #ifdef FT_MACINTOSH block within a
#ifndef FT_MACINTOSH block -- this code is never used.  An oversight?
It's not an oversight.

The original thought was to deal with the case where freetype was compiled on a OS/X mac with gcc (a situation in which I was unable to configure things to get ftmac.c built properly). The ifdefed code is there to allow my code to read mac resource files when on the mac.

I gather the configuration problem has been fixed, so the code is not needed, but I thought I'd leave it just in case anyone wanted it.

Otherwise there should be some comment.
/* I know this section is within code which is normally turned off for the Mac. */ /* It provides an alternative approach to reading the mac resource forks on OS/X */ /* in the event that a user does not wish to compile ftmac.c */

_______________________________________________
Devel mailing list
address@hidden
http://www.freetype.org/mailman/listinfo/devel




reply via email to

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