From 465df3eeb259e48c1a6008c04c7016d64bfdf226 Mon Sep 17 00:00:00 2001 From: caro Date: Sat, 23 May 2009 09:23:01 +0000 Subject: [PATCH] revert the patch for RTL text rendering in software_16 engine git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@40789 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/include/evas_private.h | 1 - src/modules/engines/software_16/evas_engine.c | 10 +--------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/src/lib/include/evas_private.h b/src/lib/include/evas_private.h index aff6511..7304966 100644 --- a/src/lib/include/evas_private.h +++ b/src/lib/include/evas_private.h @@ -684,7 +684,6 @@ struct _Evas_Func void (*image_scale_hint_set) (void *data, void *image, int hint); int (*image_scale_hint_get) (void *data, void *image); - int (*font_last_up_to_pos) (void *data, void *font, const char *text, int x, int y); }; struct _Evas_Image_Load_Func diff --git a/src/modules/engines/software_16/evas_engine.c b/src/modules/engines/software_16/evas_engine.c index 493d575..30e6758 100644 --- a/src/modules/engines/software_16/evas_engine.c +++ b/src/modules/engines/software_16/evas_engine.c @@ -772,12 +772,6 @@ eng_font_char_at_coords_get(void *data __UNUSED__, void *font, const char *text, return evas_common_font_query_text_at_pos(font, text, x, y, cx, cy, cw, ch); } -static int -eng_font_last_up_to_pos(void *data __UNUSED__, void *font, const char *text, int x, int y) -{ - return evas_common_font_query_last_up_to_pos(font, text, x, y); -} - static void eng_font_draw(void *data __UNUSED__, void *context, void *surface, void *font, int x, int y, int w __UNUSED__, int h __UNUSED__, int ow __UNUSED__, int oh __UNUSED__, const char *text) { @@ -978,9 +972,7 @@ static Evas_Func func = eng_font_hinting_set, eng_font_hinting_can_hint, eng_image_scale_hint_set, - eng_image_scale_hint_get, - /* more font draw functions */ - eng_font_last_up_to_pos + eng_image_scale_hint_get /* FUTURE software generic calls go here */ }; -- 2.7.4