summaryrefslogtreecommitdiff
path: root/src/lib/evas/common/evas_font_query.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/common/evas_font_query.c')
-rw-r--r--src/lib/evas/common/evas_font_query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/common/evas_font_query.c b/src/lib/evas/common/evas_font_query.c
index 4ee79fe0e4..af4535f6eb 100644
--- a/src/lib/evas/common/evas_font_query.c
+++ b/src/lib/evas/common/evas_font_query.c
@@ -850,7 +850,7 @@ evas_common_font_query_last_up_to_pos(RGBA_Font *fn, const Evas_Text_Props *text
if ((x >= EVAS_FONT_WALK_PEN_X) &&
((x < (EVAS_FONT_WALK_PEN_X_AFTER)) ||
- (x <= (EVAS_FONT_WALK_PEN_X + _glyph_itr->width))) &&
+ (x < (EVAS_FONT_WALK_PEN_X + _glyph_itr->x_bear + _glyph_itr->width))) &&
(y >= -asc) && (y <= desc))
{
ret = EVAS_FONT_WALK_POS;