diff --git a/legacy/evas/src/modules/engines/cairo_x11/evas_engine.c b/legacy/evas/src/modules/engines/cairo_x11/evas_engine.c index e2bc976b53..57c3b9ff42 100644 --- a/legacy/evas/src/modules/engines/cairo_x11/evas_engine.c +++ b/legacy/evas/src/modules/engines/cairo_x11/evas_engine.c @@ -121,8 +121,6 @@ static int eng_font_cache_get(void *data); static void eng_font_hinting_set(void *data, void *font, int hinting); static int eng_font_hinting_can_hint(void *data, int hinting); -static int eng_font_last_up_to_pos(void *data __UNUSED__, void *font, const char *text, int x, int y); - typedef struct _Render_Engine Render_Engine; struct _Render_Engine @@ -246,9 +244,7 @@ static Evas_Func eng_func = 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 }; static void * @@ -1482,12 +1478,6 @@ eng_font_hinting_can_hint(void *data, int hinting) re = (Render_Engine *)data; } -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); -} - EAPI int module_open(Evas_Module *em) { @@ -1509,4 +1499,3 @@ EAPI Evas_Module_Api evas_modapi = "cairo_x11", "none" }; - diff --git a/legacy/evas/src/modules/engines/software_generic/evas_engine.c b/legacy/evas/src/modules/engines/software_generic/evas_engine.c index 5492c6fa8b..566dddaba0 100644 --- a/legacy/evas/src/modules/engines/software_generic/evas_engine.c +++ b/legacy/evas/src/modules/engines/software_generic/evas_engine.c @@ -917,12 +917,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) { @@ -1115,11 +1109,8 @@ 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 */ - }; /*