shithub: freetype+ttf2subf

Download patch

ref: d1ab7f5a4ce3be98ebe4560aee260476c43ad6f6
parent: 70e5aa23203df4c1096f7c9b62997e7778bb1258
author: Just van Rossum <[email protected]>
date: Sun Jul 23 12:23:12 EDT 2000

Hardcode loading the Mac FOND driver here, as config/ftmodule.h sometimes gets regenerated.

git/fs: mount .git/fs: mount/attach disallowed
--- a/src/base/ftinit.c
+++ b/src/base/ftinit.c
@@ -55,6 +55,9 @@
 #undef  FT_USE_MODULE
 #define FT_USE_MODULE( x )  extern const FT_Module_Class*  x;
 
+#ifdef macintosh
+    FT_USE_MODULE(fond_driver_class)
+#endif
 #include <freetype/config/ftmodule.h>
 
 #undef  FT_USE_MODULE
@@ -63,6 +66,9 @@
 static
 const FT_Module_Class*  ft_default_modules[] =
   {
+#ifdef macintosh
+    FT_USE_MODULE(fond_driver_class)
+#endif
 #include <freetype/config/ftmodule.h>
     0
   };