shithub: freetype+ttf2subf

Download patch

ref: 9e830c5d3fbcb6038efb1ecb9dc8de8068f97582
parent: 6012037b2d266077cdff5e6b5451d54feb8e7060
author: Just van Rossum <[email protected]>
date: Thu Jul 27 21:12:34 EDT 2000

Put FT_New_Face() in an #ifndef macintosh switch; ftmac.c provides an extended implementation.

git/fs: mount .git/fs: mount/attach disallowed
--- a/src/base/ftobjs.c
+++ b/src/base/ftobjs.c
@@ -1232,6 +1232,10 @@
   }
 
 
+  /* There's a Mac-specific extended implementation of FT_New_Face()
+     in src/mac/ftmac.c   */
+#ifndef macintosh
+
   /*************************************************************************/
   /*                                                                       */
   /* <Function>                                                            */
@@ -1287,6 +1291,8 @@
 
     return FT_Open_Face( library, &args, face_index, aface );
   }
+
+#endif  /* !macintosh */
 
 
   /*************************************************************************/