2018-08-12 06:26:29 -07:00
|
|
|
evas_suite_src = [
|
|
|
|
'evas_suite.c',
|
|
|
|
'evas_test_new.c',
|
|
|
|
'evas_test_init.c',
|
|
|
|
'evas_test_object.c',
|
|
|
|
'evas_test_object_smart.c',
|
|
|
|
'evas_test_textblock.c',
|
evas_object_textblock: add support for variation sequences
Summary: update font processing to handle variation sequences unicodes to select proper glypg in respect to variation seqences
Test Plan:
```
#define EFL_EO_API_SUPPORT 1
#define EFL_BETA_API_SUPPORT 1
#include <Eina.h>
#include <Efl.h>
#include <Elementary.h>
EAPI_MAIN int
elm_main(int argc, char **argv)
{
Evas_Object *win, *textblock;
elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
win = elm_win_util_standard_add("Main", "");
elm_win_autodel_set(win, EINA_TRUE);
textblock = evas_object_textblock_add(win);
efl_canvas_text_style_set(textblock,NULL,"DEFAULT='font=DejaVuSans font_fallbacks=SamsungColorEmoji color=#000 font_size=20'");
evas_object_textblock_text_markup_set(textblock, "8️⃣☪️AAA☪︎1234567️⃣");
evas_object_size_hint_weight_set(textblock, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(textblock, EVAS_HINT_FILL, EVAS_HINT_FILL);
evas_object_show(textblock);
evas_object_move(textblock, 0, 0);
evas_object_resize(textblock, 320, 320);
evas_object_resize(win, 320, 320);
evas_object_show(win);
elm_run();
return 0;
}
ELM_MAIN()
```
Reviewers: woohyun, bowonryu, segfaultxavi, cedric, bu5hm4n
Reviewed By: woohyun, cedric
Subscribers: raster, bu5hm4n, subodh6129, herdsman, segfaultxavi, zmike, cedric, #committers, #reviewers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D9053
2019-12-11 23:22:12 -08:00
|
|
|
'evas_buffer_helper.c',
|
2018-08-12 06:26:29 -07:00
|
|
|
'evas_test_text.c',
|
|
|
|
'evas_test_callbacks.c',
|
|
|
|
'evas_test_render_engines.c',
|
|
|
|
'evas_test_filters.c',
|
|
|
|
'evas_test_image.c',
|
|
|
|
'evas_test_mask.c',
|
|
|
|
'evas_test_evasgl.c',
|
2019-06-26 23:13:04 -07:00
|
|
|
'evas_test_focus.c',
|
2019-07-09 05:52:07 -07:00
|
|
|
'evas_test_events.c',
|
2018-08-12 06:26:29 -07:00
|
|
|
'evas_tests_helpers.h',
|
2019-09-27 07:06:30 -07:00
|
|
|
'evas_suite.h',
|
|
|
|
'efl_test_canvas.c',
|
|
|
|
'efl_test_canvas2.c',
|
|
|
|
'efl_test_canvas3.c',
|
2019-11-11 01:14:42 -08:00
|
|
|
'efl_canvas_animation.c',
|
2018-08-12 06:26:29 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
evas_suite = executable('evas_suite',
|
|
|
|
evas_suite_src,
|
|
|
|
dependencies: [evas_bin, evas, ecore_evas, dl, check],
|
2019-04-07 21:19:56 -07:00
|
|
|
include_directories: include_directories(join_paths('..', '..', 'modules', 'evas', 'engines', 'buffer')),
|
2018-08-12 06:26:29 -07:00
|
|
|
c_args : [
|
|
|
|
'-DTESTS_BUILD_DIR="'+meson.current_build_dir()+'"',
|
|
|
|
'-DTESTS_SRC_DIR="'+meson.current_source_dir()+'"']
|
|
|
|
)
|
|
|
|
|
|
|
|
test('evas-suite', evas_suite,
|
|
|
|
env : test_env
|
|
|
|
)
|