summaryrefslogtreecommitdiff
path: root/src/lib/evas/common/evas_text_utils.c
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-07-30 19:09:12 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-07-30 19:09:12 +0200
commit6883087ac7dac530062b24b5ea918904589a89c2 (patch)
tree2cf7d27776a5dfe4833812391b8b5b1efe3ae584 /src/lib/evas/common/evas_text_utils.c
parent29d24aa409371bd0252b34eb54b1adcb256ca2a1 (diff)
Revert "evas_object_textblock: add support for variation sequences"
This reverts commit f7ce771e3243e19f8a12672ea2be752dedccbcf6.
Diffstat (limited to '')
-rw-r--r--src/lib/evas/common/evas_text_utils.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/evas/common/evas_text_utils.c b/src/lib/evas/common/evas_text_utils.c
index 7edc73226d..b7cbe1b219 100644
--- a/src/lib/evas/common/evas_text_utils.c
+++ b/src/lib/evas/common/evas_text_utils.c
@@ -1066,7 +1066,7 @@ _content_create_ot(RGBA_Font_Int *fi, const Eina_Unicode *text,
1066 /* If we got a malformed index, show the replacement char instead */ 1066 /* If we got a malformed index, show the replacement char instead */
1067 if (gl_itr->index == 0) 1067 if (gl_itr->index == 0)
1068 { 1068 {
1069 gl_itr->index = evas_common_get_char_index(fi, REPLACEMENT_CHAR, 0); 1069 gl_itr->index = evas_common_get_char_index(fi, REPLACEMENT_CHAR);
1070 is_replacement = EINA_TRUE; 1070 is_replacement = EINA_TRUE;
1071 } 1071 }
1072 idx = gl_itr->index; 1072 idx = gl_itr->index;
@@ -1172,10 +1172,10 @@ _content_create_regular(RGBA_Font_Int *fi, const Eina_Unicode *text,
1172 _gl = *text; 1172 _gl = *text;
1173 if (_gl == 0) break; 1173 if (_gl == 0) break;
1174 1174
1175 idx = evas_common_get_char_index(fi, _gl, 0); 1175 idx = evas_common_get_char_index(fi, _gl);
1176 if (idx == 0) 1176 if (idx == 0)
1177 { 1177 {
1178 idx = evas_common_get_char_index(fi, REPLACEMENT_CHAR, 0); 1178 idx = evas_common_get_char_index(fi, REPLACEMENT_CHAR);
1179 } 1179 }
1180 1180
1181 fg = evas_common_font_int_cache_glyph_get(fi, idx); 1181 fg = evas_common_font_int_cache_glyph_get(fi, idx);