summaryrefslogtreecommitdiff
path: root/src/tests/evas
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-04-17 19:19:52 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-04-17 19:20:26 +0100
commitd9b9647a1542779503d82e54171893d3dff19d20 (patch)
tree092c2b42def04898ab8711dc598cb5d1d0206ccc /src/tests/evas
parent04567a16db062449ac5ab02dc24984c063bcde73 (diff)
Revert "evas_textblock: pick textrun fonts"
This reverts commit 9b987c67e1e38602ba2e4c9c990798e99d938bbe. this breaks color emoji in terminology (evas textgrid).
Diffstat (limited to 'src/tests/evas')
-rw-r--r--src/tests/evas/evas_test_textblock.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/tests/evas/evas_test_textblock.c b/src/tests/evas/evas_test_textblock.c
index d26b8fc7b9..acf21186c7 100644
--- a/src/tests/evas/evas_test_textblock.c
+++ b/src/tests/evas/evas_test_textblock.c
@@ -4184,27 +4184,6 @@ EFL_START_TEST(evas_textblock_fit)
4184} 4184}
4185EFL_END_TEST; 4185EFL_END_TEST;
4186 4186
4187EFL_START_TEST(evas_textblock_textrun_font)
4188{
4189 START_TB_TEST();
4190 int w1, h1, w2, h2;
4191
4192 evas_object_resize(tb, 300, 300);
4193 evas_object_textblock_text_markup_set(tb, "가123A321");
4194 evas_object_textblock_size_native_get(tb, &w1, &h1);
4195 evas_object_textblock_text_markup_set(tb, "A321가123");
4196 evas_object_textblock_size_native_get(tb, &w2, &h2);
4197 ck_assert(w1==w2 && h1==h2);
4198 evas_object_textblock_text_markup_set(tb, "123가A321");
4199 evas_object_textblock_size_native_get(tb, &w2, &h2);
4200 ck_assert(w1==w2 && h1==h2);
4201 evas_object_textblock_text_markup_set(tb, "A가123321");
4202 evas_object_textblock_size_native_get(tb, &w2, &h2);
4203 ck_assert(w1==w2 && h1==h2);
4204 END_TB_TEST();
4205}
4206EFL_END_TEST;
4207
4208#ifdef HAVE_HYPHEN 4187#ifdef HAVE_HYPHEN
4209static void 4188static void
4210_hyphenation_width_stress(Evas_Object *tb, Evas_Textblock_Cursor *cur) 4189_hyphenation_width_stress(Evas_Object *tb, Evas_Textblock_Cursor *cur)
@@ -5076,7 +5055,6 @@ void evas_test_textblock(TCase *tc)
5076 tcase_add_test(tc, evas_textblock_delete); 5055 tcase_add_test(tc, evas_textblock_delete);
5077 tcase_add_test(tc, evas_textblock_obstacle); 5056 tcase_add_test(tc, evas_textblock_obstacle);
5078 tcase_add_test(tc, evas_textblock_fit); 5057 tcase_add_test(tc, evas_textblock_fit);
5079 tcase_add_test(tc, evas_textblock_textrun_font);
5080#ifdef HAVE_HYPHEN 5058#ifdef HAVE_HYPHEN
5081 tcase_add_test(tc, evas_textblock_hyphenation); 5059 tcase_add_test(tc, evas_textblock_hyphenation);
5082#endif 5060#endif