warning--
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 19 Sep 2010 01:46:13 +0000 (01:46 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 19 Sep 2010 01:46:13 +0000 (01:46 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@52441 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/engines/common/evas_font_draw.c
src/lib/engines/common/evas_font_query.c

index 843c2cb..23a7f91 100644 (file)
@@ -495,6 +495,8 @@ evas_common_font_draw_internal(RGBA_Image *dst, RGBA_Draw_Context *dc, RGBA_Font
      {
         text = in_text;
      }
+#else
+   intl_props = NULL;
 #endif
 
 
index c0d55c2..175a369 100644 (file)
@@ -305,6 +305,9 @@ evas_common_font_query_advance(RGBA_Font *fn, const Eina_Unicode *text, const Ev
      }
    if (v_adv) *v_adv = evas_common_font_get_line_advance(fn);
    if (h_adv) *h_adv = pen_x - start_x;
+#ifndef BIDI_SUPPORT
+   intl_props = NULL;
+#endif
 }
 
 /* x y w h for char at char pos for null it returns the position right after
@@ -623,6 +626,8 @@ end:
 #ifdef BIDI_SUPPORT
    if (visual_to_logical) free(visual_to_logical);
    if (visual_text) free(visual_text);
+#else
+   intl_props = NULL;
 #endif
 
    return ret_val;