summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYakov Goldberg <yakov.g@samsung.com>2013-04-14 14:20:51 +0300
committerYakov Goldberg <yakov.g@samsung.com>2013-04-14 18:38:43 +0300
commit76364543039e34459434f77dfa836f7891d04294 (patch)
treef6574168400d5a15ffdc5f0e306b42f705ac827e /src
parent3468b9ffc39d80aa61cc497f37514c81148b3679 (diff)
downloadefl-76364543039e34459434f77dfa836f7891d04294.tar.gz
printfs for legaturesdevs/yakov/textblock_test_fix
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
Diffstat (limited to 'src')
-rw-r--r--src/tests/evas/evas_test_textblock.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tests/evas/evas_test_textblock.c b/src/tests/evas/evas_test_textblock.c
index 07d288f521..76c1299421 100644
--- a/src/tests/evas/evas_test_textblock.c
+++ b/src/tests/evas/evas_test_textblock.c
@@ -607,6 +607,10 @@ START_TEST(evas_textblock_cursor)
/* Make sure coords are correct for ligatures */
{
evas_object_textblock_text_markup_set(tb, "fi<br/>fii");
+ evas_object_textblock_size_native_get(tb, &nw, &nh);
+ printf("ligatures:\nNative: nw = %d, nh = %d\n", nw, nh);
+ evas_object_textblock_size_formatted_get(tb, &nw, &nh);
+ printf("ligatures:\nFormatted: nw = %d, nh = %d\n", nw, nh);
#ifdef HAVE_HARFBUZZ
for (i = 0 ; i < 2 ; i++)
@@ -1438,6 +1442,7 @@ START_TEST(evas_textblock_items)
fail_if((w >= 330) || (h >= 152));
evas_textblock_cursor_pos_set(cur, 11);
evas_textblock_cursor_format_item_geometry_get(cur, NULL, NULL, &w, &ih);
+ printf("w == %d; h == %d; ih == %d\n", w, h, ih);
fail_if((w > 108) || (h != ih));
buf = "This is an <item relize=330x152 vsize=ascent></>.";