Evas font-engine: Don't break if there was a previous miss. This is a workaround...
authortasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 4 Nov 2010 16:32:42 +0000 (16:32 +0000)
committertasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 4 Nov 2010 16:32:42 +0000 (16:32 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@54157 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/engines/common/evas_font_draw.c

index 776b8d2..d8646de 100644 (file)
@@ -326,7 +326,13 @@ evas_common_font_glyph_search(RGBA_Font *fn, RGBA_Font_Int **fi_ret, int gl)
                   *fi_ret = fm->fint;
                   return fm->index;
                }
+#if 0
+             /* Returning here because of a previous miss when searching the
+              * glyph causes a bug when glyph caching was before all the
+              * fonts were loaded, I have no idea how to fix it cleanly,
+              * not at the moment anyway. -- TAsn */
              else if (fm->index == -1) return 0;
+#endif
           }
      }