From f265715c3249beeb16227893f96a2a178c1e9146 Mon Sep 17 00:00:00 2001 From: Alexander Kerner Date: Sat, 14 Aug 2010 11:17:35 +0000 Subject: [PATCH] From: Alexander Kerner Attached is a small patch to fix eng_font_draw in software_8. SVN revision: 51112 --- .../src/modules/engines/software_8/evas_engine.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/legacy/evas/src/modules/engines/software_8/evas_engine.c b/legacy/evas/src/modules/engines/software_8/evas_engine.c index 45b30cd1dc..9f10fdd9f0 100644 --- a/legacy/evas/src/modules/engines/software_8/evas_engine.c +++ b/legacy/evas/src/modules/engines/software_8/evas_engine.c @@ -931,18 +931,7 @@ static void eng_font_draw(void *data __UNUSED__, void *context, void *surface, void *font, int x, int y, int w, int h, int ow, int oh, const Eina_Unicode *text, const Evas_BiDi_Props *intl_props) { - static RGBA_Image *im = NULL; - Soft8_Image *dst = surface; - - if (!im) - im = (RGBA_Image *) - evas_cache_image_empty(evas_common_soft8_image_cache_get()); - evas_cache_image_surface_alloc(&im->cache_entry, dst->cache_entry.w, - dst->cache_entry.h); - evas_common_draw_context_font_ext_set(context, surface, soft8_font_glyph_new, - soft8_font_glyph_free, - soft8_font_glyph_draw); - evas_common_font_draw(im, context, font, x, y, text, intl_props); + evas_common_font_draw(surface, context, font, x, y, text); evas_common_draw_context_font_ext_set(context, NULL, NULL, NULL, NULL); }