ref: c98501b042d7dc3e36637f07e6d96d40bb17f71a
parent: f379f43403fdc93fc74556c90fb3cb8af3977a40
author: Werner Lemberg <[email protected]>
date: Mon May 19 16:34:42 EDT 2003
Add comment to #ifdef section in #ifndef.
--- a/src/base/ftobjs.c
+++ b/src/base/ftobjs.c
@@ -1516,7 +1516,13 @@
error = IsMacResource( library, stream, 0, face_index, aface );
#ifdef FT_MACINTOSH
-
+ /*
+ 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.
+ */
+
if ( ( FT_ERROR_BASE( error ) == FT_Err_Unknown_File_Format ||
FT_ERROR_BASE( error ) == FT_Err_Invalid_Stream_Operation ) &&
( args->flags & FT_OPEN_PATHNAME ) )