Evas font: Disabled word/metric caching due to bugs.
authortasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 18 Aug 2011 07:21:44 +0000 (07:21 +0000)
committertasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 18 Aug 2011 07:21:44 +0000 (07:21 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@62547 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

README.in
src/lib/engines/common/evas_font_draw.c

index 4625f68..36b2d95 100644 (file)
--- a/README.in
+++ b/README.in
@@ -764,7 +764,7 @@ into N regions (1 per core) to speed up rendering in software when you
 have multiple cpu cores.
 
 
---enable-word-cache
+--enable-word-cache **DISABLED DUE TO BUGS**
 
 Cache rendered words and draw them as a single object, instead of
 individual characters.  This is a big gain for things like neon which
@@ -788,7 +788,7 @@ the e-devel mailing list or Brett Nash <nash@nash.id.uau>
 For GL see metric caching...
 
 
---enable-metric-cache
+--enable-metric-cache **DISABLED DUE TO BUGS**
 
 Metric caching saves character metrics between characters in words.
 This enables it to render words much quicker as it avoids things like
index 6fb7002..d00bc9a 100644 (file)
@@ -7,6 +7,15 @@
 
 #include "evas_font_ot.h"
 
+/* Forcibly disable the broken word/metric caching. */
+#ifdef METRIC_CACHE
+# undef METRIC_CACHE
+#endif
+
+#ifdef WORD_CACHE
+# undef WORD_CACHE
+#endif
+
 #define WORD_CACHE_MAXLEN      50
 /* How many to cache */
 #define WORD_CACHE_NWORDS 40