summaryrefslogtreecommitdiff
path: root/legacy/evas/src/lib/engines/common/evas_font_draw.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--legacy/evas/src/lib/engines/common/evas_font_draw.c16
1 files changed, 12 insertions, 4 deletions
diff --git a/legacy/evas/src/lib/engines/common/evas_font_draw.c b/legacy/evas/src/lib/engines/common/evas_font_draw.c
index 5d1efb6d4d..5ea57ec10c 100644
--- a/legacy/evas/src/lib/engines/common/evas_font_draw.c
+++ b/legacy/evas/src/lib/engines/common/evas_font_draw.c
@@ -551,8 +551,12 @@ evas_common_font_draw_internal(RGBA_Image *dst, RGBA_Draw_Context *dc, RGBA_Font
551#else 551#else
552 /* FIXME: Should be removed once we split according to script without 552 /* FIXME: Should be removed once we split according to script without
553 * the use of harfbuzz */ 553 * the use of harfbuzz */
554 index = 554 if (text_props->repch)
555 evas_common_font_glyph_search(fn, &fi, text[EVAS_FONT_WALK_POS]); 555 index =
556 evas_common_font_glyph_search(fn, &fi, text_props->repch);
557 else
558 index =
559 evas_common_font_glyph_search(fn, &fi, text[EVAS_FONT_WALK_POS]);
556 560
557 if (index == 0) 561 if (index == 0)
558 { 562 {
@@ -877,8 +881,12 @@ evas_font_word_prerender(RGBA_Draw_Context *dc, const Eina_Unicode *in_text, con
877#else 881#else
878 /* FIXME: Should be removed once we split according to script without 882 /* FIXME: Should be removed once we split according to script without
879 * the use of harfbuzz */ 883 * the use of harfbuzz */
880 index = 884 if (text_props->repch)
881 evas_common_font_glyph_search(fn, &fi, text[EVAS_FONT_WALK_POS]); 885 index =
886 evas_common_font_glyph_search(fn, &fi, text_props->repch);
887 else
888 index =
889 evas_common_font_glyph_search(fn, &fi, text[EVAS_FONT_WALK_POS]);
882 890
883 if (fi->src->current_size != fi->size) 891 if (fi->src->current_size != fi->size)
884 { 892 {