ref: b2d65d75bd2bdb1c6392131f0ea58bfb52ac7d2d
parent: 8e3fc5ea0c37ff52955aaff6ffe8325ac478bb77
author: Werner Lemberg <[email protected]>
date: Wed Aug 3 17:21:11 EDT 2005
* 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.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-08-03 Werner Lemberg <[email protected]>
+
+ * 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 <[email protected]>
* src/otvalid/otvcommn.h: Remove dead code.
--- 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,