Commit b2d65d75bd2bdb1c6392131f0ea58bfb52ac7d2d

Werner Lemberg 2005-08-03T21:21:11

* src/sfnt/sfdriver.c (sfnt_interface) [FT_OPTIMIZE_MEMORY]: Reactivate pointers to tt_find_sbit_image and tt_load_sbit_metrics to make X work again.

diff --git a/ChangeLog b/ChangeLog
index a49b7e7..527dc13 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-08-03  Werner Lemberg  <wl@gnu.org>
+
+	* src/sfnt/sfdriver.c (sfnt_interface) [FT_OPTIMIZE_MEMORY]:
+	Reactivate pointers to tt_find_sbit_image and tt_load_sbit_metrics
+	to make X work again.
+
 2005-08-02  Werner Lemberg  <wl@gnu.org>
 
 	* src/otvalid/otvcommn.h: Remove dead code.
diff --git a/src/sfnt/sfdriver.c b/src/sfnt/sfdriver.c
index 96a312d..a282681 100644
--- a/src/sfnt/sfdriver.c
+++ b/src/sfnt/sfdriver.c
@@ -367,8 +367,13 @@
     /* see `ttsbit.h' and `sfnt.h' */
     tt_face_set_sbit_strike,
     tt_face_load_sbit_strikes,
-    0 /* tt_find_sbit_image */,
-    0 /* tt_load_sbit_metrics */,
+#ifdef FT_OPTIMIZE_MEMORY
+    0,
+    0,
+#else
+    tt_find_sbit_image,
+    tt_load_sbit_metrics,
+#endif
     tt_face_load_sbit_image,
     tt_face_free_sbit_strikes,