From 89c9d8ea60eeb9533ae817b6e01086293839870c Mon Sep 17 00:00:00 2001 From: caro Date: Mon, 18 May 2009 17:31:52 +0000 Subject: [PATCH] update 16 bits engine for rtl support git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@40728 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/modules/engines/software_16/evas_engine.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/modules/engines/software_16/evas_engine.c b/src/modules/engines/software_16/evas_engine.c index 30e6758..493d575 100644 --- a/src/modules/engines/software_16/evas_engine.c +++ b/src/modules/engines/software_16/evas_engine.c @@ -772,6 +772,12 @@ 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) { @@ -972,7 +978,9 @@ static Evas_Func func = eng_font_hinting_set, eng_font_hinting_can_hint, eng_image_scale_hint_set, - eng_image_scale_hint_get + eng_image_scale_hint_get, + /* more font draw functions */ + eng_font_last_up_to_pos /* FUTURE software generic calls go here */ }; -- 2.7.4